[jboss-user] [Beginners Corner] - Jboss rules when clause question

pprocknow do-not-reply at jboss.com
Wed Mar 14 13:52:05 EDT 2007


This is our first foray into jboss rules.  There are many examples of rules showing the == for string comparisons in the when clause.  We have found that we need to use the .equals in our then clauses for string compares to assure they function accurately.  Is the == reliable for string compares on the when clause or should we be restructuring to use the .equals syntax for that clause as well?

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

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



More information about the jboss-user mailing list