Fix code format
This commit is contained in:
@@ -43,4 +43,4 @@ task patchBeta9Jar(type: Jar) {
|
|||||||
tasks.jar {
|
tasks.jar {
|
||||||
enabled = false
|
enabled = false
|
||||||
dependsOn patchJar, patchBeta9Jar
|
dependsOn patchJar, patchBeta9Jar
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user