mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8259069: Fields could be final
Reviewed-by: wetmore
This commit is contained in:
parent
f0aae81ed5
commit
2499ac3db5
13 changed files with 33 additions and 32 deletions
|
@ -411,7 +411,7 @@ enum SSLCipher {
|
|||
private static final HashMap<String, Long> cipherLimits = new HashMap<>();
|
||||
|
||||
// Keywords found on the jdk.tls.keyLimits security property.
|
||||
final static String tag[] = {"KEYUPDATE"};
|
||||
final static String[] tag = {"KEYUPDATE"};
|
||||
|
||||
static {
|
||||
final long max = 4611686018427387904L; // 2^62
|
||||
|
@ -424,12 +424,12 @@ enum SSLCipher {
|
|||
});
|
||||
|
||||
if (prop != null) {
|
||||
String propvalue[] = prop.split(",");
|
||||
String[] propvalue = prop.split(",");
|
||||
|
||||
for (String entry : propvalue) {
|
||||
int index;
|
||||
// If this is not a UsageLimit, goto to next entry.
|
||||
String values[] = entry.trim().toUpperCase().split(" ");
|
||||
String[] values = entry.trim().toUpperCase().split(" ");
|
||||
|
||||
if (values[1].contains(tag[0])) {
|
||||
index = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue