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

AbstractFreeList has unused private method `initReusedPage`

    XMLWordPrintableJSON

Details

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

    Description

      Issue detected by SpotBugs but is also highlighted by Idea inspection. Specifically the warning reported is:

      M P UPM_UNCALLED_PRIVATE_METHOD UPM: Private method org.apache.ignite.internal.pagememory.freelist.AbstractFreeList.initReusedPage(Storable, long, IoStatisticsHolder) is never called  At AbstractFreeList.java:[lines 707-726]
      

      Method `initReusedPage` is never called which can be an indicator of an issue.

      Investigate whenever this is a false-positive and we should suppress it, or we should 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: