Skip to content

Commit

Permalink
uncapitalize LOG_ENABLED
Browse files Browse the repository at this point in the history
  • Loading branch information
nbauernfeind committed Jan 29, 2024
1 parent c8e47eb commit f976231
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public class QueryCompiler {
private static final long CODEGEN_LOOP_DELAY_MS =
Configuration.getInstance().getLongWithDefault(CODEGEN_LOOP_DELAY_PROP, CODEGEN_LOOP_DELAY_MS_DEFAULT);

private static boolean LOG_ENABLED = Configuration.getInstance().getBoolean("QueryCompiler.logEnabledDefault");
private static boolean logEnabled = Configuration.getInstance().getBoolean("QueryCompiler.logEnabledDefault");

public static final String FORMULA_PREFIX = "io.deephaven.temp";
public static final String DYNAMIC_GROOVY_CLASS_PREFIX = "io.deephaven.dynamic";
Expand Down Expand Up @@ -133,8 +133,8 @@ private QueryCompiler(
* @return The value of {@code logEnabled} before calling this method.
*/
public static boolean setLogEnabled(boolean logEnabled) {
boolean original = QueryCompiler.LOG_ENABLED;
QueryCompiler.LOG_ENABLED = logEnabled;
boolean original = QueryCompiler.logEnabled;
QueryCompiler.logEnabled = logEnabled;
return original;
}

Expand Down Expand Up @@ -754,7 +754,7 @@ private CreateClassHelperRequest(

finalCode = makeFinalCode(className, code, packageName);

if (LOG_ENABLED) {
if (logEnabled) {
log.info().append("Generating code ").append(finalCode).endl();
}

Expand Down

0 comments on commit f976231

Please sign in to comment.