accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Havanki (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ACCUMULO-2021) Replace ArgumentChecker with Guava's Preconditions
Date Fri, 07 Feb 2014 16:34:20 GMT

     [ https://issues.apache.org/jira/browse/ACCUMULO-2021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Bill Havanki resolved ACCUMULO-2021.
------------------------------------

    Resolution: Fixed

> Replace ArgumentChecker with Guava's Preconditions
> --------------------------------------------------
>
>                 Key: ACCUMULO-2021
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2021
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: client
>            Reporter: Josh Elser
>            Assignee: Bill Havanki
>             Fix For: 1.7.0
>
>
> 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. 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message