framework/base/src/org/ofbiz/base/util/GroovyUtil.java
GroovyUtil
has 23 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public class GroovyUtil {
private static final Debug.OfbizLogger module = Debug.getOfbizLogger(java.lang.invoke.MethodHandles.lookup().lookupClass());
private static final UtilCache<String, Class<?>> parsedScripts = UtilCache.createUtilCache("script.GroovyLocationParsedCache", 0, 0, false);
Method eval
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static Object eval(String expression, Map<String, Object> context,
GroovyLangVariant langVariant, boolean convertOperators, boolean bindingToContext, boolean useCache) throws CompilationFailedException {