Github user vdiravka commented on a diff in the pull request:

    https://github.com/apache/drill/pull/520#discussion_r99830247
  
    --- Diff: 
exec/java-exec/src/main/java/org/apache/drill/exec/server/options/TypeValidators.java
 ---
    @@ -204,10 +204,11 @@ public void validate(final OptionValue v, final 
OptionManager manager) {
        * Validator that checks if the given value is included in a list of 
acceptable values. Case insensitive.
        */
       public static class EnumeratedStringValidator extends StringValidator {
    -    private final Set<String> valuesSet = new HashSet<>();
    +    private final Set<String> valuesSet = new LinkedHashSet<>();
    --- End diff --
    
    To show default value first. For example in the output of exception 
(TypeValidators.java[#L221](https://github.com/apache/drill/blob/db48298920575cb1c2283e03bdfc7b50e83ae217/exec/java-exec/src/main/java/org/apache/drill/exec/server/options/TypeValidators.java#L221)).
    Also I'll replace it with guava one.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to