accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-2021) Replace ArgumentChecker with Guava's Preconditions
Date Wed, 19 Feb 2014 20:10:24 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-2021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13906001#comment-13906001
] 

ASF subversion and git services commented on ACCUMULO-2021:
-----------------------------------------------------------

Commit dcc19ccbada8c2f0a206ec797455294015e8ca6d in accumulo's branch refs/heads/master from
[~ctubbsii]
[ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=dcc19cc ]

ACCUMULO-1961 Re-apply inadvertently dropped 4abb3f1 to master branch

  Fixes trivial warnings and broken javadocs which have been recently
  introduced. Specifically, removes references to private and
  package-private (default) classes in public javadoc comments (internal
  details aren't relevant to the API and subject to change). Another
  common warning was unused imports and javadoc param tags that refer to
  non-existent parameters.

  Commits against the following JIRA issues introduced these:
  ACCUMULO-1948, ACCUMULO-1974, ACCUMULO-2021, ACCUMULO-2136,
  ACCUMULO-2322, ACCUMULO-2334, ACCUMULO-2350


> 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