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

Docs: Javadoc states that a java.lang.String is required for the value in a write operation, whereas online docs state object

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 1.1.3
    • 1.1.2
    • Core
    • Security Level: Public
    • None

    Description

      Java docs here: http://www.couchbase.com/autodocs/couchbase-java-client-1.1.2/

      All set/replace/add/cas operations state something like:
      cas(java.lang.String key, long cas, java.lang.String value, PersistTo req)

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

      State that it's an "Object value"

      Looking deeper, it appears that the memcached methods inherited from spy use java.lang.object which leads to user confusion when trying to compare the two.

      Attachments

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

        Activity

          People

            daschl Michael Nitschinger
            perry Perry Krug
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty