[jboss-cvs] jboss-seam/src/main/org/jboss/seam/bpm ...
Gavin King
gavin.king at jboss.com
Tue Jul 10 10:02:05 EDT 2007
User: gavin
Date: 07/07/10 10:02:05
Modified: src/main/org/jboss/seam/bpm BusinessProcessInterceptor.java
Log:
it was just the wrong import
Revision Changes Path
1.3 +2 -1 jboss-seam/src/main/org/jboss/seam/bpm/BusinessProcessInterceptor.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: BusinessProcessInterceptor.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/bpm/BusinessProcessInterceptor.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- BusinessProcessInterceptor.java 10 Jul 2007 13:34:46 -0000 1.2
+++ BusinessProcessInterceptor.java 10 Jul 2007 14:02:05 -0000 1.3
@@ -21,6 +21,7 @@
import org.jboss.seam.intercept.InvocationContext;
import org.jboss.seam.log.LogProvider;
import org.jboss.seam.log.Logging;
+import org.jboss.seam.util.Strings;
import org.jboss.seam.web.Parameters;
/**
@@ -143,7 +144,7 @@
private Long getProcessOrTaskId(String paramName, String el)
{
Object id;
- if ( paramName == null || "".equals(paramName) )
+ if ( Strings.isEmpty(paramName) )
{
id = Expressions.instance().createValueExpression(el).getValue();
}
More information about the jboss-cvs-commits
mailing list