drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jaltekruse <...@git.apache.org>
Subject [GitHub] drill pull request: DRILL-3497: Throw UserException#validationErro...
Date Thu, 03 Sep 2015 15:44:41 GMT
Github user jaltekruse commented on a diff in the pull request:

    --- Diff: exec/java-exec/src/test/java/org/apache/drill/exec/testing/ControlsInjectionUtil.java
    @@ -74,7 +75,7 @@ public static void setControls(final UserSession session, final String
         final OptionManager options = session.getOptions();
         try {
    -      options.getAdmin().validate(opValue);
    +      SystemOptionManager.getValidator(DRILLBIT_CONTROL_INJECTIONS).validate(opValue);
    --- End diff --
    This could just be a reference to the validator itself, as it is also public and static,
rather than looking it up by name.

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 infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message