From 5eb0e49534114edf8a76fef5b2a8e50c7bdaa812 Mon Sep 17 00:00:00 2001 From: Fiete Ostkamp Date: Thu, 10 Nov 2022 09:21:49 +0000 Subject: Replace deprecated methods in aai-common Issue-ID: AAI-3589 Signed-off-by: Fiete Ostkamp Change-Id: I9e32b879ee0d143a6b66e06d425bed7412139e58 --- .../src/test/java/org/onap/aai/logging/ErrorObjectTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'aai-els-onap-logging') 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"; -- cgit 1.2.3-korg