Program: 158171
Project: 158171
Buggy source:
@Override public Iterator<DownloadJob> iterator(){
  Calendar c=Calendar.getInstance();
  c.setTime(new Date());
  c.add(Calendar.DATE,-14);
  Date compareDate=c.getTime();
  ArrayList<DownloadJob> jobs=new ArrayList<>();
  for (  String symbol : symbols) {
    ExpansionSet exp=Sets.findSet(symbol);
    if (exp != null && exp.getReleaseDate().before(compareDate)) {
      jobs.add(generateDownloadJob(symbol,"String_Node_Str","String_Node_Str"));
      jobs.add(generateDownloadJob(symbol,"String_Node_Str","String_Node_Str"));
      jobs.add(generateDownloadJob(symbol,"String_Node_Str","String_Node_Str"));
    }
  }
  for (  String symbol : withMythics) {
    ExpansionSet exp=Sets.findSet(symbol);
    if (exp != null && exp.getReleaseDate().before(compareDate)) {
      jobs.add(generateDownloadJob(symbol,"String_Node_Str","String_Node_Str"));
      jobs.add(generateDownloadJob(symbol,"String_Node_Str","String_Node_Str"));
      jobs.add(generateDownloadJob(symbol,"String_Node_Str","String_Node_Str"));
      jobs.add(generateDownloadJob(symbol,"String_Node_Str","String_Node_Str"));
    }
  }
  for (  String symbol : onlyMythics) {
    ExpansionSet exp=Sets.findSet(symbol);
    if (exp != null && exp.getReleaseDate().before(compareDate)) {
      jobs.add(generateDownloadJob(symbol,"String_Node_Str","String_Node_Str"));
    }
  }
  for (  String symbol : onlyMythicsAsSpecial) {
    ExpansionSet exp=Sets.findSet(symbol);
    if (exp != null && exp.getReleaseDate().before(compareDate)) {
      jobs.add(generateDownloadJob(symbol,"String_Node_Str","String_Node_Str"));
    }
  }
  return jobs.iterator();
}

Fixed version (ground truth):
@Override public Iterator<DownloadJob> iterator(){
  Calendar c=Calendar.getInstance();
  c.setTime(new Date());
  c.add(Calendar.DATE,+14);
  Date compareDate=c.getTime();
  ArrayList<DownloadJob> jobs=new ArrayList<>();
  for (  String symbol : symbols) {
    ExpansionSet exp=Sets.findSet(symbol);
    if (exp != null && exp.getReleaseDate().before(compareDate)) {
      jobs.add(generateDownloadJob(symbol,"String_Node_Str","String_Node_Str"));
      jobs.add(generateDownloadJob(symbol,"String_Node_Str","String_Node_Str"));
      jobs.add(generateDownloadJob(symbol,"String_Node_Str","String_Node_Str"));
    }
  }
  for (  String symbol : withMythics) {
    ExpansionSet exp=Sets.findSet(symbol);
    if (exp != null && exp.getReleaseDate().before(compareDate)) {
      jobs.add(generateDownloadJob(symbol,"String_Node_Str","String_Node_Str"));
      jobs.add(generateDownloadJob(symbol,"String_Node_Str","String_Node_Str"));
      jobs.add(generateDownloadJob(symbol,"String_Node_Str","String_Node_Str"));
      jobs.add(generateDownloadJob(symbol,"String_Node_Str","String_Node_Str"));
    }
  }
  for (  String symbol : onlyMythics) {
    ExpansionSet exp=Sets.findSet(symbol);
    if (exp != null && exp.getReleaseDate().before(compareDate)) {
      jobs.add(generateDownloadJob(symbol,"String_Node_Str","String_Node_Str"));
    }
  }
  for (  String symbol : onlyMythicsAsSpecial) {
    ExpansionSet exp=Sets.findSet(symbol);
    if (exp != null && exp.getReleaseDate().before(compareDate)) {
      jobs.add(generateDownloadJob(symbol,"String_Node_Str","String_Node_Str"));
    }
  }
  return jobs.iterator();
}