[jboss-jira] [JBoss JIRA] Assigned: (JBRULES-1872) Sample Drools program variable assignment may confuse first-time users
Kris Verlaenen (JIRA)
jira-events at lists.jboss.org
Tue Feb 3 12:03:44 EST 2009
[ https://jira.jboss.org/jira/browse/JBRULES-1872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kris Verlaenen reassigned JBRULES-1872:
---------------------------------------
Assignee: Kris Verlaenen (was: Mark Proctor)
> Sample Drools program variable assignment may confuse first-time users
> ----------------------------------------------------------------------
>
> Key: JBRULES-1872
> URL: https://jira.jboss.org/jira/browse/JBRULES-1872
> Project: JBoss Drools
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: drools-eclipse
> Affects Versions: 5.0.0.M3
> Reporter: Len DiMaggio
> Assignee: Kris Verlaenen
> Priority: Trivial
> Fix For: 5.0.0.CR1
>
>
> I first noticed this a while ago - in the sample Drools project created in eclipse, Sample.drl includes when statements that assign the 'message' member of the referenced class to a local variable also named 'message':
> m : Message( status == Message.HELLO, message : message )
> I think it would be helpful to users to change the variable name - for example:
> m : Message( status == Message.HELLO, myMessage : message )
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list