From 1e1fe86fb30e1d65264d288af50c9389779ddb69 Mon Sep 17 00:00:00 2001 From: Rupinder Date: Thu, 9 Apr 2020 15:39:09 +0530 Subject: lowered code smells Removed some unused imports Issue-ID: PORTAL-865 Change-Id: I2bc24d3a525429385b6c3999a5b164cc72b85865 Signed-off-by: Rupinder --- .../main/java/org/onap/portalsdk/core/conf/HibernateConfiguration.java | 1 - .../java/org/onap/portalsdk/core/controller/FusionBaseController.java | 1 - .../src/main/java/org/onap/portalsdk/core/service/RoleServiceImpl.java | 2 -- .../src/main/java/org/onap/portalsdk/core/web/support/UserUtils.java | 1 - 4 files changed, 5 deletions(-) (limited to 'ecomp-sdk/epsdk-core') diff --git a/ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/conf/HibernateConfiguration.java b/ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/conf/HibernateConfiguration.java index 2e8875c0..da3dc60a 100644 --- a/ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/conf/HibernateConfiguration.java +++ b/ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/conf/HibernateConfiguration.java @@ -39,7 +39,6 @@ package org.onap.portalsdk.core.conf; import java.sql.Connection; import java.sql.ResultSet; -import java.sql.SQLException; import java.sql.Statement; import java.util.HashMap; import java.util.Map; diff --git a/ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/controller/FusionBaseController.java b/ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/controller/FusionBaseController.java index 93fb63c2..85bf57a6 100644 --- a/ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/controller/FusionBaseController.java +++ b/ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/controller/FusionBaseController.java @@ -58,7 +58,6 @@ import org.onap.portalsdk.core.util.SystemProperties; import org.onap.portalsdk.core.web.support.UserUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; -import org.springframework.web.bind.annotation.ModelAttribute; import com.fasterxml.jackson.databind.ObjectMapper; diff --git a/ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/service/RoleServiceImpl.java b/ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/service/RoleServiceImpl.java index d2d35ef5..2488b1a8 100644 --- a/ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/service/RoleServiceImpl.java +++ b/ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/service/RoleServiceImpl.java @@ -39,8 +39,6 @@ package org.onap.portalsdk.core.service; import java.sql.Connection; import java.sql.PreparedStatement; -import java.sql.SQLException; -import java.sql.Statement; import java.util.Iterator; import java.util.List; import java.util.Set; diff --git a/ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/web/support/UserUtils.java b/ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/web/support/UserUtils.java index f69a6dda..f31fc651 100644 --- a/ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/web/support/UserUtils.java +++ b/ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/web/support/UserUtils.java @@ -49,7 +49,6 @@ import java.util.Set; import java.util.TreeSet; import java.util.UUID; -import javax.servlet.ServletContext; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpSession; -- cgit 1.2.3-korg