Address sonar issues in PAP 55/105355/3
authorJim Hahn <jrh3@att.com>
Tue, 7 Apr 2020 17:34:34 +0000 (13:34 -0400)
committerJim Hahn <jrh3@att.com>
Tue, 7 Apr 2020 17:41:05 +0000 (13:41 -0400)
commit2385c44c949a28233ce5446b041e9a20f3241380
tree2579566e34b2a83e5a059845cb00fb321f4f5de0
parent0eb710fb03ef8242bad72be8850a2ecbc7a55229
Address sonar issues in PAP

Addressed the following sonar issues in PAP:
- do something with value returned by a method
- use computeIfAbsent; chose to disable the sonar for this,
  as it would obfuscate the code
- use RE2 instead of java.util Pattern

Issue-ID: POLICY-2305
Change-Id: If5495d04248211179cd37419cb20fe7d227ab59c
Signed-off-by: Jim Hahn <jrh3@att.com>
main/src/main/java/org/onap/policy/pap/main/comm/Publisher.java
main/src/main/java/org/onap/policy/pap/main/comm/TimerManager.java
main/src/main/java/org/onap/policy/pap/main/rest/SessionData.java