fixing warnings from checkstyle in common-app-api
[sdc.git] / common-app-api / src / main / java / org / openecomp / sdc / common / http / client / api / RetryHandlers.java
index bbcd815..f611ad6 100644 (file)
@@ -7,9 +7,9 @@
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -27,14 +27,15 @@ import java.io.IOException;
 
 public class RetryHandlers {
 
-    private static final Logger logger = Logger.getLogger(RetryHandlers.class.getName());
+    private static final Logger LOGGER = Logger.getLogger(RetryHandlers.class.getName());
 
-    private RetryHandlers(){}
+    private RetryHandlers() {
+    }
 
     public static ComparableHttpRequestRetryHandler getDefault(int numOfRetries) {
         return (IOException exception, int executionCount, HttpContext context) -> {
-            logger.debug("failed sending request with exception", exception);
-            logger.debug("try request number: {}", executionCount);
+            LOGGER.debug("failed sending request with exception", exception);
+            LOGGER.debug("try request number: {}", executionCount);
             return executionCount <= numOfRetries;
         };
     }