RE: problem with Variant.equals in 2.0m4

2009-09-28 Thread Jerome Louvel
23 septembre 2009 00:45 À : discuss@restlet.tigris.org Objet : problem with Variant.equals in 2.0m4 The implementation of equals in Variant.java of 2.0m4 seems to incorrectly cast the other object as a Variant... The problem is on line 329 where it defines otherVariant. In the case where result

problem with Variant.equals in 2.0m4

2009-09-23 Thread webpost
The implementation of equals in Variant.java of 2.0m4 seems to incorrectly cast the other object as a Variant... The problem is on line 329 where it defines otherVariant. In the case where result is false, the equals method should just return false... @Override public boolean