You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2016/04/22 08:09:17 UTC

logging-log4j2 git commit: Useful toString().

Repository: logging-log4j2
Updated Branches:
  refs/heads/master 130dfb4ff -> 0ae21bb9c


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/0ae21bb9
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/0ae21bb9
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/0ae21bb9

Branch: refs/heads/master
Commit: 0ae21bb9c65a0e10308e456b43ad4cd8d97b3155
Parents: 130dfb4
Author: ggregory <gg...@apache.org>
Authored: Thu Apr 21 23:09:15 2016 -0700
Committer: ggregory <gg...@apache.org>
Committed: Thu Apr 21 23:09:15 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/0ae21bb9/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();
+    }
 }