Program: 90077
Project: 90077
Buggy source:
/** 
 * Creates the specified directories in the it-config. Structure - ssh login cd path; DIRS; CLEANDIR; exit; where: login = username@machine. path = path to install directory. DIRS = the way to create directories.  CLEANDIR = the command to clean the tempDir (if chosen as optional) The install creation of DIR has the following structure  for directory dir: if [ ! -d dir ]; then mkdir dir; fi;  
 * @return The script for creating the directories.
 */
@Override protected String osInstallScriptCreateDir(){
  StringBuilder res=new StringBuilder("String_Node_Str");
  res.append("String_Node_Str");
  res.append("String_Node_Str");
  res.append("String_Node_Str");
  res.append(machineUserLogin());
  res.append("String_Node_Str");
  res.append(getInstallDirPath());
  res.append("String_Node_Str");
  String dir;
  dir=settings.getLeafValue(Constants.SETTINGS_ARCHIVE_BP_BASEDIR_LEAF);
  if (dir != null && !dir.equalsIgnoreCase("String_Node_Str") && !dir.equalsIgnoreCase("String_Node_Str")) {
    res.append(scriptCreateDir(dir,false));
  }
  dir=settings.getLeafValue(Constants.SETTINGS_ARCHIVE_ARC_BASEDIR_LEAF);
  if (dir != null && !dir.equalsIgnoreCase("String_Node_Str") && !dir.equalsIgnoreCase("String_Node_Str")) {
    res.append(scriptCreateDir(dir,false));
  }
  res.append(getAppDirectories());
  dir=settings.getLeafValue(Constants.SETTINGS_TEMP_DIR_LEAF);
  if (dir != null && !dir.equalsIgnoreCase("String_Node_Str") && !dir.equalsIgnoreCase("String_Node_Str")) {
    res.append(scriptCreateDir(dir,resetTempDir));
  }
  res.append("String_Node_Str");
  return res.toString();
}

Fixed version (ground truth):
/** 
 * Creates the specified directories in the it-config. Structure - ssh login cd path; DIRS; CLEANDIR; exit; where: login = username@machine. path = path to install directory. DIRS = the way to create directories.  CLEANDIR = the command to clean the tempDir (if chosen as optional) The install creation of DIR has the following structure  for directory dir: if [ ! -d dir ]; then mkdir dir; fi;  
 * @return The script for creating the directories.
 */
@Override protected String osInstallScriptCreateDir(){
  StringBuilder res=new StringBuilder("String_Node_Str");
  res.append("String_Node_Str");
  res.append("String_Node_Str");
  res.append("String_Node_Str");
  res.append(machineUserLogin());
  res.append("String_Node_Str");
  res.append(getInstallDirPath());
  res.append("String_Node_Str");
  String dir;
  dir=settings.getLeafValue(Constants.SETTINGS_ARCHIVE_BP_BASEDIR_LEAF);
  if (dir != null && !dir.equalsIgnoreCase("String_Node_Str") && !dir.equalsIgnoreCase("String_Node_Str")) {
    res.append(scriptCreateDir(dir,false));
  }
  dir=settings.getLeafValue(Constants.SETTINGS_ARCHIVE_ARC_BASEDIR_LEAF);
  if (dir != null && !dir.equalsIgnoreCase("String_Node_Str") && !dir.equalsIgnoreCase("String_Node_Str")) {
    res.append(scriptCreateDir(dir,false));
  }
  res.append(getAppDirectories());
  dir=settings.getLeafValue(Constants.SETTINGS_TEMPDIR_LEAF);
  if (dir != null && !dir.equalsIgnoreCase("String_Node_Str") && !dir.equalsIgnoreCase("String_Node_Str")) {
    res.append(scriptCreateDir(dir,resetTempDir));
  }
  res.append("String_Node_Str");
  return res.toString();
}