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

Allow persist argument to accept null/zero

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 1.1-dp4
    • 1.1-dp3
    • Core
    • Security Level: Public
    • None

    Description

      This makes it easier for people to turn persistence on/off.

      Either provide a .ZERO constant, or check for those arguments to be null

      i.e.

      ft = cli.set(options.key,
      options.expiry,
      options.value,
      null,
      null);

      Currently this throws an NPE

      Attachments

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

        Activity

          People

            daschl Michael Nitschinger
            mnunberg Mark Nunberg (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty