Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-21705

CheckpointWorkflow uses weird equals implementation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • Docs Required, Release Notes Required

    Description

      Issue detected by SpotBugs. Specifically the warning reported is:

      M B BC_EQUALS_METHOD_SHOULD_WORK_FOR_ALL_OBJECTS BC: Equals method for org.apache.ignite.internal.pagememory.persistence.checkpoint.CheckpointWorkflow$1 assumes the argument is of type CheckpointWorkflow$1  At CheckpointWorkflow.java:[line 349]
      M B NP_EQUALS_SHOULD_HANDLE_NULL_ARGUMENT NP: org.apache.ignite.internal.pagememory.persistence.checkpoint.CheckpointWorkflow$1.equals(Object) does not check for null argument  At CheckpointWorkflow.java:[line 349]
      

      Investigate whenever this is a false-positive and we should suppress it, or make a proper fix.

      At the result of investigation corresponding TODO should be removed in spotbugs-excludes.xml

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vblinov Viacheslav Blinov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: