framework/webapp/src/com/ilscipio/scipio/ce/webapp/ftl/lang/LangFtlUtil.java
LangFtlUtil
has 121 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public abstract class LangFtlUtil {
private static final Debug.OfbizLogger module = Debug.getOfbizLogger(java.lang.invoke.MethodHandles.lookup().lookupClass());
// NOTE: there's no _real_ need to synchronize on these. if two templates are built for one builtin its not big deal.
Method copyMap
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static Object copyMap(TemplateModel object, Set<String> inExKeys, Boolean include,
TemplateValueTargetType targetType, ObjectWrapper objectWrapper) throws TemplateModelException {
Method varsPutAll
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static void varsPutAll(TemplateHashModel hashModel, Set<String> inExKeys, Boolean include,
FtlVarHandler varHandler, Environment env) throws TemplateModelException {
Method putAll
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static void putAll(SimpleHash res, TemplateHashModel hashModel, Set<String> inExKeys, Boolean include, ObjectWrapper objectWrapper) throws TemplateModelException {
Avoid too many return
statements within this method. Open
Open
return res;
Avoid too many return
statements within this method. Open
Open
return new ArrayList<>(collection);
Avoid too many return
statements within this method. Open
Open
return wrap(res, objectWrapper);
Avoid too many return
statements within this method. Open
Open
return res;
Avoid too many return
statements within this method. Open
Open
return res;
Avoid too many return
statements within this method. Open
Open
return res;
Avoid too many return
statements within this method. Open
Open
return new SimpleSequence(collection, objectWrapper);
Avoid too many return
statements within this method. Open
Open
return new SimpleSequence(collection, objectWrapper);
Avoid too many return
statements within this method. Open
Open
return new ArrayList<>(collection);
Avoid too many return
statements within this method. Open
Open
return wrap(res, objectWrapper);