[jboss-jira] [JBoss JIRA] Created: (JBRULES-368) Ternary expressions not allowed by the drl parser

Michael Neale (JIRA) jira-events at jboss.com
Tue Jul 11 21:18:11 EDT 2006


Ternary expressions not allowed by the drl parser
-------------------------------------------------

                 Key: JBRULES-368
                 URL: http://jira.jboss.com/jira/browse/JBRULES-368
             Project: JBoss Rules
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Drl Parser/Builder
    Affects Versions: 3.0.2
            Reporter: Michael Neale
         Assigned To: Michael Neale
             Fix For: 3.0.3


  	 if (speed > speedLimit ? true : false;)
     pullEmOver();

The parser will have a warning over the "?" and then strip it out.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list