Fix code format

This commit is contained in:
Glavo
2021-12-18 11:15:10 +08:00
committed by Yuhui Huang
parent 9a66605616
commit 4b258da0a0
2 changed files with 2 additions and 2 deletions

View File

@@ -43,4 +43,4 @@ task patchBeta9Jar(type: Jar) {
tasks.jar { tasks.jar {
enabled = false enabled = false
dependsOn patchJar, patchBeta9Jar dependsOn patchJar, patchBeta9Jar
} }

View File

@@ -65,7 +65,7 @@ public class Interpolator implements StrLookup {
lookups.put("sys", new SystemPropertiesLookup()); lookups.put("sys", new SystemPropertiesLookup());
lookups.put("env", new EnvironmentLookup()); lookups.put("env", new EnvironmentLookup());
// lookups.put("jndi", new JndiLookup()); // lookups.put("jndi", new JndiLookup());
LOGGER.warn("log4j-patch works, JNDI lookup is disabled."); LOGGER.warn("log4j-patch works, JNDI lookup is disabled");
try { try {
if (Class.forName("javax.servlet.ServletContext") != null) { if (Class.forName("javax.servlet.ServletContext") != null) {