From: Pooja03 Date: Tue, 6 Feb 2018 09:48:05 +0000 (+0530) Subject: Sonar Major fix X-Git-Tag: 2.0.0-ONAP~14^2~2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F13%2F30413%2F1;p=dcaegen2%2Fplatform%2Finventory-api.git Sonar Major fix Remove useless assignment to local variable columnName Sonar Link:https://sonar.onap.org/component_issues/index?id=org.onap.dcaegen2.platform%3Ainventory-api#severities=CRITICAL%2CMAJOR|resolved=false|assignees=Pooja03 Location:DcaeServicesGroupbyApiServiceImpl.java:L42 Change-Id: I9429dc91c7fdb08112f7b0baa89e7127c2261b75 Issue-ID: DCAEGEN2-310 Signed-off-by: Pooja03 --- diff --git a/src/main/java/io/swagger/api/impl/DcaeServicesGroupbyApiServiceImpl.java b/src/main/java/io/swagger/api/impl/DcaeServicesGroupbyApiServiceImpl.java index 7c4e406..34fba7d 100644 --- a/src/main/java/io/swagger/api/impl/DcaeServicesGroupbyApiServiceImpl.java +++ b/src/main/java/io/swagger/api/impl/DcaeServicesGroupbyApiServiceImpl.java @@ -39,7 +39,7 @@ public class DcaeServicesGroupbyApiServiceImpl extends DcaeServicesGroupbyApiSer @Override public Response dcaeServicesGroupbyPropertyNameGet(String propertyName, UriInfo uriInfo, SecurityContext securityContext) { - String columnName = ""; + String columnName; switch (propertyName) { case "type":