mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8311122: Fix typos in java.base
Reviewed-by: darcy, naoto, mchung, iris, mli, mullan
This commit is contained in:
parent
607ddaa0e6
commit
7b3c2dc5f4
13 changed files with 23 additions and 23 deletions
|
@ -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) {
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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.
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue