summaryrefslogtreecommitdiffstats
path: root/ResmanagementService
diff options
context:
space:
mode:
authorThamlurRaju <thamlurraju468@gmail.com>2018-08-17 12:59:35 +0530
committerThamlurRaju <thamlurraju468@gmail.com>2018-08-17 12:59:35 +0530
commit42d487000331336b075cee955e679fd4b88e81d4 (patch)
treeb2b141b0205814db88ed2dda1ecb25378f7001aa /ResmanagementService
parent40d77f5d5bcd05922bab1d343dcfacf3cdbaf8df (diff)
fixing major Sonar Issue
Replace the type specification in this constructor call with the diamond operator Sonar Link: https://sonar.onap.org/project/issues?assignees=ThamlurRaju&id=org.onap.vfc.nfvo.resmanagement%3Avfc-nfvo-resmanagement&open=AV8lpfDZ-08if2a6pmCM&resolved=false&severities=MAJOR Location: src/main/java/org/onap/vfc/nfvo/resmanagement/service/rest/SitesRoa.java Line No- 78 Change-Id: Ia7abcafbf1b7576178378b98099a1f0155280d32 Issue-ID: VFC-1033 Signed-off-by: ThamlurRaju <thamlurraju468@gmail.com>
Diffstat (limited to 'ResmanagementService')
-rw-r--r--ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/rest/SitesRoa.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/rest/SitesRoa.java b/ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/rest/SitesRoa.java
index 6613ac4..67fab75 100644
--- a/ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/rest/SitesRoa.java
+++ b/ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/rest/SitesRoa.java
@@ -75,7 +75,7 @@ public class SitesRoa {
*/
@GET
public JSONObject getSites(@Context HttpServletRequest context) throws ServiceException {
- Map<String, Object> map = new HashMap<String, Object>(10);
+ Map<String, Object> map = new HashMap<>(10);
List<SitesEntity> datacenters = sites.getList(map);
JSONObject result = new JSONObject();