Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-292

Use Guava preconditions instead of asserts to enforce contract

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.5
    • core
    • None

    Description

      Assertions shouldn't be used to enforce a contract. See discussion:
      http://jackrabbit.markmail.org/thread/ji6ojjt6z3ztym2y

      Attachments

        1. OAK-292.patch
          22 kB
          Marcel Reutegger

        Activity

          People

            mreutegg Marcel Reutegger
            mreutegg Marcel Reutegger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: