Program: 179112
Project: 179112
Buggy source:
public List<BCommand> getCommands(User user){
  List<BCommand> commands=new ArrayList<BCommand>();
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  for (int i=0; i < commands.size(); i++) {
    if (!commands.get(i).canUse(user)) {
      commands.remove(i);
    }
  }
  return commands;
}

Fixed version (ground truth):
public List<BCommand> getCommands(User user){
  List<BCommand> commands=new ArrayList<BCommand>();
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  commands.add(new BCommand("String_Node_Str","String_Node_Str","String_Node_Str"));
  for (int i=0; i < commands.size(); i++) {
    if (!commands.get(i).canUse(user)) {
      commands.remove(i);
    }
  }
  return commands;
}