Hi Adrian,Isn't it better performance wise if the most commonly used resolvers are at the top?
Regards Scott
Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/string/ UelUtil.javaURL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/string/UelUtil.java?rev=773709&r1=773708&r2=773709&view=diff= = = = = = = = ====================================================================== --- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/string/ UelUtil.java (original) +++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/string/ UelUtil.java Mon May 11 22:05:57 2009@@ -39,10 +39,10 @@protected static final ExpressionFactory exprFactory = JuelConnector.newExpressionFactory(); protected static final ELResolver defaultResolver = new ExtendedCompositeResolver() {{+ add(new NodeELResolver()); // Below the most common but must be kept above BeanELResolveradd(new ExtendedMapResolver(false)); add(new ExtendedListResolver(false)); add(new ArrayELResolver(false));- add(new NodeELResolver()); // Below the most common but must be kept above BeanELResolveradd(new ResourceBundleELResolver()); add(new BeanELResolver(false)); }
smime.p7s
Description: S/MIME cryptographic signature
