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] [Resolved] (ACCUMULO-3956) Improve validation of configuration and arguments with guava Predicates
Date Thu, 13 Aug 2015 23:21:45 GMT

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

Christopher Tubbs resolved ACCUMULO-3956.
-----------------------------------------
    Resolution: Fixed

> 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
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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