Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-2021

Replace ArgumentChecker with Guava's Preconditions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.7.0
    • client
    • None

    Description

      ArgumentChecker has some convenience methods to perform validation on variables provided to methods to ensure that they meet certain requirements. ArgumentChecker works in that regard, but lacks some helpfulness like allowing the caller to provide an error message.

      Guava's Preconditions class has a wide variety of methods that perform the same functionality and already have the error message support built in.

      Attachments

        Issue Links

          Activity

            People

              bhavanki Bill Havanki
              elserj Josh Elser
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: