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
@@ -2070,7 +2070,7 @@ public static String getHostName() {
2070
2070
/**
2071
2071
* Gets the current Java home directory as a {@link File}.
2072
2072
*
2073
-
* @return a directory
2073
+
* @return a directory.
2074
2074
* @throws SecurityException if a security manager exists and its {@code checkPropertyAccess} method doesn't allow access to the specified system property.
2075
2075
* @see SystemProperties#getJavaHome()
2076
2076
* @since 2.1
@@ -2082,7 +2082,7 @@ public static File getJavaHome() {
2082
2082
/**
2083
2083
* Gets the current Java home directory as a {@link File}.
2084
2084
*
2085
-
* @return a directory
2085
+
* @return a directory.
2086
2086
* @throws SecurityException if a security manager exists and its {@code checkPropertyAccess} method doesn't allow access to the specified system property.
2087
2087
* @see SystemProperties#getJavaHome()
2088
2088
* @since 3.18.0
@@ -2094,7 +2094,7 @@ public static Path getJavaHomePath() {
2094
2094
/**
2095
2095
* Gets the current Java IO temporary directory as a {@link File}.
2096
2096
*
2097
-
* @return a directory
2097
+
* @return a directory.
2098
2098
* @throws SecurityException if a security manager exists and its {@code checkPropertyAccess} method doesn't allow access to the specified system property.
2099
2099
* @see SystemProperties#getJavaIoTmpdir()
2100
2100
* @since 2.1
@@ -2106,7 +2106,7 @@ public static File getJavaIoTmpDir() {
2106
2106
/**
2107
2107
* Gets the current Java IO temporary directory as a {@link Path}.
2108
2108
*
2109
-
* @return a directory
2109
+
* @return a directory.
2110
2110
* @throws SecurityException if a security manager exists and its {@code checkPropertyAccess} method doesn't allow access to the specified system property.
2111
2111
* @see SystemProperties#getJavaIoTmpdir()
2112
2112
* @since 3.18.0
@@ -2121,8 +2121,8 @@ public static Path getJavaIoTmpDirPath() {
2121
2121
* The result depends on the value of the {@link #JAVA_SPECIFICATION_VERSION} constant.
2122
2122
* </p>
2123
2123
*
2124
-
* @param versionPrefix the prefix for the Java version
2125
-
* @return true if matches, or false if not or can't determine
2124
+
* @param versionPrefix the prefix for the Java version.
2125
+
* @return true if matches, or false if not or can't determine.
* The result is based on the system property {@value SystemProperties#USER_DIR}.
2168
2168
* </p>
2169
2169
*
2170
-
* @return a directory
2170
+
* @return a directory.
2171
2171
* @throws SecurityException if a security manager exists and its {@code checkPropertyAccess} method doesn't allow access to the specified system property.
2172
2172
* @see SystemProperties#getUserDir()
2173
2173
* @since 2.1
@@ -2182,7 +2182,7 @@ public static File getUserDir() {
2182
2182
* The result is based on the system property {@value SystemProperties#USER_DIR}.
2183
2183
* </p>
2184
2184
*
2185
-
* @return a directory
2185
+
* @return a directory.
2186
2186
* @throws SecurityException if a security manager exists and its {@code checkPropertyAccess} method doesn't allow access to the specified system property.
2187
2187
* @see SystemProperties#getUserDir()
2188
2188
* @since 3.18.0
@@ -2197,7 +2197,7 @@ public static Path getUserDirPath() {
2197
2197
* The result is based on the system property {@value SystemProperties#USER_HOME}.
2198
2198
* </p>
2199
2199
*
2200
-
* @return a directory
2200
+
* @return a directory.
2201
2201
* @throws SecurityException if a security manager exists and its {@code checkPropertyAccess} method doesn't allow access to the specified system property.
2202
2202
* @see SystemProperties#getUserHome()
2203
2203
* @since 2.1
@@ -2212,7 +2212,7 @@ public static File getUserHome() {
2212
2212
* The result is based on the system property {@value SystemProperties#USER_HOME}.
2213
2213
* </p>
2214
2214
*
2215
-
* @return a directory
2215
+
* @return a directory.
2216
2216
* @throws SecurityException if a security manager exists and its {@code checkPropertyAccess} method doesn't allow access to the specified system property.
2217
2217
* @see SystemProperties#getUserHome()
2218
2218
* @since 3.18.0
@@ -2227,7 +2227,7 @@ public static Path getUserHomePath() {
2227
2227
* The result is based on the system property {@value SystemProperties#USER_NAME}.
2228
2228
* </p>
2229
2229
*
2230
-
* @return a name
2230
+
* @return a name.
2231
2231
* @throws SecurityException if a security manager exists and its {@code checkPropertyAccess} method doesn't allow access to the specified system property.
2232
2232
* @see SystemProperties#getUserName()
2233
2233
* @since 3.10
@@ -2245,7 +2245,7 @@ public static String getUserName() {
2245
2245
* </p>
2246
2246
*
2247
2247
* @param defaultValue A default value.
2248
-
* @return a name
2248
+
* @return a name.
2249
2249
* @throws SecurityException if a security manager exists and its {@code checkPropertyAccess} method doesn't allow access to the specified system property.
2250
2250
* @see SystemProperties#getUserName()
2251
2251
* @since 3.10
@@ -2277,8 +2277,8 @@ public static boolean isJavaAwtHeadless() {
2277
2277
* The result is based on the system property saved in {@link #JAVA_SPECIFICATION_VERSION}.
2278
2278
* </p>
2279
2279
*
2280
-
* @param requiredVersion the required version, for example 1.31f
2281
-
* @return {@code true} if the actual version is equal or greater than the required version
2280
+
* @param requiredVersion the required version, for example 1.31f.
2281
+
* @return {@code true} if the actual version is equal or greater than the required version.
0 commit comments