I agree. I will move forward without changing the behaviour, though this makes some tests rather lengthy to write.
After all contract tests are complete we could make the change and see if anything breaks. Claude On Sun, Sep 22, 2013 at 9:13 AM, Chris_Dollin <[email protected]> wrote: > On Saturday, September 21, 2013 04:22:00 PM Claude Warren wrote: > > It seems to me that this should be true. > > > > > > assertEquals( new BaseDatatype( " > > http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral"), new > BaseDatatype( " > > http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral")); > > > > But it fails. Any idea why? > > BaseDatatype doesn't override .equals(). > > Perhaps it should. But perhaps there's code that relies on .equals() on > DaseDatatype being ==. (Seems unlikely but a change in behaviour > is a change in behaviour ...) > > Chris > -- I like: Like Like - The likeliest place on the web<http://like-like.xenei.com> LinkedIn: http://www.linkedin.com/in/claudewarren
