Program: 128733
Project: 128733
Buggy source:
/** 
 * Test method for studio have all the lib for the system of db connection .
 */
@Test public void testMissingJar() throws MalformedURLException {
  Set<String> names=new HashSet<String>();
  List<File> jarFiles=FilesUtils.getJarFilesFromFolder(getStorageDirectory(),null);
  if (jarFiles.size() > 0) {
    for (    File file : jarFiles) {
      names.add(file.getName());
    }
  }
  LibrariesIndexManager.getInstance().loadResource();
  EMap<String,String> jarsToRelative=LibrariesIndexManager.getInstance().getIndex().getJarsToRelativePath();
  names.addAll(jarsToRelative.keySet());
  List<String> allJars=new ArrayList<String>();
  EDatabaseVersion4Drivers[] values=EDatabaseVersion4Drivers.values();
  for (  EDatabaseVersion4Drivers driver : values) {
    Set<String> providerDrivers=driver.getProviderDrivers();
    allJars.addAll(providerDrivers);
  }
  Set<String> missJars=new HashSet<String>();
  for (  String jar : allJars) {
    boolean hadInstalled=false;
    for (    String installJar : names) {
      if (jar.equals(installJar)) {
        hadInstalled=true;
      }
    }
    if (!hadInstalled) {
      missJars.add(jar);
    }
  }
  if (missJars.size() > 0) {
    for (    String notDiliver : notDilivers) {
      if (missJars.contains(notDiliver)) {
        missJars.remove(notDiliver);
      }
    }
    StringBuffer buffer=new StringBuffer();
    buffer.append("String_Node_Str");
    for (    String missJar : missJars) {
      buffer.append(missJar + "String_Node_Str");
    }
    throw new RuntimeException(buffer.toString());
  }
}

Fixed version (ground truth):
/** 
 * Test method for studio have all the lib for the system of db connection .
 */
@Test public void testMissingJar() throws MalformedURLException {
  Set<String> names=new HashSet<String>();
  List<File> jarFiles=FilesUtils.getJarFilesFromFolder(getStorageDirectory(),null);
  if (jarFiles.size() > 0) {
    for (    File file : jarFiles) {
      names.add(file.getName());
    }
  }
  LibrariesIndexManager.getInstance().loadResource();
  EMap<String,String> jarsToRelative=LibrariesIndexManager.getInstance().getIndex().getJarsToRelativePath();
  names.addAll(jarsToRelative.keySet());
  List<String> allJars=new ArrayList<String>();
  EDatabaseVersion4Drivers[] values=EDatabaseVersion4Drivers.values();
  for (  EDatabaseVersion4Drivers driver : values) {
    Set<String> providerDrivers=driver.getProviderDrivers();
    allJars.addAll(providerDrivers);
  }
  Set<String> missJars=new HashSet<String>();
  for (  String jar : allJars) {
    boolean hadInstalled=false;
    for (    String installJar : names) {
      if (jar.equals(installJar)) {
        hadInstalled=true;
      }
    }
    if (!hadInstalled) {
      missJars.add(jar);
    }
  }
  if (missJars.size() > 0) {
    for (    String notDiliver : notDilivers) {
      if (missJars.contains(notDiliver)) {
        missJars.remove(notDiliver);
      }
    }
  }
  if (missJars.size() > 0) {
    StringBuffer buffer=new StringBuffer();
    buffer.append("String_Node_Str");
    for (    String missJar : missJars) {
      buffer.append(missJar + "String_Node_Str");
    }
    throw new RuntimeException(buffer.toString());
  }
  assertTrue(missJars.size() == 0);
}