mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8291509: Minor cleanup could be done in sun.security
Reviewed-by: weijun
This commit is contained in:
parent
6beeb8471c
commit
4cec141a90
298 changed files with 2650 additions and 3262 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2006, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2006, 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
|
||||
|
@ -45,13 +45,13 @@ public class CurveDB {
|
|||
private static final int BD = 6; // binary curve, mark as default
|
||||
|
||||
private static final Map<String,NamedCurve> oidMap =
|
||||
new LinkedHashMap<String,NamedCurve>();
|
||||
new LinkedHashMap<>();
|
||||
private static final Map<String,NamedCurve> nameMap =
|
||||
new HashMap<String,NamedCurve>();
|
||||
new HashMap<>();
|
||||
private static final Map<Integer,NamedCurve> lengthMap =
|
||||
new HashMap<Integer,NamedCurve>();
|
||||
new HashMap<>();
|
||||
|
||||
private static Collection<? extends NamedCurve> specCollection;
|
||||
private static final Collection<? extends NamedCurve> specCollection;
|
||||
|
||||
// Return a NamedCurve for the specified OID/name or null if unknown.
|
||||
public static NamedCurve lookup(String name) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue