Fix odlparent 3 Checkstyle issues
[netvirt.git] / vpnservice / neutronvpn / neutronvpn-impl / src / main / java / org / opendaylight / netvirt / neutronvpn / NeutronvpnUtils.java
index fc3242ea16e14afe346fdab5b97e70d1bfb9db35..91657b97633d8c35d521c84c3a3805eb922f478f 100644 (file)
@@ -305,9 +305,9 @@ public class NeutronvpnUtils {
         Optional<Subnetmaps> subnetmaps = read(LogicalDatastoreType.CONFIGURATION, subnetmapsid);
         if (subnetmaps.isPresent() && subnetmaps.get().getSubnetmap() != null) {
             List<Subnetmap> subnetMapList = subnetmaps.get().getSubnetmap();
-            for (Subnetmap subnetMap : subnetMapList) {
-                if (subnetMap.getVpnId() != null && subnetMap.getVpnId().equals(vpnid)) {
-                    subnets.add(subnetMap.getId());
+            for (Subnetmap candidateSubnetMap : subnetMapList) {
+                if (candidateSubnetMap.getVpnId() != null && candidateSubnetMap.getVpnId().equals(vpnid)) {
+                    subnets.add(candidateSubnetMap.getId());
                 }
             }
         }