The result of a misunderstanding.
BYPASS_LOG can be deleted by the time we release, and for its temporary purpose, runtime modification is not necessary.
This commit is contained in:
Jesse Glick committed 2014-09-24 15:51:49 -04:00
1 parent 1e40aa5805
commit c5bda70bee
2 files changed
+3 -2

No files matched your search

@@ -50,8 +50,9 @@ public class CallableDirectionChecker extends RoleChecker {
/**
* Test feature that is meant to replace all logging, and log what would have been violations.
* TODO delete before release
*/
public static PrintWriter BYPASS_LOG;
private static final PrintWriter BYPASS_LOG;
static {
String log = System.getProperty(CallableDirectionChecker.class.getName()+".log");
@@ -52,7 +52,7 @@ import org.kohsuke.accmod.restrictions.DoNotUse;
* Escape hatch to disable this check completely.
*/
public static boolean BYPASS = Boolean.getBoolean(DefaultFilePathFilter.class.getName()+".allow");
private static final PrintWriter BYPASS_LOG;
private static final PrintWriter BYPASS_LOG; // TODO delete before release
static {
String log = System.getProperty("jenkins.security.DefaultFilePathFilter.log");
if (log == null) {