Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-5683

Database.getDefaultCollection should not be nullable

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Critical
    • Beryllium
    • Beryllium
    • Java, Java-Android
    • Security Level: Public
    • None
    • 2

    Description

      Because the default collection cannot be deleted, Database.getDefaultCollection should either return a valid collection, or throw.

      H/T to Jeff Lockhart for noticing this cross-platform inconsistency and supplying much of the code to fix it.

      Attachments

        Activity

          People

            blake.meike Blake Meike
            blake.meike Blake Meike
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty