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

Michael Biarnes Kiefer (JIRA) issues at jboss.org
Fri Apr 15 04:40:04 EDT 2016


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

Michael Biarnes Kiefer updated DROOLS-607:
------------------------------------------
    Fix Version/s: 7.0.0.Beta1
                       (was: 6.4.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
>             Fix For: 7.0.0.Beta1
>
>
> 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
(v6.4.11#64026)


More information about the jboss-jira mailing list