diff options
author | ThamlurRaju <thamlurraju468@gmail.com> | 2018-08-17 10:28:37 +0530 |
---|---|---|
committer | ThamlurRaju <thamlurraju468@gmail.com> | 2018-08-17 10:28:37 +0530 |
commit | 09fc7cf910f4b8ff547971b184fb2de957ffe9a5 (patch) | |
tree | dac58f4d14f64a759038e9a9e88cc6157bba4172 /ResmanagementService/service/src/main/java | |
parent | a64d8a8d7046241813d8e3808818b2815b31e503 (diff) |
fixing major Issue
Remove this unused This block of commented-out lines of code should be removed
Sonar Link:
https://sonar.onap.org/project/issues?assignees=ThamlurRaju&id=org.onap.vfc.nfvo.resmanagement%3Avfc-nfvo-resmanagement&resolved=false&severities=MAJOR
Location:
src/main/java/org/onap/vfc/nfvo/resmanagement/service/business/impl/SitesBusinessImpl.java
Line No- 88 90 93
Change-Id: Ifebd451288143d067fe35dbdce467f5323f01e35
Issue-ID: VFC-1029
Signed-off-by: ThamlurRaju <thamlurraju468@gmail.com>
Diffstat (limited to 'ResmanagementService/service/src/main/java')
-rw-r--r-- | ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/business/impl/SitesBusinessImpl.java | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/business/impl/SitesBusinessImpl.java b/ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/business/impl/SitesBusinessImpl.java index 4fe206e..e5fa7e7 100644 --- a/ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/business/impl/SitesBusinessImpl.java +++ b/ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/service/business/impl/SitesBusinessImpl.java @@ -83,13 +83,6 @@ public class SitesBusinessImpl implements SitesBusiness { throw new ServiceException( ResourceUtil.getMessage("org.openo.nfvo.resmanage.service.base.site.add.entity.null")); } - // if(!StringUtil.checkXss(sitesEntity.getName()) || - // !StringUtil.checkXss(sitesEntity.getCountry()) - // || !StringUtil.checkXss(sitesEntity.getLocation())) { - // LOGGER.error("function=addLocation; msg=add site error, because XSS injection."); - // throw new ServiceException( - // ResourceUtil.getMessage("org.openo.nfvo.resmanage.service.base.location.add.xss.check")); - // } LOGGER.info("sitesEntity: " + sitesEntity.toString()); this.checkSite(sitesEntity, TYPE_ADD); SitesEntity.dataFramat(sitesEntity); |