You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2022/07/05 14:26:07 UTC
[commons-lang] 07/09: Remove useless inline comments
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git
commit 827f5c93df63d6b2300d2a87729c0911b4fc14f1
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Jul 5 10:12:57 2022 -0400
Remove useless inline comments
---
src/main/java/org/apache/commons/lang3/SystemUtils.java | 3 ---
src/main/java/org/apache/commons/lang3/Validate.java | 6 ------
.../org/apache/commons/lang3/exception/CloneFailedException.java | 3 ---
3 files changed, 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.
*