[jboss-user] [JBoss jBPM] - Re: required variables

dleerob do-not-reply at jboss.com
Thu Sep 13 13:27:41 EDT 2007


Code in VariableContainer:
public boolean hasVariableLocally(String name) {
  |     return ( (variableInstances!=null)
  |              && (variableInstances.containsKey(name))
  |            );
  |   }

The validation uses the method above, and as you can see, it simply checks if the variable exists, and not if it is null.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084106#4084106

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084106



More information about the jboss-user mailing list