Collection syntax change because of Sonar
[aaf/authz.git] / auth / auth-locate / src / main / java / org / onap / aaf / auth / locate / facade / LocateFacadeImpl.java
index f7b9c36..f655657 100644 (file)
@@ -95,7 +95,7 @@ public abstract class LocateFacadeImpl<IN,OUT,ENDPOINTS,MGMT_ENDPOINTS,CONFIGURA
 
 
        private static long cacheClear = 0L, emptyCheck=0L;
-       private final static Map<String,String> epsCache = new HashMap<String, String>(); // protected manually, in getEndpoints
+       private final static Map<String,String> epsCache = new HashMap<>(); // protected manually, in getEndpoints
 
        public LocateFacadeImpl(AuthzEnv env, LocateService<IN,OUT,ENDPOINTS,MGMT_ENDPOINTS,CONFIGURATION,ERROR> service, Data.TYPE dataType) throws APIException {
                this.service = service;