This is an automated email from the ASF dual-hosted git repository.
garydgregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git
The following commit(s) were added to refs/heads/master by this push:
new 984bf391f Javadoc
984bf391f is described below
commit 984bf391f3454893fdfe035bf73f2dbb247aa4e9
Author: Gary Gregory <[email protected]>
AuthorDate: Sun May 10 10:02:45 2026 -0400
Javadoc
---
.../org/apache/commons/lang3/SystemProperties.java | 24 ++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/src/main/java/org/apache/commons/lang3/SystemProperties.java
b/src/main/java/org/apache/commons/lang3/SystemProperties.java
index b88878ced..a6c2e87f5 100644
--- a/src/main/java/org/apache/commons/lang3/SystemProperties.java
+++ b/src/main/java/org/apache/commons/lang3/SystemProperties.java
@@ -1601,6 +1601,9 @@ public static String getAwtToolkit() {
/**
* Gets the current value for the property named {@code
"SimpleClassName.Key"} as a {@code boolean}.
* <p>
+ * The parsing rules are as {@link Boolean#parseBoolean(String)}.
+ * </p>
+ * <p>
* If a {@link SecurityException} is caught, the return value is {@code
null}.
* </p>
*
@@ -1608,6 +1611,7 @@ public static String getAwtToolkit() {
* @param key The subkey.
* @param defaultIfAbsent The default value.
* @return an int or {@code defaultIfAbsent}'s value.
+ * @see Boolean#parseBoolean(String)
* @see Class#getSimpleName()
* @since 3.19.0
*/
@@ -1618,12 +1622,16 @@ public static boolean getBoolean(final Class<?> clazz,
final String key, final B
/**
* Gets the current value for the property named {@code key} as a {@code
boolean}.
* <p>
+ * The parsing rules are as {@link Boolean#parseBoolean(String)}.
+ * </p>
+ * <p>
* If a {@link SecurityException} is caught, the return value is {@code
null}.
* </p>
*
* @param key The key.
* @param defaultIfAbsent The default value.
* @return a {@code boolean} or {@code defaultIfAbsent}'s value.
+ * @see Boolean#parseBoolean(String)
*/
public static boolean getBoolean(final String key, final BooleanSupplier
defaultIfAbsent) {
final String str = getProperty(key);
@@ -1933,6 +1941,9 @@ public static String getHttpsProxyPort() {
/**
* Gets the current value for the property named {@code
"SimpleClassName.Key"} as an {@code int}.
* <p>
+ * The parsing rules are as {@link Integer#parseInt(String)}.
+ * </p>
+ * <p>
* If a {@link SecurityException} is caught, the return value is {@code
null}.
* </p>
*
@@ -1940,6 +1951,7 @@ public static String getHttpsProxyPort() {
* @param key The subkey.
* @param defaultIfAbsent The default value.
* @return an int or {@code defaultIfAbsent}'s value.
+ * @see Integer#parseInt(String)
* @see Class#getSimpleName()
* @since 3.19.0
*/
@@ -1950,12 +1962,16 @@ public static int getInt(final Class<?> clazz, final
String key, final IntSuppli
/**
* Gets the current value for the property named {@code key} as an {@code
int}.
* <p>
+ * The parsing rules are as {@link Integer#parseInt(String)}.
+ * </p>
+ * <p>
* If a {@link SecurityException} is caught, the return value is {@code
null}.
* </p>
*
* @param key The key.
* @param defaultIfAbsent The default value.
* @return an {@code int} or {@code defaultIfAbsent}'s value.
+ * @see Integer#parseInt(String)
*/
public static int getInt(final String key, final IntSupplier
defaultIfAbsent) {
final String str = getProperty(key);
@@ -3697,6 +3713,9 @@ public static String getLineSeparator(final
Supplier<String> defaultIfAbsent) {
/**
* Gets the current value for the property named {@code
"SimpleClassName.Key"} as a {@code long}.
* <p>
+ * The parsing rules are as {@link Long#parseLong(String)}.
+ * </p>
+ * <p>
* If a {@link SecurityException} is caught, the return value is {@code
null}.
* </p>
*
@@ -3704,6 +3723,7 @@ public static String getLineSeparator(final
Supplier<String> defaultIfAbsent) {
* @param key The subkey.
* @param defaultIfAbsent The default value.
* @return a long or {@code defaultIfAbsent}'s value.
+ * @see Long#parseLong(String)
* @see Class#getSimpleName()
* @since 3.19.0
*/
@@ -3714,12 +3734,16 @@ public static long getLong(final Class<?> clazz, final
String key, final LongSup
/**
* Gets the current value for the property named {@code key} as a {@code
long}.
* <p>
+ * The parsing rules are as {@link Long#parseLong(String)}.
+ * </p>
+ * <p>
* If a {@link SecurityException} is caught, the return value is {@code
null}.
* </p>
*
* @param key The key.
* @param defaultIfAbsent The default value.
* @return a {@code long} or {@code defaultIfAbsent}'s value.
+ * @see Long#parseLong(String)
*/
public static long getLong(final String key, final LongSupplier
defaultIfAbsent) {
final String str = getProperty(key);