Skip to content

jami-core comparator fails comparing equal object. #37

Description

@tschaka1904

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions