Thomas Fox created TORQUE-243:
---------------------------------

             Summary: Criterion gets modified by Criteria
                 Key: TORQUE-243
                 URL: https://issues.apache.org/jira/browse/TORQUE-243
             Project: Torque
          Issue Type: Bug
    Affects Versions: 4.0-beta1
            Reporter: Thomas Fox
            Assignee: Thomas Fox
             Fix For: 4.0-beta2


In the situation
Criterion criterion = new Criterion(SomePeer.COLUMN, value);
Criteria criteria = new Criteria().where(criterion);
criteria.and(SomePeer, someOtherColumn);

the criteria.and() in the last line also unexpectedly changes the original 
criterion.
Expected behaviour: The Criterion should not be changed by changing the 
criteria object.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to