From ad0686279b807ed77b80635c73f29bed14cc1cc1 Mon Sep 17 00:00:00 2001 From: ToineSiebelink Date: Wed, 30 Jul 2025 15:29:55 +0100 Subject: [PATCH] Ignore SonarQube Deprecation Warnings - Supressed warning for DeprecationHelper#mapOldConditionProperties - Actual removal will be done later as part of CPS-2914 Issue-Id: CPS-2914 Change-Id: I3ca9a6f1754af5c34e7925ab76484aaceb482474 Signed-off-by: ToineSiebelink --- .../org/onap/cps/ncmp/rest/controller/NetworkCmProxyController.java | 2 +- .../cps/ncmp/rest/controller/NetworkCmProxyInventoryController.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/controller/NetworkCmProxyController.java b/cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/controller/NetworkCmProxyController.java index fd4ced3f74..7977991476 100644 --- a/cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/controller/NetworkCmProxyController.java +++ b/cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/controller/NetworkCmProxyController.java @@ -258,7 +258,7 @@ public class NetworkCmProxyController implements NetworkCmProxyApi { * @return collection of cm handles */ @Override - @SuppressWarnings("deprecation") // mapOldConditionProperties method will be removed in Release 12 + @SuppressWarnings("deprecation") // mapOldConditionProperties method will be removed in Release 17 @CountCmHandleSearchExecution(methodName = "searchCmHandles", interfaceName = "CPS-E-05", description = "Search for cm handles within CPS-E-05 interface") public ResponseEntity> searchCmHandles( diff --git a/cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/controller/NetworkCmProxyInventoryController.java b/cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/controller/NetworkCmProxyInventoryController.java index 950fb884a5..c0744e91eb 100644 --- a/cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/controller/NetworkCmProxyInventoryController.java +++ b/cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/controller/NetworkCmProxyInventoryController.java @@ -87,6 +87,7 @@ public class NetworkCmProxyInventoryController implements NetworkCmProxyInventor * @return collection of cm handles */ @Override + @SuppressWarnings("deprecation") // mapOldConditionProperties method will be removed in Release 17 public ResponseEntity> searchCmHandles( final CmHandleQueryParameters cmHandleQueryParameters, final Boolean outputDmiProperties) { -- 2.16.6