Program: 13039
Project: 13039
Buggy source:
private List<Subnet> createDeviceSubnets(DiscoveredDeviceData discoveredDeviceData){
  List<ObjectType> objList1=discoveredDeviceData.getObject();
  List<Subnet> result=new ArrayList<Subnet>();
  for (  ObjectType objectType1 : objList1) {
    String objectType=objectType1.getObjectType();
    if (objectType.equals("String_Node_Str")) {
      String interfaceName=objectType1.getName();
      List<ObjectType> objList2=objectType1.getObject();
      for (      ObjectType objectType2 : objList2) {
        String objectTypeType2=objectType2.getObjectType();
        if (objectTypeType2.equals("String_Node_Str")) {
          ParametersType params2=objectType2.getParameters();
          HashMap<String,String> params2Map=new HashMap<String,String>();
          for (          ParameterType params2Param : params2.getParameter()) {
            params2Map.put(params2Param.getName(),params2Param.getValue());
          }
          String subnetType="String_Node_Str";
          String ipSubnetMask=params2Map.get("String_Node_Str");
          String ipv4Subnet=params2Map.get("String_Node_Str");
          Subnet subnet=new Subnet(ipv4Subnet + "String_Node_Str" + ipSubnetMask,ipv4Subnet,ipSubnetMask,interfaceName,subnetType);
          result.add(subnet);
          continue;
        }
        if (objectTypeType2.equals("String_Node_Str")) {
          ParametersType params2=objectType2.getParameters();
          HashMap<String,String> params2Map=new HashMap<String,String>();
          for (          ParameterType params2Param : params2.getParameter()) {
            params2Map.put(params2Param.getName(),params2Param.getValue());
          }
          String subnetType="String_Node_Str";
          String ipSubnetMask=params2Map.get("String_Node_Str");
          String ipv6Subnet=params2Map.get("String_Node_Str");
          Subnet subnet=new Subnet(ipv6Subnet + "String_Node_Str" + ipSubnetMask,ipv6Subnet,ipSubnetMask,interfaceName,subnetType);
          result.add(subnet);
          continue;
        }
      }
    }
  }
  return result;
}

Fixed version (ground truth):
private Set<Subnet> createDeviceSubnets(DiscoveredDeviceData discoveredDeviceData){
  List<ObjectType> objList1=discoveredDeviceData.getObject();
  Set<Subnet> result=new HashSet<>();
  for (  ObjectType objectType1 : objList1) {
    String objectType=objectType1.getObjectType();
    if (objectType.equals("String_Node_Str")) {
      String interfaceName=objectType1.getName();
      List<ObjectType> objList2=objectType1.getObject();
      for (      ObjectType objectType2 : objList2) {
        String objectTypeType2=objectType2.getObjectType();
        if (objectTypeType2.equals("String_Node_Str")) {
          ParametersType params2=objectType2.getParameters();
          HashMap<String,String> params2Map=new HashMap<String,String>();
          for (          ParameterType params2Param : params2.getParameter()) {
            params2Map.put(params2Param.getName(),params2Param.getValue());
          }
          String subnetType="String_Node_Str";
          String ipSubnetMask=params2Map.get("String_Node_Str");
          String ipv4Subnet=params2Map.get("String_Node_Str");
          Subnet subnet=new Subnet(ipv4Subnet + "String_Node_Str" + ipSubnetMask,ipv4Subnet,ipSubnetMask,interfaceName,subnetType);
          result.add(subnet);
          continue;
        }
        if (objectTypeType2.equals("String_Node_Str")) {
          ParametersType params2=objectType2.getParameters();
          HashMap<String,String> params2Map=new HashMap<String,String>();
          for (          ParameterType params2Param : params2.getParameter()) {
            params2Map.put(params2Param.getName(),params2Param.getValue());
          }
          String subnetType="String_Node_Str";
          String ipSubnetMask=params2Map.get("String_Node_Str");
          String ipv6Subnet=params2Map.get("String_Node_Str");
          Subnet subnet=new Subnet(ipv6Subnet + "String_Node_Str" + ipSubnetMask,ipv6Subnet,ipSubnetMask,interfaceName,subnetType);
          result.add(subnet);
          continue;
        }
      }
    }
  }
  return result;
}