accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmil...@apache.org
Subject [accumulo] branch master updated: Make durability propertyType case insensitive (#790)
Date Fri, 30 Nov 2018 20:25:43 GMT
This is an automated email from the ASF dual-hosted git repository.

mmiller pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/accumulo.git


The following commit(s) were added to refs/heads/master by this push:
     new 33b2eab  Make durability propertyType case insensitive (#790)
33b2eab is described below

commit 33b2eab7705112f9eb8f3574e76efabb8f6e5201
Author: Mike Miller <mmiller@apache.org>
AuthorDate: Fri Nov 30 15:25:39 2018 -0500

    Make durability propertyType case insensitive (#790)
    
    * Durability has uppercase values but the PropertyType.isValidFromat check fails if the
    enum is set as a value.
---
 core/src/main/java/org/apache/accumulo/core/conf/PropertyType.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/src/main/java/org/apache/accumulo/core/conf/PropertyType.java b/core/src/main/java/org/apache/accumulo/core/conf/PropertyType.java
index 71a5d06..4c99ff5 100644
--- a/core/src/main/java/org/apache/accumulo/core/conf/PropertyType.java
+++ b/core/src/main/java/org/apache/accumulo/core/conf/PropertyType.java
@@ -116,7 +116,7 @@ public enum PropertyType {
       "A list of fully qualified java class names representing classes on the classpath.\n"
           + "An example is 'java.lang.String', rather than 'String'"),
 
-  DURABILITY("durability", in(true, null, "default", "none", "log", "flush", "sync"),
+  DURABILITY("durability", in(false, null, "default", "none", "log", "flush", "sync"),
       "One of 'none', 'log', 'flush' or 'sync'."),
 
   STRING("string", x -> true,


Mime
View raw message