You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rg...@apache.org on 2016/04/26 06:31:21 UTC
[25/34] logging-log4j2 git commit: Useful toString().
Useful toString().
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/bb534792
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/bb534792
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/bb534792
Branch: refs/heads/LOG4j2-494
Commit: bb534792de01003c8344a39e9f6f07b1517980bf
Parents: 67070d3
Author: ggregory <gg...@apache.org>
Authored: Thu Apr 21 23:09:15 2016 -0700
Committer: Ralph Goers <rg...@nextiva.com>
Committed: Mon Apr 25 21:30:30 2016 -0700
----------------------------------------------------------------------
.../java/org/apache/logging/log4j/junit/CleanFiles.java | 9 +++++++++
1 file changed, 9 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/bb534792/log4j-core/src/test/java/org/apache/logging/log4j/junit/CleanFiles.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/junit/CleanFiles.java b/log4j-core/src/test/java/org/apache/logging/log4j/junit/CleanFiles.java
index 6c0ac76..00615b8 100644
--- a/log4j-core/src/test/java/org/apache/logging/log4j/junit/CleanFiles.java
+++ b/log4j-core/src/test/java/org/apache/logging/log4j/junit/CleanFiles.java
@@ -67,4 +67,13 @@ public class CleanFiles extends ExternalResource {
protected void after() {
this.clean();
}
+
+ @Override
+ public String toString() {
+ StringBuilder builder = new StringBuilder();
+ builder.append("CleanFiles [");
+ builder.append(files);
+ builder.append("]");
+ return builder.toString();
+ }
}