Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jami-core comparator fails comparing equal object. #37

Open
tschaka1904 opened this issue Aug 10, 2016 · 0 comments
Open

jami-core comparator fails comparing equal object. #37

tschaka1904 opened this issue Aug 10, 2016 · 0 comments

Comments

@tschaka1904
Copy link
Member

The test psidev.psi.mi.jami.utils.comparator.interaction.UnambiguousExactCuratedModelledInteractionComparatorTest#test_same_source() is trying to compare two objects. Comparator should return true!

But it checks the creation time of the object, using Date#before(...). This returns false, because Date#before(...) compare on ms.

Do we need compare the creation date?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant