equals() broken for LiteralExpressionImpl of type LONG
------------------------------------------------------
Key: GEOT-2858
URL: http://jira.codehaus.org/browse/GEOT-2858
Project: GeoTools
Issue Type: Bug
Components: core filter
Affects Versions: 2.6.0
Reporter: Stefan Alfons Krüger
Priority: Critical
Fix For: 2.6.1
Attachments: equalLiteralsBroken.patch
Expression l32 = CQL.toExpression("32");
Expression l40 = CQL.toExpression("40");
Assert.assertFalse(l32.equals(l40));
does not pass.. need to say more ;-)
The problem is in LiteralExpressionImpl.equals
And i think i may put that Critical.
JUnit test and fix attached
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel