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

Replace ArgumentChecker with Guava's Preconditions

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.0
    • Component/s: client
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: