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>
@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);