-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/23933/
-----------------------------------------------------------
Review request for accumulo and Josh Elser.
Bugs: ACCUMULO-3012
https://issues.apache.org/jira/browse/ACCUMULO-3012
Repository: accumulo
Description
-------
A similar change to the one posted for review #23887, but adapted for
1.5.2-SNAPSHOT at Josh's request. The changes were significant enough that a
separate review is warranted.
* The map of default properties created during the iterator() method each time
is now static and immutable.
* A unit test is added.
* Accompanying changes were made to ConfigSanityCheck:
- The validate method takes in an Iterable of entries instead of a
Configuration.
- Validation failure throws a new CheckException class instead of
RuntimeException.
- A unit test is added.
Diffs
-----
core/src/main/java/org/apache/accumulo/core/conf/ConfigSanityCheck.java
6724670
core/src/main/java/org/apache/accumulo/core/conf/DefaultConfiguration.java
d653274
core/src/test/java/org/apache/accumulo/core/conf/ConfigSanityCheckTest.java
PRE-CREATION
core/src/test/java/org/apache/accumulo/core/conf/DefaultConfigurationTest.java
PRE-CREATION
Diff: https://reviews.apache.org/r/23933/diff/
Testing
-------
Compiles, unit tests pass.
Thanks,
Bill Havanki