diff options
author | ThamlurRaju <thamlurraju468@gmail.com> | 2018-08-17 14:46:24 +0530 |
---|---|---|
committer | ThamlurRaju <thamlurraju468@gmail.com> | 2018-08-17 14:46:24 +0530 |
commit | 0db9b43495c271dc2ee18badc3c896443bc07b3f (patch) | |
tree | c944ef7cc2208c78bf7961f17cefa9b7173ce53f /ResmanagementService | |
parent | 488a6f7ffcb94c3e9fa578bf59c1623fb304b31a (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=AV8lpfC2-08if2a6pmB4&resolved=false&severities=MAJOR&types=CODE_SMELL
Location:
src/main/java/org/onap/vfc/nfvo/resmanagement/service/rest/LocationRoa.java
Line No- 185
Change-Id: I0eb22107fa281b6117fceeaa87fba12a27091fcb
Issue-ID: VFC-1035
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/LocationRoa.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/rest/LocationRoa.java b/ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/rest/LocationRoa.java index f73726f..9dcbd94 100644 --- a/ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/rest/LocationRoa.java +++ b/ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/rest/LocationRoa.java @@ -182,7 +182,7 @@ public class LocationRoa { @QueryParam(ParamConstant.PARAM_LOCATION) String locations) throws ServiceException { LOGGER.info("LocationRoa::getLocation locations:{}", locations); Map<String, Object> condition = new HashMap<>(); - List<LocationEntity> loca = new ArrayList<LocationEntity>(); + List<LocationEntity> loca = new ArrayList<>(); condition.put(ParamConstant.PARAM_LOCATION, locations); loca = location.get(condition); LOGGER.info("LocationRoa::getLocation loca:{}", loca); |