summaryrefslogtreecommitdiffstats
path: root/zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/wrapper/N2sReqWrapper.java
diff options
context:
space:
mode:
authorajay priyadarshi <ajay.priyadarshi@ril.com>2018-04-06 11:33:44 +0530
committerajay priyadarshi <ajay.priyadarshi@ril.com>2018-04-06 11:33:44 +0530
commite67348a174fd226c3400522a48e65a0f287eb661 (patch)
tree7c72a04e45be20a77066dedd991813a18eb7e28b /zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/wrapper/N2sReqWrapper.java
parentb96679bbc5f58560e6d9ae01f32f26eaaefa4729 (diff)
Sonar: Code smells Sfc
entity/MsbRegisterEntity.java file name: PortChainReq.java Change-Id: I06754705324248be60dad6567d23a1604125cf31 Issue-ID: VFC-856 Signed-off-by: ajay priyadarshi <ajay.priyadarshi@ril.com>
Diffstat (limited to 'zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/wrapper/N2sReqWrapper.java')
-rw-r--r--zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/wrapper/N2sReqWrapper.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/wrapper/N2sReqWrapper.java b/zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/wrapper/N2sReqWrapper.java
index 8c9ccbd..97b311a 100644
--- a/zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/wrapper/N2sReqWrapper.java
+++ b/zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/wrapper/N2sReqWrapper.java
@@ -33,6 +33,7 @@ import org.onap.sfc.entity.portpair.PortPairReq4S;
import org.onap.sfc.entity.portpair.ServiceFunctionParameter;
import java.util.ArrayList;
+import java.util.List;
public class N2sReqWrapper {
@@ -64,7 +65,7 @@ public class N2sReqWrapper {
}
public static FlowClassifierReq4S convertFlowClassfier(FlowClassfierReq4N flowClassfierReq4N) {
- ArrayList<FlowClassfierReq> flowClassifiers = new ArrayList();
+ List<FlowClassfierReq> flowClassifiers = new ArrayList();
FlowClassfierReq flowClassfierReq = new FlowClassfierReq();
flowClassfierReq.setProtocol(flowClassfierReq4N.getIpProto());
// flowClassfierReq.setSourcePortRangeMin(Integer.parseInt(flowClassfierReq4N.