summaryrefslogtreecommitdiffstats
path: root/pomba/network-discovery-api/src
diff options
context:
space:
mode:
authorTait,Trevor(rt0435) <rtait@amdocs.com>2018-07-31 15:48:07 -0400
committerTait,Trevor(rt0435) <rtait@amdocs.com>2018-08-01 14:04:24 -0400
commit74f9d832beba72c1121bef875b8e36ddb3cd5740 (patch)
tree16961ab8598f3e3b916d7a8fd97ccfdea0057dca /pomba/network-discovery-api/src
parent46c24a62f6931364075e9bd1cd33446dfdc9575b (diff)
Fixing issues from SONAR report
Change-Id: I69e042690f464303fed0c9188b1555adf1f06481 Issue-ID: SDNC-317 Signed-off-by: Tait,Trevor(rt0435) <rtait@amdocs.com>
Diffstat (limited to 'pomba/network-discovery-api/src')
-rw-r--r--pomba/network-discovery-api/src/main/java/org/onap/sdnc/apps/pomba/networkdiscovery/datamodel/DataQuality.java4
-rw-r--r--pomba/network-discovery-api/src/main/java/org/onap/sdnc/apps/pomba/networkdiscovery/datamodel/NetworkDiscoveryResponse.java1
2 files changed, 2 insertions, 3 deletions
diff --git a/pomba/network-discovery-api/src/main/java/org/onap/sdnc/apps/pomba/networkdiscovery/datamodel/DataQuality.java b/pomba/network-discovery-api/src/main/java/org/onap/sdnc/apps/pomba/networkdiscovery/datamodel/DataQuality.java
index 3e7836a..f8c677a 100644
--- a/pomba/network-discovery-api/src/main/java/org/onap/sdnc/apps/pomba/networkdiscovery/datamodel/DataQuality.java
+++ b/pomba/network-discovery-api/src/main/java/org/onap/sdnc/apps/pomba/networkdiscovery/datamodel/DataQuality.java
@@ -18,14 +18,14 @@
package org.onap.sdnc.apps.pomba.networkdiscovery.datamodel;
public class DataQuality {
- public static enum Status {
+ public enum Status {
ok, error
}
private Status status;
private String errorText;
-
+
public Status getStatus() {
return this.status;
}
diff --git a/pomba/network-discovery-api/src/main/java/org/onap/sdnc/apps/pomba/networkdiscovery/datamodel/NetworkDiscoveryResponse.java b/pomba/network-discovery-api/src/main/java/org/onap/sdnc/apps/pomba/networkdiscovery/datamodel/NetworkDiscoveryResponse.java
index 136688a..0360930 100644
--- a/pomba/network-discovery-api/src/main/java/org/onap/sdnc/apps/pomba/networkdiscovery/datamodel/NetworkDiscoveryResponse.java
+++ b/pomba/network-discovery-api/src/main/java/org/onap/sdnc/apps/pomba/networkdiscovery/datamodel/NetworkDiscoveryResponse.java
@@ -17,7 +17,6 @@
*/
package org.onap.sdnc.apps.pomba.networkdiscovery.datamodel;
-import java.util.List;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement