aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRupinder <rupinsi1@in.ibm.com>2020-04-27 15:23:19 +0530
committerRupinder <rupinsi1@in.ibm.com>2020-04-27 15:23:28 +0530
commitc2896c9bed59aa0996406a29ce28bd904510eb55 (patch)
tree2943ef7010dc6ca47a00226bb70f08bfec09035c
parentc26283161fc152e41c73e427448381b472329439 (diff)
removed code smells
Issue-ID: USECASEUI-412 Change-Id: Ibe59f5491b50f980fde87540c5a2d75231137716 Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
-rw-r--r--server/src/main/java/org/onap/usecaseui/server/service/nsmf/impl/ResourceMgtServiceConvert.java1
-rw-r--r--server/src/main/java/org/onap/usecaseui/server/service/nsmf/impl/ResourceMgtServiceImpl.java1
-rw-r--r--server/src/main/java/org/onap/usecaseui/server/service/nsmf/impl/ResourceMonitorServiceConvert.java1
-rw-r--r--server/src/main/java/org/onap/usecaseui/server/service/slicingdomain/aai/bean/AAIServiceAndInstance.java2
-rw-r--r--server/src/main/java/org/onap/usecaseui/server/service/slicingdomain/aai/bean/AAIServiceInstance.java3
-rw-r--r--server/src/main/java/org/onap/usecaseui/server/service/slicingdomain/aai/bean/Relationship.java2
6 files changed, 0 insertions, 10 deletions
diff --git a/server/src/main/java/org/onap/usecaseui/server/service/nsmf/impl/ResourceMgtServiceConvert.java b/server/src/main/java/org/onap/usecaseui/server/service/nsmf/impl/ResourceMgtServiceConvert.java
index c3764960..445445c1 100644
--- a/server/src/main/java/org/onap/usecaseui/server/service/nsmf/impl/ResourceMgtServiceConvert.java
+++ b/server/src/main/java/org/onap/usecaseui/server/service/nsmf/impl/ResourceMgtServiceConvert.java
@@ -55,7 +55,6 @@ import org.onap.usecaseui.server.service.slicingdomain.aai.bean.AAIServiceRsp;
import org.onap.usecaseui.server.service.slicingdomain.aai.bean.Relationship;
import org.onap.usecaseui.server.service.slicingdomain.aai.bean.RelationshipData;
import org.onap.usecaseui.server.service.slicingdomain.so.SOSliceService;
-import org.onap.usecaseui.server.service.slicingdomain.so.bean.SOOperation;
import org.onap.usecaseui.server.util.RestfulServices;
import org.onap.usecaseui.server.util.nsmf.NsmfCommonUtil;
import org.slf4j.Logger;
diff --git a/server/src/main/java/org/onap/usecaseui/server/service/nsmf/impl/ResourceMgtServiceImpl.java b/server/src/main/java/org/onap/usecaseui/server/service/nsmf/impl/ResourceMgtServiceImpl.java
index a0a626e1..e6c68a37 100644
--- a/server/src/main/java/org/onap/usecaseui/server/service/nsmf/impl/ResourceMgtServiceImpl.java
+++ b/server/src/main/java/org/onap/usecaseui/server/service/nsmf/impl/ResourceMgtServiceImpl.java
@@ -18,7 +18,6 @@ package org.onap.usecaseui.server.service.nsmf.impl;
import java.io.IOException;
import java.lang.reflect.Type;
-import java.text.ParseException;
import java.util.List;
import com.alibaba.fastjson.JSON;
diff --git a/server/src/main/java/org/onap/usecaseui/server/service/nsmf/impl/ResourceMonitorServiceConvert.java b/server/src/main/java/org/onap/usecaseui/server/service/nsmf/impl/ResourceMonitorServiceConvert.java
index 3b421a0c..f6b20617 100644
--- a/server/src/main/java/org/onap/usecaseui/server/service/nsmf/impl/ResourceMonitorServiceConvert.java
+++ b/server/src/main/java/org/onap/usecaseui/server/service/nsmf/impl/ResourceMonitorServiceConvert.java
@@ -19,7 +19,6 @@ import java.lang.reflect.InvocationTargetException;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.List;
-import org.apache.commons.beanutils.BeanUtils;
import org.onap.usecaseui.server.bean.nsmf.monitor.ServiceInfo;
import org.onap.usecaseui.server.bean.nsmf.monitor.ServiceOnlineUserInfo;
import org.onap.usecaseui.server.bean.nsmf.monitor.ServiceTotalBandwidthInfo;
diff --git a/server/src/main/java/org/onap/usecaseui/server/service/slicingdomain/aai/bean/AAIServiceAndInstance.java b/server/src/main/java/org/onap/usecaseui/server/service/slicingdomain/aai/bean/AAIServiceAndInstance.java
index dd6f5c6a..413c0e97 100644
--- a/server/src/main/java/org/onap/usecaseui/server/service/slicingdomain/aai/bean/AAIServiceAndInstance.java
+++ b/server/src/main/java/org/onap/usecaseui/server/service/slicingdomain/aai/bean/AAIServiceAndInstance.java
@@ -14,8 +14,6 @@ package org.onap.usecaseui.server.service.slicingdomain.aai.bean;
import java.util.List;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
public class AAIServiceAndInstance {
private String serviceInstanceId;
diff --git a/server/src/main/java/org/onap/usecaseui/server/service/slicingdomain/aai/bean/AAIServiceInstance.java b/server/src/main/java/org/onap/usecaseui/server/service/slicingdomain/aai/bean/AAIServiceInstance.java
index 0e50f614..ae5084a8 100644
--- a/server/src/main/java/org/onap/usecaseui/server/service/slicingdomain/aai/bean/AAIServiceInstance.java
+++ b/server/src/main/java/org/onap/usecaseui/server/service/slicingdomain/aai/bean/AAIServiceInstance.java
@@ -15,9 +15,6 @@ package org.onap.usecaseui.server.service.slicingdomain.aai.bean;
import java.io.Serializable;
import java.util.List;
-import javax.persistence.Column;
-import javax.persistence.Id;
-import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
diff --git a/server/src/main/java/org/onap/usecaseui/server/service/slicingdomain/aai/bean/Relationship.java b/server/src/main/java/org/onap/usecaseui/server/service/slicingdomain/aai/bean/Relationship.java
index c0dda4ac..1855089b 100644
--- a/server/src/main/java/org/onap/usecaseui/server/service/slicingdomain/aai/bean/Relationship.java
+++ b/server/src/main/java/org/onap/usecaseui/server/service/slicingdomain/aai/bean/Relationship.java
@@ -14,8 +14,6 @@ package org.onap.usecaseui.server.service.slicingdomain.aai.bean;
import java.util.List;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
public class Relationship {