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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.1.2
    • Fix Version/s: 1.1.3
    • Component/s: Core
    • Security Level: Public
    • Labels:
      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.

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

        Activity

        There are no open Gerrit changes for this issue.

          People

          • Assignee:
            daschl Michael Nitschinger
            Reporter:
            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