Accumulo
  1. Accumulo
  2. ACCUMULO-2021

Replace ArgumentChecker with Guava's Preconditions

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major 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.

        Issue Links

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development