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

client.replace docs do not agree with codebase

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 1.1-dp3
    • 1.1dp
    • Documentation
    • Security Level: Public
    • None
    • 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.

      Attachments

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

        Activity

          People

            mccouch MC Brown (Inactive)
            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

                PagerDuty