[rules-users] About String..."==" same as ".equals"?

Joel G. Rivera-González el_pio at yahoo.com
Mon Jan 8 21:19:50 EST 2007


most (if not all) of my rules will have conditions like this:
Object(variable == Constants.value)
this is not working...
BUT if i change the Constants.value to corresponding value from the constants class it will work...
is there any other way other than this Object(a:variable->  (a.equals(Constants.value)) to do it?



 
Joel G. Rivera-Gonzalez
PRT

"The first 90% of a project takes 90% of the time, the last 10% takes the other 90% of the time" - Murphy's Law

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070108/d9640489/attachment.html 


More information about the rules-users mailing list