Program: 25118
Project: 25118
Buggy source:
public void loadSettings(){
  if (properties == null) {
    String location="String_Node_Str";
    properties=new PropertiesFile("String_Node_Str");
    FileWriter writer=null;
    try {
      writer=new FileWriter(location);
      writer.write("String_Node_Str");
      writer.write("String_Node_Str");
      writer.write("String_Node_Str");
      writer.write("String_Node_Str");
      writer.write("String_Node_Str");
      writer.write("String_Node_Str");
      writer.write("String_Node_Str");
      writer.write("String_Node_Str");
      writer.write("String_Node_Str");
      writer.write("String_Node_Str");
      writer.write("String_Node_Str");
      writer.write("String_Node_Str");
      writer.write("String_Node_Str");
      writer.write("String_Node_Str");
      writer.write("String_Node_Str");
      writer.write("String_Node_Str");
      writer.write("String_Node_Str");
      writer.write("String_Node_Str");
    }
 catch (    Exception e) {
      log.log(Level.SEVERE,"String_Node_Str" + location,e);
    }
 finally {
      try {
        if (writer != null) {
          writer.close();
        }
      }
 catch (      IOException e) {
        log.log(Level.SEVERE,"String_Node_Str" + location,e);
      }
    }
  }
 else {
    properties.load();
  }
  try {
    adminChat=properties.getBoolean("String_Node_Str",true);
    greentext=properties.getBoolean("String_Node_Str",true);
    FFF=properties.getBoolean("String_Node_Str",true);
    quakeColors=properties.getBoolean("String_Node_Str",true);
    cmdFabulous=properties.getBoolean("String_Node_Str",true);
    cmdPromote=properties.getBoolean("String_Node_Str",true);
    cmdDemote=properties.getBoolean("String_Node_Str",true);
    cmdWhoIs=properties.getBoolean("String_Node_Str",true);
    cmdRules=properties.getBoolean("String_Node_Str",true);
    cmdTp=properties.getBoolean("String_Node_Str",true);
    cmdMasstp=properties.getBoolean("String_Node_Str",true);
    cmdTphere=properties.getBoolean("String_Node_Str",true);
    globalmessages=properties.getBoolean("String_Node_Str",true);
    cmdSay=properties.getBoolean("String_Node_Str",true);
    rules=properties.getString("String_Node_Str","String_Node_Str").split("String_Node_Str");
    id.a.log(Level.INFO,"String_Node_Str");
  }
 catch (  Exception e) {
    log.log(Level.SEVERE,"String_Node_Str");
  }
}

Fixed version (ground truth):
public void loadSettings(){
  File theDir=new File("String_Node_Str");
  if (!theDir.exists()) {
    String location="String_Node_Str";
    properties=new PropertiesFile("String_Node_Str");
    FileWriter writer=null;
    try {
      writer=new FileWriter(location);
      writer.write("String_Node_Str");
      writer.write("String_Node_Str");
      writer.write("String_Node_Str");
      writer.write("String_Node_Str");
      writer.write("String_Node_Str");
      writer.write("String_Node_Str");
      writer.write("String_Node_Str");
      writer.write("String_Node_Str");
      writer.write("String_Node_Str");
      writer.write("String_Node_Str");
      writer.write("String_Node_Str");
      writer.write("String_Node_Str");
      writer.write("String_Node_Str");
      writer.write("String_Node_Str");
      writer.write("String_Node_Str");
      writer.write("String_Node_Str");
      writer.write("String_Node_Str");
      writer.write("String_Node_Str");
    }
 catch (    Exception e) {
      log.log(Level.SEVERE,"String_Node_Str" + location,e);
    }
 finally {
      try {
        if (writer != null) {
          writer.close();
        }
      }
 catch (      IOException e) {
        log.log(Level.SEVERE,"String_Node_Str" + location,e);
      }
    }
  }
 else {
    properties=new PropertiesFile("String_Node_Str");
    properties.load();
  }
  try {
    adminChat=properties.getBoolean("String_Node_Str",true);
    greentext=properties.getBoolean("String_Node_Str",true);
    FFF=properties.getBoolean("String_Node_Str",true);
    quakeColors=properties.getBoolean("String_Node_Str",true);
    cmdFabulous=properties.getBoolean("String_Node_Str",true);
    cmdPromote=properties.getBoolean("String_Node_Str",true);
    cmdDemote=properties.getBoolean("String_Node_Str",true);
    cmdWhoIs=properties.getBoolean("String_Node_Str",true);
    cmdRules=properties.getBoolean("String_Node_Str",true);
    cmdTp=properties.getBoolean("String_Node_Str",true);
    cmdMasstp=properties.getBoolean("String_Node_Str",true);
    cmdTphere=properties.getBoolean("String_Node_Str",true);
    globalmessages=properties.getBoolean("String_Node_Str",true);
    cmdSay=properties.getBoolean("String_Node_Str",true);
    rules=properties.getString("String_Node_Str","String_Node_Str").split("String_Node_Str");
    log.log(Level.INFO,"String_Node_Str");
  }
 catch (  Exception e) {
    log.log(Level.SEVERE,"String_Node_Str");
  }
}