Fixed Sonar issues in the onap.clamp.clds.client packages 65/85565/1
authork.kedron <k.kedron@partner.samsung.com>
Wed, 17 Apr 2019 12:20:01 +0000 (14:20 +0200)
committerk.kedron <k.kedron@partner.samsung.com>
Wed, 17 Apr 2019 12:20:01 +0000 (14:20 +0200)
commit11d685ff718945a0ba2b172106ba34a83a44c5a5
treea3d6be71ea6ea0a2ae413dec34017428a80351f2
parent199bac6bc8e90fa5a54144b14fb2073c4bee7c16
Fixed Sonar issues in the onap.clamp.clds.client packages

Fixed Sonar issues:
 - change the HasMap to more optimized(in this case) EnumMap in GuardPolicyAttributesConstructor
 - remove no necessary casting in the TcaRequestFormatter
 - remove not used value in the DcaeDispatcherServices
Additionally correct javadoc in PolicyClient.

Change-Id: I6435fe093248073fee9749366e98d5720a8fe375
Issue-ID: CLAMP-346
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
src/main/java/org/onap/clamp/clds/client/DcaeDispatcherServices.java
src/main/java/org/onap/clamp/clds/client/req/policy/GuardPolicyAttributesConstructor.java
src/main/java/org/onap/clamp/clds/client/req/policy/PolicyClient.java
src/main/java/org/onap/clamp/clds/client/req/tca/TcaRequestFormatter.java