mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8284893: Fix typos in java.base
Reviewed-by: iris, wetmore, lancea, mullan, naoto
This commit is contained in:
parent
4594696f54
commit
fb469fb894
162 changed files with 369 additions and 369 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2002, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2002, 2022, 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
|
||||
|
@ -162,7 +162,7 @@ final class AESCrypt extends SymmetricCipher implements AESConstants
|
|||
private static final byte[] rcon = new byte[30];
|
||||
|
||||
|
||||
// Static code - to intialise S-boxes and T-boxes
|
||||
// Static code - to initialise S-boxes and T-boxes
|
||||
static
|
||||
{
|
||||
int ROOT = 0x11B;
|
||||
|
|
|
@ -874,7 +874,7 @@ abstract class ChaCha20Cipher extends CipherSpi {
|
|||
int ws14 = initState[14];
|
||||
int ws15 = initState[15];
|
||||
|
||||
// Peform 10 iterations of the 8 quarter round set
|
||||
// Perform 10 iterations of the 8 quarter round set
|
||||
for (int round = 0; round < 10; round++) {
|
||||
ws00 += ws04;
|
||||
ws12 = Integer.rotateLeft(ws12 ^ ws00, 16);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2022, 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
|
||||
|
@ -184,7 +184,7 @@ public final class DHKeyPairGenerator extends KeyPairGeneratorSpi {
|
|||
|
||||
//
|
||||
// PKCS#3 section 7.1 "Private-value generation"
|
||||
// Repeat if either of the followings does not hold:
|
||||
// Repeat if either of the following does not hold:
|
||||
// 0 < x < p-1
|
||||
// 2^(lSize-1) <= x < 2^(lSize)
|
||||
//
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2004, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2004, 2022, 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
|
||||
|
@ -545,7 +545,7 @@ abstract class KeyWrapCipher extends CipherSpi {
|
|||
// actual impl for various engineDoFinal(...) methods.
|
||||
// prepare 'out' buffer with the buffered bytes in 'dataBuf',
|
||||
// and the to-be-processed bytes in 'in', then perform single-part
|
||||
// encryption/decrytion over 'out' buffer
|
||||
// encryption/decryption over 'out' buffer
|
||||
private int implDoFinal(byte[] in, int inOfs, int inLen, byte[] out)
|
||||
throws IllegalBlockSizeException, BadPaddingException,
|
||||
ShortBufferException {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2010, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2010, 2022, 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
|
||||
|
@ -71,7 +71,7 @@ public final class NTLMException extends GeneralSecurityException {
|
|||
* Constructs an NTLMException object.
|
||||
* @param errorCode the error code, which can be retrieved by
|
||||
* the {@link #errorCode() } method.
|
||||
* @param msg the string message, which can be retrived by
|
||||
* @param msg the string message, which can be retrieved by
|
||||
* the {@link Exception#getMessage() } method.
|
||||
*/
|
||||
public NTLMException(int errorCode, String msg) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue