[jboss-jira] [JBoss JIRA] (DROOLS-607) Match.getObjects() should reflect the patterns' order

Kris Verlaenen (JIRA) issues at jboss.org
Tue Apr 25 17:47:01 EDT 2017


     [ https://issues.jboss.org/browse/DROOLS-607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kris Verlaenen updated DROOLS-607:
----------------------------------
    Fix Version/s:     (was: 7.0.0.Final)


> Match.getObjects() should reflect the patterns' order
> -----------------------------------------------------
>
>                 Key: DROOLS-607
>                 URL: https://issues.jboss.org/browse/DROOLS-607
>             Project: Drools
>          Issue Type: Enhancement
>    Affects Versions: 5.5.0.Final, 5.6.0.Final, 6.0.0.Final, 6.1.0.Final
>            Reporter: Davide Sottara
>            Assignee: Mark Proctor
>            Priority: Minor
>
> if Match.getObjects() is called on a rule with LHS A() B() C(), 
> the resulting list will have the matching objects in reversed order 
> - that is, [c, b, a] - making it more difficult to analyze it. 
> The object's position in the list should reflect the LHS. 
> The order should be preserved even when subnetworks are present.
> For example, A() not B() C() should then result in the list [a, *, c ]



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list