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

          Bill Havanki made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Bill Havanki made changes -
          Remote Link This issue links to "Review 1 (Web Link)" [ 14044 ]
          Bill Havanki made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Bill Havanki made changes -
          Field Original Value New Value
          Assignee Bill Havanki [ bhavanki ]
          Josh Elser created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development