Ignore:
Timestamp:
2014-04-26T17:39:23+02:00 (10 years ago)
Author:
Don-vip
Message:

see #8465 - use diamond operator where applicable

Location:
trunk/src/org/openstreetmap/josm/io/auth
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/auth/AbstractCredentialsAgent.java

    r6883 r7005  
    1212public abstract class AbstractCredentialsAgent implements CredentialsAgent {
    1313
    14     protected Map<RequestorType, PasswordAuthentication> memoryCredentialsCache = new HashMap<RequestorType, PasswordAuthentication>();
     14    protected Map<RequestorType, PasswordAuthentication> memoryCredentialsCache = new HashMap<>();
    1515
    1616    /**
  • trunk/src/org/openstreetmap/josm/io/auth/DefaultAuthenticator.java

    r6643 r7005  
    3333    }
    3434
    35     private final Map<RequestorType, Boolean> credentialsTried = new HashMap<RequestorType, Boolean>();
     35    private final Map<RequestorType, Boolean> credentialsTried = new HashMap<>();
    3636    private boolean enabled = true;
    3737
Note: See TracChangeset for help on using the changeset viewer.