Author: remy.maucherat(a)jboss.com
Date: 2009-05-25 10:31:46 -0400 (Mon, 25 May 2009)
New Revision: 1060
Modified:
trunk/java/org/apache/jasper/el/ELResolverImpl.java
Log:
- Clean up casts.
Modified: trunk/java/org/apache/jasper/el/ELResolverImpl.java
===================================================================
--- trunk/java/org/apache/jasper/el/ELResolverImpl.java 2009-05-25 14:31:35 UTC (rev
1059)
+++ trunk/java/org/apache/jasper/el/ELResolverImpl.java 2009-05-25 14:31:46 UTC (rev
1060)
@@ -148,12 +148,12 @@
public static ELResolver getDefaultResolver() {
if (Constants.IS_SECURITY_ENABLED) {
- ELResolver defaultResolver = new CompositeELResolver();
- ((CompositeELResolver) defaultResolver).add(new MapELResolver());
- ((CompositeELResolver) defaultResolver).add(new ResourceBundleELResolver());
- ((CompositeELResolver) defaultResolver).add(new ListELResolver());
- ((CompositeELResolver) defaultResolver).add(new ArrayELResolver());
- ((CompositeELResolver) defaultResolver).add(new BeanELResolver());
+ CompositeELResolver defaultResolver = new CompositeELResolver();
+ defaultResolver.add(new MapELResolver());
+ defaultResolver.add(new ResourceBundleELResolver());
+ defaultResolver.add(new ListELResolver());
+ defaultResolver.add(new ArrayELResolver());
+ defaultResolver.add(new BeanELResolver());
return defaultResolver;
} else {
return DefaultResolver;
Show replies by date