[jboss-cvs] jboss-seam/src/main/org/jboss/seam/util ...
Gavin King
gavin.king at jboss.com
Wed May 16 11:46:57 EDT 2007
User: gavin
Date: 07/05/16 11:46:57
Modified: src/main/org/jboss/seam/util EL.java Reflections.java
Log:
use delegation instead
Revision Changes Path
1.6 +2 -1 jboss-seam/src/main/org/jboss/seam/util/EL.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: EL.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/util/EL.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- EL.java 3 Apr 2007 22:41:32 -0000 1.5
+++ EL.java 16 May 2007 15:46:57 -0000 1.6
@@ -15,6 +15,7 @@
import org.jboss.seam.jsf.SeamELResolver;
import org.jboss.el.ExpressionFactoryImpl;
+import org.jboss.el.lang.FunctionMapperImpl;
import org.jboss.el.lang.VariableMapperImpl;
public class EL
@@ -49,7 +50,7 @@
@Override
public FunctionMapper getFunctionMapper()
{
- return new SeamELFunctionMapper();
+ return new SeamELFunctionMapper( new FunctionMapperImpl() );
}
@Override
1.21 +2 -3 jboss-seam/src/main/org/jboss/seam/util/Reflections.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Reflections.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/util/Reflections.java,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- Reflections.java 10 Mar 2007 20:43:46 -0000 1.20
+++ Reflections.java 16 May 2007 15:46:57 -0000 1.21
@@ -1,4 +1,4 @@
-//$Id: Reflections.java,v 1.20 2007/03/10 20:43:46 pmuir Exp $
+//$Id: Reflections.java,v 1.21 2007/05/16 15:46:57 gavin Exp $
package org.jboss.seam.util;
import java.beans.Introspector;
@@ -13,6 +13,7 @@
public class Reflections
{
+
public static Object invoke(Method method, Object target, Object... args) throws Exception
{
try
@@ -298,6 +299,4 @@
}
}
-
-
}
More information about the jboss-cvs-commits
mailing list