From 827f5c93df63d6b2300d2a87729c0911b4fc14f1 Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Tue, 5 Jul 2022 10:12:57 -0400 Subject: [PATCH] Remove useless inline comments --- src/main/java/org/apache/commons/lang3/SystemUtils.java | 3 --- src/main/java/org/apache/commons/lang3/Validate.java | 6 ------ .../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"); - // ----------------------------------------------------------------------- /** *

* Is {@code true} if this is Windows Vista. @@ -1751,7 +1750,6 @@ public class SystemUtils { return isOSNameMatch(OS_NAME, osNamePrefix); } - // ----------------------------------------------------------------------- /** *

* Gets a System property, defaulting to {@code null} if the property cannot be read. @@ -1957,7 +1955,6 @@ public class SystemUtils { return true; } - // ----------------------------------------------------------------------- /** *

* 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 - //--------------------------------------------------------------------------------- - /** *

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 - //--------------------------------------------------------------------------------- - /** *

Validate that the specified argument object fall between the two * exclusive values specified; otherwise, throws an exception.

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. *