You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlgraphics.apache.org by ss...@apache.org on 2025/11/14 11:53:11 UTC
(xmlgraphics-fop) branch main updated: FOP-3284: Correct temp name
This is an automated email from the ASF dual-hosted git repository.
ssteiner pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/xmlgraphics-fop.git
The following commit(s) were added to refs/heads/main by this push:
new f4a2e2a70 FOP-3284: Correct temp name
f4a2e2a70 is described below
commit f4a2e2a700caca33df22ffe6fe62e22d533b9b25
Author: Simon Steiner <ss...@apache.org>
AuthorDate: Fri Nov 14 11:52:58 2025 +0000
FOP-3284: Correct temp name
---
.../src/main/java/org/apache/fop/apps/io/ResourceResolverFactory.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fop-core/src/main/java/org/apache/fop/apps/io/ResourceResolverFactory.java b/fop-core/src/main/java/org/apache/fop/apps/io/ResourceResolverFactory.java
index 3412c36f8..1e87d2b1d 100644
--- a/fop-core/src/main/java/org/apache/fop/apps/io/ResourceResolverFactory.java
+++ b/fop-core/src/main/java/org/apache/fop/apps/io/ResourceResolverFactory.java
@@ -177,7 +177,7 @@ public final class ResourceResolverFactory {
}
private File createTempFile(String path) throws IOException {
- File tempFile = Files.createTempFile(path, ".fop.tmp").toFile();
+ File tempFile = Files.createTempFile(path.replace("/", ""), ".fop.tmp").toFile();
File oldFile = tempFiles.put(path, tempFile);
if (oldFile != null) {
String errorMsg = oldFile.getAbsolutePath() + " has been already created for " + path;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: commits-help@xmlgraphics.apache.org