From e8297045eb382a4a3b917e3e89ec431209f84354 Mon Sep 17 00:00:00 2001 From: Anisha Kumar Date: Mon, 6 Aug 2018 15:16:28 -0700 Subject: Change & to && The boolean expression on line 243 requires two "&" instead of one. Issue-ID: SO-666 Change-Id: I3965119a223063e9bcee8a5ca807791b41f63410 Signed-off-by: Anisha Kumar --- .../so/client/adapter/network/mapper/NetworkAdapterObjectMapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bpmn') diff --git a/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/client/adapter/network/mapper/NetworkAdapterObjectMapper.java b/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/client/adapter/network/mapper/NetworkAdapterObjectMapper.java index a1501da0e2..ee8f503e42 100644 --- a/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/client/adapter/network/mapper/NetworkAdapterObjectMapper.java +++ b/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/client/adapter/network/mapper/NetworkAdapterObjectMapper.java @@ -240,7 +240,7 @@ public class NetworkAdapterObjectMapper { for (org.onap.so.bpmn.servicedecomposition.bbobjects.Subnet subnet : subnets) { org.onap.so.openstack.beans.Subnet openstackSubnet = modelMapper.map(subnet, org.onap.so.openstack.beans.Subnet.class); //update cidr value - if (subnet.getNetworkStartAddress() != null & subnet.getCidrMask() != null) + if (subnet.getNetworkStartAddress() != null && subnet.getCidrMask() != null) openstackSubnet.setCidr(subnet.getNetworkStartAddress().concat(FORWARD_SLASH).concat(subnet.getCidrMask())); List hostRouteList = subnet.getHostRoutes(); List openstackHostRouteList = new ArrayList<>(); -- cgit 1.2.3-korg