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)