Removed unused methods.

This commit is contained in:
Evgeny Gerashchenko
2012-07-13 15:24:27 +04:00
parent 49680d9a9a
commit 044b6bf435
@@ -248,31 +248,4 @@ public class CompileEnvironmentUtil {
}
}
}
/**
* Add path specified to the compilation environment.
*
* @param environment compilation environment to add to
* @param paths paths to add
*/
public static void addToClasspath(JetCoreEnvironment environment, File... paths) {
for (File path : paths) {
if (!path.exists()) {
throw new CompileEnvironmentException("'" + path + "' does not exist");
}
environment.addToClasspath(path);
}
}
/**
* Add path specified to the compilation environment.
*
* @param environment compilation environment to add to
* @param paths paths to add
*/
public static void addToClasspath(JetCoreEnvironment environment, String... paths) {
for (String path : paths) {
addToClasspath(environment, new File(path));
}
}
}