diff options
author | Keong Lim <keong.lim@huawei.com> | 2018-11-01 17:03:08 +1100 |
---|---|---|
committer | Keong Lim <keong.lim@huawei.com> | 2019-01-18 15:42:55 +1100 |
commit | 1bcf8a3ff386ba5c31e7fca07548c266757e453b (patch) | |
tree | bae9e4ad11e93440d93ea1de428c9e224c8b775c /aai-core/src/test | |
parent | efb59ae12b474b1b1661b99d1d2aa7253ce83436 (diff) |
AAI-1523 checkstyle warnings for aai-core concurre
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>
Diffstat (limited to 'aai-core/src/test')
-rw-r--r-- | aai-core/src/test/java/org/onap/aai/concurrent/AaiCallableTest.java | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/aai-core/src/test/java/org/onap/aai/concurrent/AaiCallableTest.java b/aai-core/src/test/java/org/onap/aai/concurrent/AaiCallableTest.java index b1507b7b..94b1ef6b 100644 --- a/aai-core/src/test/java/org/onap/aai/concurrent/AaiCallableTest.java +++ b/aai-core/src/test/java/org/onap/aai/concurrent/AaiCallableTest.java @@ -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(); + } + } } |