Uploaded image for project: 'Java Couchbase JVM Core'
  1. Java Couchbase JVM Core
  2. JVMCBC-450

Change ErrorMap.ErrorCode.attributes from List to Set

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 2.0.0-alpha.3
    • None
    • None
    • None

    Description

      Most (all?) usages of the attributes collection are testing whether the collection contains a certain value. It may be a good candidate for switching from a List to a Set, ideally an EnumSet.

      Make sure there aren't any usages where the order of the attributes is significant.

      See if there's an annotation to persuade Jackson to deserialize using an EnumSet as the concrete implementation.

       

      Attachments

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

        Activity

          People

            david.nault David Nault
            david.nault David Nault
            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