src/java.base/share/classes/sun/net/www/protocol/http/AuthCacheImpl.java
branchJDK-8229867-branch
changeset 57968 8595871a5446
parent 47216 71c04702a3d5
equal deleted inserted replaced
57966:e89c7aaf2906 57968:8595871a5446
    30 import java.util.HashMap;
    30 import java.util.HashMap;
    31 
    31 
    32 /**
    32 /**
    33  * @author Michael McMahon
    33  * @author Michael McMahon
    34  */
    34  */
    35 
    35 // Using synchronized in this class should be safe
    36 public class AuthCacheImpl implements AuthCache {
    36 public class AuthCacheImpl implements AuthCache {
    37     HashMap<String,LinkedList<AuthCacheValue>> hashtable;
    37     HashMap<String,LinkedList<AuthCacheValue>> hashtable;
    38 
    38 
    39     public AuthCacheImpl () {
    39     public AuthCacheImpl () {
    40         hashtable = new HashMap<String,LinkedList<AuthCacheValue>>();
    40         hashtable = new HashMap<String,LinkedList<AuthCacheValue>>();