Skip to content

Commit 5ae8135

Browse files
committed
Mark 2 public static variables as deprecated as they are not used.
1 parent bc3bd83 commit 5ae8135

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/main/java/org/owasp/esapi/waf/configuration/AppGuardianConfiguration.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,25 @@ public class AppGuardianConfiguration {
4646
public static final int OPERATOR_IN_LIST = 2;
4747
public static final int OPERATOR_EXISTS = 3;
4848

49+
//// TODO - Delete these comments and the next 2 declarations on log4j clean-up.
4950
/*
5051
* We have static copies of the log settings so that the Rule objects
5152
* can access them, because they don't have access to the instance of
5253
* the configuration object.
5354
*/
55+
/**
56+
* @deprecated This {@code LOG_LEVEL} has never actually been used
57+
* internally and this will be deleted when we remove all Log4J 1.x
58+
* references.
59+
*/
60+
@Deprecated
5461
public static Level LOG_LEVEL = Level.INFO;
62+
/**
63+
* @deprecated This {@code LOG_DIRECTORY} has never actually been used
64+
* internally and this will be deleted when we remove all Log4J 1.x
65+
* references.
66+
*/
67+
@Deprecated
5568
public static String LOG_DIRECTORY = "/WEB-INF/logs";
5669

5770
/*

0 commit comments

Comments
 (0)