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

        perry Perry Krug created issue -
        perry Perry Krug made changes -
        Field Original Value New Value
        Component/s library [ 10140 ]
        daschl Michael Nitschinger made changes -
        Component/s docs [ 10141 ]
        daschl Michael Nitschinger made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        daschl Michael Nitschinger made changes -
        Fix Version/s 1.1.3 [ 10496 ]
        daschl Michael Nitschinger made changes -
        Planned Start (set to new fixed version's start date)
        Planned End (set to new fixed version's start date)
        daschl Michael Nitschinger made changes -
        Priority Major [ 3 ] Blocker [ 1 ]
        daschl Michael Nitschinger made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        ingenthr Matt Ingenthron made changes -
        Workflow jira [ 24499 ] Couchbase SDK Workflow [ 38525 ]

          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