< prev index next >

src/java.base/share/classes/java/nio/file/TempFileHelper.java

Print this page

        

@@ -44,11 +44,11 @@
 class TempFileHelper {
     private TempFileHelper() { }
 
     // temporary directory location
     private static final Path tmpdir =
-        Paths.get(GetPropertyAction.privilegedGetProperty("java.io.tmpdir"));
+        Path.get(GetPropertyAction.privilegedGetProperty("java.io.tmpdir"));
 
     private static final boolean isPosix =
         FileSystems.getDefault().supportedFileAttributeViews().contains("posix");
 
     // file name generation, same as java.io.File for now
< prev index next >