Improved: Remove ‘GroovyUtil#loadClass’ (OFBIZ-10820)
The ‘GroovyUtil#loadClass’ method was not used anywhere in the framework. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1854665 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -164,13 +164,6 @@ public class GroovyUtil {
|
||||
}
|
||||
}
|
||||
|
||||
public static Class<?> loadClass(String path) throws ClassNotFoundException, IOException {
|
||||
GroovyClassLoader groovyClassLoader = new GroovyClassLoader();
|
||||
Class<?> classLoader = groovyClassLoader.loadClass(path);
|
||||
groovyClassLoader.close();
|
||||
return classLoader;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parses a Groovy class from an input stream.
|
||||
* <p>
|
||||
|
||||
Reference in New Issue
Block a user