Uploaded image for project: 'Couchbase Java Client'
  1. Couchbase Java Client
  2. JCBC-55

client.replace docs do not agree with codebase

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1dp
    • Fix Version/s: 1.1-dp3
    • Component/s: Documentation
    • Security Level: Public
    • Labels:
      None
    • Environment:
      all java

      Description

      http://www.couchbase.com/docs/couchbase-sdk-java-1.1/api-reference-summary.html

      client.replace arguments are key, expiry, object, but are indicated as key, object, expiry

      Not splitting key/value makes more sense as the API will be more consistent in JVM languages that allow default values, e.g. replace(key, object, expiry=0), but the rest of the API uses key, expiry, object order so splitting makes sense to be consistent in the Java version.

      No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

        Hide
        mccouch MC Brown (Inactive) added a comment -

        Fixed and pushed.

        Show
        mccouch MC Brown (Inactive) added a comment - Fixed and pushed.

          People

          • Assignee:
            mccouch MC Brown (Inactive)
            Reporter:
            SteveC Steven Cooke
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes