You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jspwiki.apache.org by ju...@apache.org on 2019/10/11 23:35:52 UTC
[jspwiki] branch master updated: separate prefix and suffix on
temporary files
This is an automated email from the ASF dual-hosted git repository.
juanpablo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jspwiki.git
The following commit(s) were added to refs/heads/master by this push:
new 0c8ef00 separate prefix and suffix on temporary files
0c8ef00 is described below
commit 0c8ef00a8d59584bd801bafb8a42dcb64fa88ac8
Author: juanpablo <ju...@apache.org>
AuthorDate: Sat Oct 12 01:35:32 2019 +0200
separate prefix and suffix on temporary files
---
.../java/org/apache/wiki/providers/BasicAttachmentProviderTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jspwiki-main/src/test/java/org/apache/wiki/providers/BasicAttachmentProviderTest.java b/jspwiki-main/src/test/java/org/apache/wiki/providers/BasicAttachmentProviderTest.java
index 79f83e7..4a346a8 100644
--- a/jspwiki-main/src/test/java/org/apache/wiki/providers/BasicAttachmentProviderTest.java
+++ b/jspwiki-main/src/test/java/org/apache/wiki/providers/BasicAttachmentProviderTest.java
@@ -71,7 +71,7 @@ public class BasicAttachmentProviderTest {
}
private File makeAttachmentFile() throws Exception {
- final File tmpFile = File.createTempFile("test","txt");
+ final File tmpFile = File.createTempFile("test-",".txt");
return copyContents( tmpFile );
}