Add 0-arg ctor. Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/52656803 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/52656803 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/52656803
Branch: refs/heads/LOG4J2-1349-gcfree-threadcontext Commit: 526568039bf6accb9a0f79948a70ffee0a4bfda2 Parents: 8f5ac53 Author: ggregory <ggreg...@apache.org> Authored: Fri Sep 2 13:32:35 2016 -0700 Committer: ggregory <ggreg...@apache.org> Committed: Fri Sep 2 13:32:35 2016 -0700 ---------------------------------------------------------------------- .../org/apache/logging/log4j/junit/LoggerContextRule.java | 7 +++++++ 1 file changed, 7 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/52656803/log4j-core/src/test/java/org/apache/logging/log4j/junit/LoggerContextRule.java ---------------------------------------------------------------------- diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/junit/LoggerContextRule.java b/log4j-core/src/test/java/org/apache/logging/log4j/junit/LoggerContextRule.java index b3ec1e0..032254e 100644 --- a/log4j-core/src/test/java/org/apache/logging/log4j/junit/LoggerContextRule.java +++ b/log4j-core/src/test/java/org/apache/logging/log4j/junit/LoggerContextRule.java @@ -57,6 +57,13 @@ public class LoggerContextRule implements TestRule { private TimeUnit shutdownTimeUnit; /** + * Constructs a new LoggerContextRule without a configuration file. + */ + public LoggerContextRule() { + this(null, null); + } + + /** * Constructs a new LoggerContextRule for a given configuration file. * * @param configLocation