Skip to content
Permalink
Browse files

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
  • Loading branch information
mthl committed Mar 2, 2019
1 parent dea9ca9 commit 10891b60220fe8ba4f4c46df95505780c7d858f9
Showing with 0 additions and 7 deletions.
  1. +0 −7 framework/base/src/main/java/org/apache/ofbiz/base/util/GroovyUtil.java
@@ -164,13 +164,6 @@ public static Binding getBinding(Map<String, Object> context) {
}
}

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>

0 comments on commit 10891b6

Please sign in to comment.
You can’t perform that action at this time.