SONARQUBE ISSUES: 'equals' is deprecated 49/141649/1
authoremaclee <lee.anjella.macabuhay@est.tech>
Mon, 4 Aug 2025 19:35:23 +0000 (20:35 +0100)
committerLee Anjella Macabuhay <lee.anjella.macabuhay@est.tech>
Mon, 4 Aug 2025 20:09:27 +0000 (20:09 +0000)
commit47bcef4a090ce889125cd6518c855d5cc2c568e6
tree588eed779bb790a7045941a46cdc183d2e445c8d
parentc46952431c7239495b55d87f2fb47e96f674750c
SONARQUBE ISSUES: 'equals' is deprecated

- equals by StringUtils is deprecated (see https://commons.apache.org/proper/commons-lang/apidocs/org/apache/commons/lang3/StringUtils.html#equals(java.lang.CharSequence,java.lang.CharSequence)
- replaced deprecated based on recommended (See https://commons.apache.org/proper/commons-lang/apidocs/org/apache/commons/lang3/Strings.html#equals(java.lang.CharSequence,java.lang.CharSequence)
- modified import org.apache.logging.log4j.util.Strings to
  import org.apache.commons.lang3.StringUtils for use of
  .isNotBlank to avoid conflict

Issue-ID: CPS-475
Change-Id: I581f839fa48221c3a75e5b23c76ca8d8108adbbc
Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/impl/utils/http/RestServiceUrlTemplateBuilder.java
cps-ri/src/main/java/org/onap/cps/ri/CpsModulePersistenceServiceImpl.java