aboutsummaryrefslogtreecommitdiffstats
path: root/vnfapi/provider/src
diff options
context:
space:
mode:
authorramu.n <ramu.n@huawei.com>2017-09-08 14:45:31 +0530
committerramu.n <ramu.n@huawei.com>2017-09-08 18:24:03 +0530
commit27a9e0316840eda23701cffb9b9a8a44102ee439 (patch)
tree453e04202032fac30a1d19e7ad372c59a535f418 /vnfapi/provider/src
parent8d98e1e5488918f17fd31a7b8b375629ca7a06c1 (diff)
Fix few Blocker/Critical sonar issues
Fix few Blocker/Critical sonar issues in sdnc northbound modules https://sonar.onap.org/component_issues?id=org.openecomp.sdnc.northbound%3Asdnc-northbound#resolved=false|severities=BLOCKER%2CCRITICAL Change-Id: I277dd72784a2186acffdd2a7045fecbef528f56b Issue-Id: SDNC-65 Signed-off-by: Ramu N <ramu.n@huawei.com>
Diffstat (limited to 'vnfapi/provider/src')
-rw-r--r--vnfapi/provider/src/main/java/org/onap/sdnc/vnfapi/vnfapiProvider.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/vnfapi/provider/src/main/java/org/onap/sdnc/vnfapi/vnfapiProvider.java b/vnfapi/provider/src/main/java/org/onap/sdnc/vnfapi/vnfapiProvider.java
index 83fb2609..9893235a 100644
--- a/vnfapi/provider/src/main/java/org/onap/sdnc/vnfapi/vnfapiProvider.java
+++ b/vnfapi/provider/src/main/java/org/onap/sdnc/vnfapi/vnfapiProvider.java
@@ -486,7 +486,7 @@ public class vnfapiProvider implements AutoCloseable, VNFAPIService, DataChangeL
default:
log.error("Unknown RequestAction: " + requestInformation.getRequestAction() );
break;
- };
+ }
}
if (requestInformation != null && requestInformation.getRequestSubAction() != null) {
switch (requestInformation.getRequestSubAction())
@@ -500,7 +500,7 @@ public class vnfapiProvider implements AutoCloseable, VNFAPIService, DataChangeL
default:
log.error("Unknown RequestSubAction: " + requestInformation.getRequestSubAction() );
break;
- };
+ }
}
}
@@ -533,7 +533,7 @@ public class vnfapiProvider implements AutoCloseable, VNFAPIService, DataChangeL
default:
log.error("Unknown SvcAction: " + requestHeader.getSvcAction() );
break;
- };
+ }
}
}
@@ -1744,7 +1744,7 @@ public class vnfapiProvider implements AutoCloseable, VNFAPIService, DataChangeL
// Grab the service instance ID from the input buffer
String siid = null;
- if (input.getSdncRequestHeader().getSvcAction().equals("assign")) {
+ if (input.getSdncRequestHeader().getSvcAction().equals(SvcAction.Assign)) {
siid = input.getNetworkRequestInformation().getNetworkName();
}
else {