Sonar Fix: RestapiCallNode.java
[ccsdk/sli/plugins.git] / restapi-call-node / provider / src / main / java / org / onap / ccsdk / sli / plugins / restapicall / RetryPolicyStore.java
index 18ec2fb..f68b851 100644 (file)
@@ -2,8 +2,9 @@
  * ============LICENSE_START=======================================================
  * openECOMP : SDN-C
  * ================================================================================
- * Copyright (C) 2017 ONAP Intellectual Property. All rights
- *                                             reserved.
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights
+ *                     reserved.
+ * Modifications Copyright © 2018 IBM.
  * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -23,15 +24,14 @@ package org.onap.ccsdk.sli.plugins.restapicall;
 
 import java.util.HashMap;
 
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
 public class RetryPolicyStore {
-    private static final Logger log = LoggerFactory.getLogger(RetryPolicyStore.class);
-
     HashMap<String, RetryPolicy> retryPolicies;
     public String proxyServers;
 
+    public RetryPolicyStore() {
+        retryPolicies = new HashMap<>();
+    }
+
     public String getProxyServers() {
         return proxyServers;
     }
@@ -42,10 +42,6 @@ public class RetryPolicyStore {
         RetryPolicy adminPortalRetry = new RetryPolicy(adminServersArray, adminServersArray.length);
         retryPolicies.put("dme2proxy", adminPortalRetry);
     }
-
-    public RetryPolicyStore() {
-        retryPolicies = new HashMap<String, RetryPolicy>();
-    }
     
     public RetryPolicy getRetryPolicy(String policyName) {
         return (this.retryPolicies.get(policyName));