Replaced all tabs with spaces in java and pom.xml
[so.git] / mso-api-handlers / mso-api-handler-infra / src / main / java / org / onap / so / apihandler / recipe / CamundaClientErrorHandler.java
index 74d5f7a..71c5673 100644 (file)
@@ -23,7 +23,6 @@
 package org.onap.so.apihandler.recipe;
 
 import java.io.IOException;
-
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 import org.springframework.http.HttpStatus;
@@ -32,20 +31,19 @@ import org.springframework.web.client.ResponseErrorHandler;
 
 
 
-public class CamundaClientErrorHandler implements ResponseErrorHandler{
-       
-        private static Logger logger = LoggerFactory.getLogger(CamundaClientErrorHandler.class);
-       
-         @Override
-         public void handleError(ClientHttpResponse response) throws IOException {
-                       logger.debug(response.getBody().toString());
-               }
+public class CamundaClientErrorHandler implements ResponseErrorHandler {
+
+    private static Logger logger = LoggerFactory.getLogger(CamundaClientErrorHandler.class);
+
+    @Override
+    public void handleError(ClientHttpResponse response) throws IOException {
+        logger.debug(response.getBody().toString());
+    }
+
+    @Override
+    public boolean hasError(ClientHttpResponse response) throws IOException {
+        HttpStatus.Series series = response.getStatusCode().series();
+        return (HttpStatus.Series.CLIENT_ERROR.equals(series) || HttpStatus.Series.SERVER_ERROR.equals(series));
+    }
 
-         @Override
-         public boolean hasError(ClientHttpResponse response) throws IOException {
-                       HttpStatus.Series series = response.getStatusCode().series();
-                       return (HttpStatus.Series.CLIENT_ERROR.equals(series)
-                               || HttpStatus.Series.SERVER_ERROR.equals(series));
-       }
-           
 }