[jboss-jira] [JBoss JIRA] (DROOLS-607) Match.getObjects() should reflect the patterns' order
Davide Sottara (JIRA)
issues at jboss.org
Sun Sep 21 11:30:02 EDT 2014
Davide Sottara created DROOLS-607:
-------------------------------------
Summary: 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: 6.1.0.Final, 6.0.0.Final, 5.6.0.Final, 5.5.0.Final
Reporter: Davide Sottara
Assignee: Mark Proctor
Priority: Minor
Fix For: 6.2.0.CR1
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.3.1#6329)
More information about the jboss-jira
mailing list