diff options
author | James Forsyth <jf2512@att.com> | 2019-01-23 20:48:53 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-01-23 20:48:53 +0000 |
commit | 651bb6c2da84cbbb109ef93c0a7fa709334009ab (patch) | |
tree | be15d97356372d844c0480b72cae8f39a9e376c1 /aai-core | |
parent | 0dcd98858b4192badbeebd03c2b18fe7bd466b04 (diff) | |
parent | 1bcf8a3ff386ba5c31e7fca07548c266757e453b (diff) |
Merge "AAI-1523 checkstyle warnings for aai-core concurre"
Diffstat (limited to 'aai-core')
-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(); + } + } } |