mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8241014: Miscellaneous typos in documentation comments
Reviewed-by: igerasim, prappo, psandoz, rriggs, weijun
This commit is contained in:
parent
c5a7490809
commit
17ff85d4ad
39 changed files with 104 additions and 107 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2016, 2020, 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
|
||||
|
@ -490,7 +490,7 @@ public abstract class AbstractDrbg {
|
|||
// (not using derivation function) is so confusing
|
||||
// (does it need only strength or seedlen of entropy?)
|
||||
// that it's safer to assume minLength. In all other
|
||||
// cases minLength equals to minEntropy.
|
||||
// cases minLength is equal to minEntropy.
|
||||
return getEntropyInput(minLength, minLength, maxLength, isPr);
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2020, 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
|
||||
|
@ -300,7 +300,7 @@ public class PolicyFile extends java.security.Policy {
|
|||
* initialize the Policy object.
|
||||
*/
|
||||
private void init(URL url) {
|
||||
// Properties are set once for each init(); ignore changes between
|
||||
// Properties are set once for each init(); ignore changes
|
||||
// between diff invocations of initPolicyFile(policy, url, info).
|
||||
String numCacheStr =
|
||||
AccessController.doPrivileged(new PrivilegedAction<>() {
|
||||
|
@ -325,7 +325,6 @@ public class PolicyFile extends java.security.Policy {
|
|||
} else {
|
||||
numCaches = DEFAULT_CACHE_SIZE;
|
||||
}
|
||||
// System.out.println("number caches=" + numCaches);
|
||||
PolicyInfo newInfo = new PolicyInfo(numCaches);
|
||||
initPolicyFile(newInfo, url);
|
||||
policyInfo = newInfo;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue