summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorPooja03 <PM00501616@techmahindra.com>2018-02-06 15:18:05 +0530
committerPooja03 <PM00501616@techmahindra.com>2018-02-06 15:18:05 +0530
commit770651374511b21e87b83bb65c26863ead4a2a54 (patch)
tree36766e6c2b049293e271bf5fdc7f13659e33962b /src/main
parente0090478d66cca38a545c3625e08cd290ff93b3d (diff)
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 <PM00501616@techmahindra.com>
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/io/swagger/api/impl/DcaeServicesGroupbyApiServiceImpl.java2
1 files changed, 1 insertions, 1 deletions
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":