aboutsummaryrefslogtreecommitdiffstats
path: root/aai-traversal/src/main/java
diff options
context:
space:
mode:
authorramanjaneya <ramanjaneya.palleti@huawei.com>2017-10-04 17:07:44 +0530
committerRamanjaneya Reddy <ramanjaneya.palleti@huawei.com>2017-10-04 11:42:39 +0000
commited2aea524aa3a743a04a48dd8e1b4065f815d2e4 (patch)
treebff13d6a6c2a750cbedb799bf0a198021ff41ed3 /aai-traversal/src/main/java
parent9e7e61ae6b9e86fb611cf5a736620405916a668b (diff)
Replace type specification with diamond operato
Issue-ID: AAI-412 Change-Id: Ia4109038b40a3245ff4622250d4540cec1157580 Signed-off-by: ramanjaneya <ramanjaneya.palleti@huawei.com>
Diffstat (limited to 'aai-traversal/src/main/java')
-rw-r--r--aai-traversal/src/main/java/org/onap/aai/ajsc_aai/JaxrsUserService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/aai-traversal/src/main/java/org/onap/aai/ajsc_aai/JaxrsUserService.java b/aai-traversal/src/main/java/org/onap/aai/ajsc_aai/JaxrsUserService.java
index a1cc2ca..29cf62a 100644
--- a/aai-traversal/src/main/java/org/onap/aai/ajsc_aai/JaxrsUserService.java
+++ b/aai-traversal/src/main/java/org/onap/aai/ajsc_aai/JaxrsUserService.java
@@ -33,7 +33,7 @@ public class JaxrsUserService {
private static final Map<String,String> userIdToNameMap;
static {
- userIdToNameMap = new HashMap<String,String>();
+ userIdToNameMap = new HashMap<>();
userIdToNameMap.put("userID1","Name1");
userIdToNameMap.put("userID2","Name2");
}