Sonar Major fix 13/30413/1
authorPooja03 <PM00501616@techmahindra.com>
Tue, 6 Feb 2018 09:48:05 +0000 (15:18 +0530)
committerPooja03 <PM00501616@techmahindra.com>
Tue, 6 Feb 2018 09:48:05 +0000 (15:18 +0530)
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 <PM00501616@techmahindra.com>
src/main/java/io/swagger/api/impl/DcaeServicesGroupbyApiServiceImpl.java

index 7c4e406..34fba7d 100644 (file)
@@ -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":