[jboss-cvs] jboss-seam/src/main/org/jboss/seam/mock ...
Peter Muir
peter at bleepbleep.org.uk
Fri Apr 27 18:02:24 EDT 2007
User: pmuir
Date: 07/04/27 18:02:24
Modified: src/main/org/jboss/seam/mock MockApplication.java
Log:
JBSEAM-1252
Revision Changes Path
1.11 +316 -310 jboss-seam/src/main/org/jboss/seam/mock/MockApplication.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: MockApplication.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/mock/MockApplication.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- MockApplication.java 24 Apr 2007 02:32:58 -0000 1.10
+++ MockApplication.java 27 Apr 2007 22:02:23 -0000 1.11
@@ -267,7 +267,13 @@
public MethodBinding createMethodBinding(final String methodExpression, final Class[] args)
throws ReferenceSyntaxException
{
- return new UnifiedELMethodBinding(methodExpression, args);
+ Class[] c = args;
+ if (c == null)
+ {
+ // Mismatch between JSF and Unified EL
+ c = new Class[0];
+ }
+ return new UnifiedELMethodBinding(methodExpression, c);
}
@Override
More information about the jboss-cvs-commits
mailing list