Collection syntax change because of Sonar
[aaf/authz.git] / auth / auth-locate / src / main / java / org / onap / aaf / auth / locate / facade / LocateFacadeImpl.java
index af6ad1c..f655657 100644 (file)
@@ -62,6 +62,7 @@ import org.onap.aaf.misc.rosetta.env.RosettaData;
 
 import locate_local.v1_0.Api;
 
+
 /**
  * AuthzFacade
  * 
@@ -94,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;