AAI-1523 checkstyle warnings for aai-core concurre 57/74557/2
authorKeong Lim <keong.lim@huawei.com>
Thu, 1 Nov 2018 06:03:08 +0000 (17:03 +1100)
committerKeong Lim <keong.lim@huawei.com>
Fri, 18 Jan 2019 04:42:55 +0000 (15:42 +1100)
Issue-ID: AAI-1523
re-indent code with spaces to clean up some checkstyle warnings
for aai-core test concurrent (part of 24k lines of output)

Change-Id: I82d2a46eeefa806b8ce433ecc8e373afaac8e0eb
Signed-off-by: Keong Lim <keong.lim@huawei.com>
aai-core/src/test/java/org/onap/aai/concurrent/AaiCallableTest.java

index b1507b7..94b1ef6 100644 (file)
@@ -27,23 +27,23 @@ import org.slf4j.MDC;
 import org.onap.aai.concurrent.AaiCallable;
 
 public class AaiCallableTest extends AAISetup {
-       @Test
-       public void testAaiCallable() {
-               MDC.put("test_name", "test_value");
-               
-               AaiCallable<Object> task = new AaiCallable<Object>() {
-                       @Override
-                       public Object process() {
-                               String mdcValue = MDC.get("test_name");
-                               assertTrue( "MDC value retained", "test_value".equals(mdcValue));
-                               return (new Object());
-                       }
-               };
-               try {
-                       task.call();
-               }
-               catch (Exception e) {
-                       e.printStackTrace();
-               }
-       }
+    @Test
+    public void testAaiCallable() {
+        MDC.put("test_name", "test_value");
+        
+        AaiCallable<Object> task = new AaiCallable<Object>() {
+            @Override
+            public Object process() {
+                String mdcValue = MDC.get("test_name");
+                assertTrue( "MDC value retained", "test_value".equals(mdcValue));
+                return (new Object());
+            }
+        };
+        try {
+            task.call();
+        }
+        catch (Exception e) {
+            e.printStackTrace();
+        }
+    }
 }