Uploaded image for project: 'Apache Curator'
  1. Apache Curator
  2. CURATOR-480

org.apache.curator.x.async.modeled.details.ModeledFrameworkImpl.delete(int) is not using version parameter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.1.0
    • None
    • None

    Description

      org.apache.curator.x.async.modeled.details.ModeledFrameworkImpl.delete(int) is defined as:
      public AsyncStage<Void> delete(int version)

      { return dslClient.delete().withVersion(-1).forPath(modelSpec.path().fullPath()); }

      Shouldn't the -1 be "version"?

      Attachments

        Issue Links

          Activity

            People

              randgalt Jordan Zimmerman
              HendrikH Hendrik Haddorp
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: