From e1ccd83e39090f16a446b23e154b8e28530e2fdd Mon Sep 17 00:00:00 2001 From: PawelSzalapski Date: Wed, 8 Aug 2018 11:01:03 +0200 Subject: Refactor the code base a bit Remove potential race condition coming from shared 'version' veriable in singleton instance of RestController. Move the logic behind reading the json schemas out of a on-request phase to application startup. Minor refactoring done that will bump up test coverage. Change-Id: I2ad1ba91dafafd785ede61591a4dc146abf6a1eb Signed-off-by: PawelSzalapski Issue-ID: DCAEGEN2-526 --- src/test/java/org/onap/dcae/TestingUtilities.java | 1 - 1 file changed, 1 deletion(-) (limited to 'src/test/java/org/onap/dcae/TestingUtilities.java') diff --git a/src/test/java/org/onap/dcae/TestingUtilities.java b/src/test/java/org/onap/dcae/TestingUtilities.java index 0bbb6cc3..092983bf 100644 --- a/src/test/java/org/onap/dcae/TestingUtilities.java +++ b/src/test/java/org/onap/dcae/TestingUtilities.java @@ -82,7 +82,6 @@ public final class TestingUtilities { T get() throws Exception; } - public static void assertFailureHasInfo(Try any, String... msgPart) { Java6Assertions.assertThat(any.isFailure()).isTrue(); AbstractThrowableAssert o = Java6Assertions.assertThat(any.getCause()) -- cgit 1.2.3-korg