Github user paul-rogers commented on a diff in the pull request:
https://github.com/apache/drill/pull/574#discussion_r77403860
--- Diff:
exec/java-exec/src/main/java/org/apache/drill/exec/server/options/TypeValidators.java
---
@@ -141,25 +141,41 @@ public void validate(final OptionValue v, final
OptionManager manager) {
public static class BooleanValidator extends TypeValidator {
public BooleanValidator(String name, boolean def) {
- super(name, Kind.BOOLEAN,
OptionValue.createBoolean(OptionType.SYSTEM, name, def));
+ this(name, def, false);
+ }
+
+ public BooleanValidator(String name, boolean def, boolean
isAdminOption) {
--- End diff --
Must be auto-generated code... Perhaps change "isAdminOption" to just
"option" as a Boolean validator would seem to want to work with any boolean
option...
---
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 [email protected] or file a JIRA ticket
with INFRA.
---