accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACCUMULO-3956) Improve validation of configuration and arguments with guava Predicates
Date Fri, 07 Aug 2015 23:13:46 GMT
Christopher Tubbs created ACCUMULO-3956:
-------------------------------------------

             Summary: Improve validation of configuration and arguments with guava Predicates
                 Key: ACCUMULO-3956
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3956
             Project: Accumulo
          Issue Type: Improvement
            Reporter: Christopher Tubbs
            Assignee: Christopher Tubbs
             Fix For: 1.8.0


There's a few places in our code which could benefit from additional validation of arguments
and configuration by using the built-in Guava Predicates. This makes some checks that we're
doing a bit more readable, and enables us to do more expressive validation checks.

Specifically, I see room for improvement in our {{PropertyType}} validators (which currently
do very limited regex validation) and, to a lesser degree, {{o.a.a.core.util.Validator}}.

I intend to replace these with proper Predicates to determine their validity.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message