From 2229ef8bdd02110f363a8b359e4baeaf55f1cba1 Mon Sep 17 00:00:00 2001 From: Mark Fisher Date: Wed, 14 Apr 2010 01:28:47 +0000 Subject: [PATCH] using File constructor that accepts parent directory --- .../integration/file/FileOutboundGatewayIntegrationTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.springframework.integration.file/src/test/java/org/springframework/integration/file/FileOutboundGatewayIntegrationTests.java b/org.springframework.integration.file/src/test/java/org/springframework/integration/file/FileOutboundGatewayIntegrationTests.java index 5de2cfd2a9..7bde946158 100644 --- a/org.springframework.integration.file/src/test/java/org/springframework/integration/file/FileOutboundGatewayIntegrationTests.java +++ b/org.springframework.integration.file/src/test/java/org/springframework/integration/file/FileOutboundGatewayIntegrationTests.java @@ -81,7 +81,7 @@ public class FileOutboundGatewayIntegrationTests { @BeforeClass public static void setupClass() { - workDir = new File(System.getProperty("java.io.tmpdir") + File.separator + "anyDir"); + workDir = new File(System.getProperty("java.io.tmpdir"), "anyDir"); workDir.mkdir(); workDir.deleteOnExit(); }