Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-365

javadoc is wrong for setLast in LedgerHandle

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.2.0
    • 3.2.0
    • contrib-bookkeeper
    • None
    • Reviewed

    Description

      Note: the javadoc is wrong here:

      /**

      • Returns the last entry identifier submitted and increments it.
      • @return long
        */
        long setLast(long last){

      also would be great to have javadoc for the legerrecoverymonitor getNextHint method. I was reviewing this code and it would have been helpful to know what to expect of this method. (possible return values, etc...)

      Attachments

        1. ZOOKEEPER-365.patch
          1 kB
          Flavio Paiva Junqueira

        Issue Links

          Activity

            People

              fpj Flavio Paiva Junqueira
              phunt Patrick D. Hunt
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: