You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Gets a {@link File} representing the system temporary directory.
1543
+
* Gets a {@link File} representing the system temporary directory based on the Java system property {@code java.io.tmpdir}.
1544
1544
*
1545
1545
* @return the system temporary directory as a File.
1546
1546
* @since 2.0
@@ -1551,11 +1551,10 @@ public static File getTempDirectory() {
1551
1551
1552
1552
/**
1553
1553
* Gets the path to the system temporary directory.
1554
-
*
1555
-
* WARNING: this method relies on the Java system property 'java.io.tmpdir'
1556
-
* which may or may not have a trailing file separator.
1557
-
* This can affect code that uses String processing to manipulate pathnames rather
1558
-
* than the standard library methods in classes such as {@link File}
1554
+
* <p>
1555
+
* WARNING: This method reads the Java system property {@code java.io.tmpdir}, which may or may not have a trailing file separator. This can affect code
1556
+
* that uses String processing to manipulate pathnames rather than the standard library methods in classes such as {@link File}.
1557
+
* </p>
1559
1558
*
1560
1559
* @return the path to the system temporary directory as a String.
1561
1560
* @since 2.0
@@ -1565,7 +1564,7 @@ public static String getTempDirectoryPath() {
1565
1564
}
1566
1565
1567
1566
/**
1568
-
* Gets a {@link File} representing the user's home directory.
1567
+
* Gets a {@link File} representing the user's home directory based on the Java system property {@code user.home}.
1569
1568
*
1570
1569
* @return the user's home directory.
1571
1570
* @since 2.0
@@ -1575,7 +1574,7 @@ public static File getUserDirectory() {
1575
1574
}
1576
1575
1577
1576
/**
1578
-
* Gets the path to the user's home directory.
1577
+
* Gets the path to the user's home directory based on the Java system property {@code user.home}.
0 commit comments