This is an automated email from the ASF dual-hosted git repository.
delei pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fesod.git
The following commit(s) were added to refs/heads/main by this push:
new 7deb60c8 refactor: remove incorrect @since tags (#754)
7deb60c8 is described below
commit 7deb60c8a1f53b953efce7a4b18e2a9b9ff6c21d
Author: 蹦蹦巴拉巴拉蹦 <[email protected]>
AuthorDate: Wed Dec 24 23:36:43 2025 +0800
refactor: remove incorrect @since tags (#754)
Co-authored-by: DeleiGuo <[email protected]>
---
.../src/main/java/org/apache/fesod/common/util/BooleanUtils.java | 4 ----
.../src/main/java/org/apache/fesod/common/util/IntUtils.java | 2 --
.../src/main/java/org/apache/fesod/common/util/MapUtils.java | 1 -
.../src/main/java/org/apache/fesod/common/util/StringUtils.java | 5 -----
4 files changed, 12 deletions(-)
diff --git
a/fesod-common/src/main/java/org/apache/fesod/common/util/BooleanUtils.java
b/fesod-common/src/main/java/org/apache/fesod/common/util/BooleanUtils.java
index 4bd02dcb..f95f9838 100644
--- a/fesod-common/src/main/java/org/apache/fesod/common/util/BooleanUtils.java
+++ b/fesod-common/src/main/java/org/apache/fesod/common/util/BooleanUtils.java
@@ -54,7 +54,6 @@ public class BooleanUtils {
*
* @param bool the boolean to check, null returns {@code false}
* @return {@code true} only if the input is non-null and true
- * @since 2.1
*/
public static boolean isTrue(final Boolean bool) {
return Boolean.TRUE.equals(bool);
@@ -72,7 +71,6 @@ public class BooleanUtils {
*
* @param bool the boolean to check, null returns {@code true}
* @return {@code true} if the input is null or false
- * @since 2.3
*/
public static boolean isNotTrue(final Boolean bool) {
return !isTrue(bool);
@@ -90,7 +88,6 @@ public class BooleanUtils {
*
* @param bool the boolean to check, null returns {@code false}
* @return {@code true} only if the input is non-null and false
- * @since 2.1
*/
public static boolean isFalse(final Boolean bool) {
return Boolean.FALSE.equals(bool);
@@ -108,7 +105,6 @@ public class BooleanUtils {
*
* @param bool the boolean to check, null returns {@code true}
* @return {@code true} if the input is null or true
- * @since 2.3
*/
public static boolean isNotFalse(final Boolean bool) {
return !isFalse(bool);
diff --git
a/fesod-common/src/main/java/org/apache/fesod/common/util/IntUtils.java
b/fesod-common/src/main/java/org/apache/fesod/common/util/IntUtils.java
index 8df719d4..2af1b40a 100644
--- a/fesod-common/src/main/java/org/apache/fesod/common/util/IntUtils.java
+++ b/fesod-common/src/main/java/org/apache/fesod/common/util/IntUtils.java
@@ -29,8 +29,6 @@ public class IntUtils {
/**
* The largest power of two that can be represented as an {@code int}.
- *
- * @since 10.0
*/
public static final int MAX_POWER_OF_TWO = 1 << (Integer.SIZE - 2);
diff --git
a/fesod-common/src/main/java/org/apache/fesod/common/util/MapUtils.java
b/fesod-common/src/main/java/org/apache/fesod/common/util/MapUtils.java
index 1f1bfc23..bf8d571e 100644
--- a/fesod-common/src/main/java/org/apache/fesod/common/util/MapUtils.java
+++ b/fesod-common/src/main/java/org/apache/fesod/common/util/MapUtils.java
@@ -100,7 +100,6 @@ public class MapUtils {
* @return a new, empty {@code LinkedHashMap} with enough capacity to hold
{@code expectedSize}
* entries without resizing
* @throws IllegalArgumentException if {@code expectedSize} is negative
- * @since 19.0
*/
public static <K, V> LinkedHashMap<K, V>
newLinkedHashMapWithExpectedSize(int expectedSize) {
return new LinkedHashMap<>(capacity(expectedSize));
diff --git
a/fesod-common/src/main/java/org/apache/fesod/common/util/StringUtils.java
b/fesod-common/src/main/java/org/apache/fesod/common/util/StringUtils.java
index 65b80f91..cd9cd8a4 100644
--- a/fesod-common/src/main/java/org/apache/fesod/common/util/StringUtils.java
+++ b/fesod-common/src/main/java/org/apache/fesod/common/util/StringUtils.java
@@ -99,8 +99,6 @@ public class StringUtils {
* @param cs the CharSequence to check, may be null
* @return {@code true} if the CharSequence is
* not empty and not null and not whitespace only
- * @since 2.0
- * @since 3.0 Changed signature from isNotBlank(String) to
isNotBlank(CharSequence)
*/
public static boolean isNotBlank(final CharSequence cs) {
return !isBlank(cs);
@@ -125,7 +123,6 @@ public class StringUtils {
* @param cs2 the second CharSequence, may be {@code null}
* @return {@code true} if the CharSequences are equal (case-sensitive),
or both {@code null}
* @see Object#equals(Object)
- * @since 3.0 Changed signature from equals(String, String) to
equals(CharSequence, CharSequence)
*/
public static boolean equals(final CharSequence cs1, final CharSequence
cs2) {
if (cs1 == cs2) {
@@ -232,8 +229,6 @@ public class StringUtils {
*
* @param cs the CharSequence to check, may be null
* @return {@code true} if only contains digits, and is non-null
- * @since 3.0 Changed signature from isNumeric(String) to
isNumeric(CharSequence)
- * @since 3.0 Changed "" to return false and not true
*/
public static boolean isNumeric(final CharSequence cs) {
if (isEmpty(cs)) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]