Abstract class "Tag" does not correctly override the equals() method from "Object"
Issue #22
new
See discussion here: https://groups.google.com/forum/#!topic/okapi-devel/Chr4mcN0_gE
Implementations of equals() in CTag and MTag need to be changed, accordingly. Also, the equals() method should be added to TermTag. We should also override hashcode() (doing so is recommended in "Effective Java" whenever you override equals()).
Comments (3)
-
-
reporter I'll take a look.
Am 01.12.18 um 22:45 schrieb Mihai Nita:
-
reporter @nmihai_2000 I am not able to reproduce the failed test locally. It also seems fine on the build system now. Could you verify? Might have been a temporary glitch. Tks.
- Log in to comment
Merged, then reverted. Build failing, see https://gitlab.com/okapiframework/xliff-toolkit/-/jobs/128327028