summaryrefslogtreecommitdiffstats
path: root/aai-traversal/src/test/java
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2023-12-06 17:49:59 +0100
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2023-12-06 17:49:59 +0100
commitefe52a581c4a1217ae9117e2177e157841e75ffa (patch)
treef4fa97f91864376ff9d89ccf80d0b83fa984bc8b /aai-traversal/src/test/java
parent9e5c4be2515b5c7a967af8f984ffded1f9a5695d (diff)
Refactor global exception handler
- extract similar code to methods - return early Issue-ID: AAI-3692 Change-Id: I41e3c7caaafb7c68913decb59bc9a57486985399 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'aai-traversal/src/test/java')
-rw-r--r--aai-traversal/src/test/java/org/onap/aai/rest/ExceptionHandlerTest.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/aai-traversal/src/test/java/org/onap/aai/rest/ExceptionHandlerTest.java b/aai-traversal/src/test/java/org/onap/aai/rest/ExceptionHandlerTest.java
index df6ca3f..c7314bc 100644
--- a/aai-traversal/src/test/java/org/onap/aai/rest/ExceptionHandlerTest.java
+++ b/aai-traversal/src/test/java/org/onap/aai/rest/ExceptionHandlerTest.java
@@ -24,7 +24,6 @@ import static org.junit.Assert.*;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
-import com.fasterxml.jackson.core.JsonLocation;
import com.fasterxml.jackson.core.JsonParseException;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.databind.JsonMappingException;