Repository: logging-log4j2 Updated Branches: refs/heads/master f21ec386f -> 67403ff30
Simplify. Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/67403ff3 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/67403ff3 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/67403ff3 Branch: refs/heads/master Commit: 67403ff301ddd46921594eb7143a4fcd233a4524 Parents: f21ec38 Author: Gary Gregory <[email protected]> Authored: Thu Jun 23 19:56:13 2016 -0700 Committer: Gary Gregory <[email protected]> Committed: Thu Jun 23 19:56:13 2016 -0700 ---------------------------------------------------------------------- .../src/test/java/org/apache/logging/log4j/junit/CleanFolders.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/67403ff3/log4j-core/src/test/java/org/apache/logging/log4j/junit/CleanFolders.java ---------------------------------------------------------------------- diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/junit/CleanFolders.java b/log4j-core/src/test/java/org/apache/logging/log4j/junit/CleanFolders.java index 65ad8eb..4ae6fd3 100644 --- a/log4j-core/src/test/java/org/apache/logging/log4j/junit/CleanFolders.java +++ b/log4j-core/src/test/java/org/apache/logging/log4j/junit/CleanFolders.java @@ -61,7 +61,7 @@ public class CleanFolders extends ExternalResource { fileName = path.toFile().getName(); Files.deleteIfExists(path); } - Files.delete(targetPath); + Files.deleteIfExists(targetPath); } catch (final IOException e) { throw new IllegalStateException(fileName, e); }
