8311122: Fix typos in java.base

Reviewed-by: darcy, naoto, mchung, iris, mli, mullan
This commit is contained in:
Pavel Rappo 2023-07-04 19:03:09 +00:00
parent 607ddaa0e6
commit 7b3c2dc5f4
13 changed files with 23 additions and 23 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -222,7 +222,7 @@ public final class ResponderId {
*
* @param obj the object to be compared against
*
* @return true if the specified object is equal to this {@code Responderid}
* @return true if the specified object is equal to this {@code ResponderId}
*/
@Override
public boolean equals(Object obj) {

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2021, 2023, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -26,7 +26,7 @@
package sun.security.util;
/**
* A time-instance comparison of two byte arrays.
* A time-constant comparison of two byte arrays.
*/
public class ByteArrays {
// See the MessageDigest.isEqual(byte[] digesta, byte[] digestb)

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 1996, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 2023, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -293,7 +293,7 @@ public final class CompactByteArray implements Cloneable {
if (elementAt((char)i) != other.elementAt((char)i))
return false;
}
return true; // we made it through the guantlet.
return true; // we made it through the gauntlet.
}
/**