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(); }