aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary Gregory <garydgregory@gmail.com>2022-07-05 10:12:57 -0400
committerGary Gregory <garydgregory@gmail.com>2022-07-05 10:12:57 -0400
commit827f5c93df63d6b2300d2a87729c0911b4fc14f1 (patch)
tree397585d72938ef09fb92584129978b774297a533
parent28b11d15e722760fd2f453e45517dce3f5124dec (diff)
downloadapache-commons-lang-827f5c93df63d6b2300d2a87729c0911b4fc14f1.tar.gz
Remove useless inline comments
-rw-r--r--src/main/java/org/apache/commons/lang3/SystemUtils.java3
-rw-r--r--src/main/java/org/apache/commons/lang3/Validate.java6
-rw-r--r--src/main/java/org/apache/commons/lang3/exception/CloneFailedException.java3
3 files changed, 0 insertions, 12 deletions
diff --git a/src/main/java/org/apache/commons/lang3/SystemUtils.java b/src/main/java/org/apache/commons/lang3/SystemUtils.java
index 7ba80be87..4a810cdc0 100644
--- a/src/main/java/org/apache/commons/lang3/SystemUtils.java
+++ b/src/main/java/org/apache/commons/lang3/SystemUtils.java
@@ -1561,7 +1561,6 @@ public class SystemUtils {
*/
public static final boolean IS_OS_WINDOWS_XP = getOsMatchesName(OS_NAME_WINDOWS_PREFIX + " XP");
- // -----------------------------------------------------------------------
/**
* <p>
* Is {@code true} if this is Windows Vista.
@@ -1751,7 +1750,6 @@ public class SystemUtils {
return isOSNameMatch(OS_NAME, osNamePrefix);
}
- // -----------------------------------------------------------------------
/**
* <p>
* Gets a System property, defaulting to {@code null} if the property cannot be read.
@@ -1957,7 +1955,6 @@ public class SystemUtils {
return true;
}
- // -----------------------------------------------------------------------
/**
* <p>
* SystemUtils instances should NOT be constructed in standard programming. Instead, the class should be used as
diff --git a/src/main/java/org/apache/commons/lang3/Validate.java b/src/main/java/org/apache/commons/lang3/Validate.java
index 915c06997..8a5292e7a 100644
--- a/src/main/java/org/apache/commons/lang3/Validate.java
+++ b/src/main/java/org/apache/commons/lang3/Validate.java
@@ -220,9 +220,6 @@ public class Validate {
return Objects.requireNonNull(object, () -> String.format(message, values));
}
- // notEmpty array
- //---------------------------------------------------------------------------------
-
/**
* <p>Validate that the specified argument array is neither {@code null}
* nor a length of zero (no elements); otherwise throwing an exception
@@ -1041,9 +1038,6 @@ public class Validate {
}
}
- // exclusiveBetween
- //---------------------------------------------------------------------------------
-
/**
* <p>Validate that the specified argument object fall between the two
* exclusive values specified; otherwise, throws an exception.</p>
diff --git a/src/main/java/org/apache/commons/lang3/exception/CloneFailedException.java b/src/main/java/org/apache/commons/lang3/exception/CloneFailedException.java
index 5fff98ca2..7a4dcf26b 100644
--- a/src/main/java/org/apache/commons/lang3/exception/CloneFailedException.java
+++ b/src/main/java/org/apache/commons/lang3/exception/CloneFailedException.java
@@ -23,12 +23,9 @@ package org.apache.commons.lang3.exception;
* @since 3.0
*/
public class CloneFailedException extends RuntimeException {
- // ~ Static fields/initializers ---------------------------------------------
private static final long serialVersionUID = 20091223L;
- // ~ Constructors -----------------------------------------------------------
-
/**
* Constructs a CloneFailedException.
*