summaryrefslogtreecommitdiffstats
path: root/aai-els-onap-logging
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2022-11-10 09:21:49 +0000
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2022-11-10 09:31:12 +0000
commit5eb0e49534114edf8a76fef5b2a8e50c7bdaa812 (patch)
treeb69c0e5d60fc48dd0c8084dfffb178b89566b83f /aai-els-onap-logging
parent8b504f6db32630ae4b6774efabc87ed76a950053 (diff)
Replace deprecated methods in aai-common
Issue-ID: AAI-3589 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I9e32b879ee0d143a6b66e06d425bed7412139e58
Diffstat (limited to 'aai-els-onap-logging')
-rw-r--r--aai-els-onap-logging/src/test/java/org/onap/aai/logging/ErrorObjectTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/aai-els-onap-logging/src/test/java/org/onap/aai/logging/ErrorObjectTest.java b/aai-els-onap-logging/src/test/java/org/onap/aai/logging/ErrorObjectTest.java
index a0fcf655..a281ba56 100644
--- a/aai-els-onap-logging/src/test/java/org/onap/aai/logging/ErrorObjectTest.java
+++ b/aai-els-onap-logging/src/test/java/org/onap/aai/logging/ErrorObjectTest.java
@@ -31,7 +31,7 @@ public class ErrorObjectTest {
private static final String ERROR_DISPOSITION = "5";
private static final String ERROR_SEVERITY = "ERROR";
private static final String ERROR_CATEGORY = "4";
- private static final Integer ERROR_HTTP_RESPONSE_CODE = new Integer(401);
+ private static final Integer ERROR_HTTP_RESPONSE_CODE = Integer.valueOf(401);
private static final String ERROR_REST_CODE = "3300";
private static final String ERROR_CODE = "4000";
private static final String ERROR_TEXT = "Test data error";