Skip to content

Commit 7deb60c

Browse files
refactor: remove incorrect @SInCE tags (#754)
Co-authored-by: DeleiGuo <[email protected]>
1 parent 774c681 commit 7deb60c

File tree

4 files changed

+0
-12
lines changed

4 files changed

+0
-12
lines changed

fesod-common/src/main/java/org/apache/fesod/common/util/BooleanUtils.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ public static Boolean valueOf(String str) {
5454
*
5555
* @param bool the boolean to check, null returns {@code false}
5656
* @return {@code true} only if the input is non-null and true
57-
* @since 2.1
5857
*/
5958
public static boolean isTrue(final Boolean bool) {
6059
return Boolean.TRUE.equals(bool);
@@ -72,7 +71,6 @@ public static boolean isTrue(final Boolean bool) {
7271
*
7372
* @param bool the boolean to check, null returns {@code true}
7473
* @return {@code true} if the input is null or false
75-
* @since 2.3
7674
*/
7775
public static boolean isNotTrue(final Boolean bool) {
7876
return !isTrue(bool);
@@ -90,7 +88,6 @@ public static boolean isNotTrue(final Boolean bool) {
9088
*
9189
* @param bool the boolean to check, null returns {@code false}
9290
* @return {@code true} only if the input is non-null and false
93-
* @since 2.1
9491
*/
9592
public static boolean isFalse(final Boolean bool) {
9693
return Boolean.FALSE.equals(bool);
@@ -108,7 +105,6 @@ public static boolean isFalse(final Boolean bool) {
108105
*
109106
* @param bool the boolean to check, null returns {@code true}
110107
* @return {@code true} if the input is null or true
111-
* @since 2.3
112108
*/
113109
public static boolean isNotFalse(final Boolean bool) {
114110
return !isFalse(bool);

fesod-common/src/main/java/org/apache/fesod/common/util/IntUtils.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ private IntUtils() {}
2929

3030
/**
3131
* The largest power of two that can be represented as an {@code int}.
32-
*
33-
* @since 10.0
3432
*/
3533
public static final int MAX_POWER_OF_TWO = 1 << (Integer.SIZE - 2);
3634

fesod-common/src/main/java/org/apache/fesod/common/util/MapUtils.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ public static <K, V> LinkedHashMap<K, V> newLinkedHashMap() {
100100
* @return a new, empty {@code LinkedHashMap} with enough capacity to hold {@code expectedSize}
101101
* entries without resizing
102102
* @throws IllegalArgumentException if {@code expectedSize} is negative
103-
* @since 19.0
104103
*/
105104
public static <K, V> LinkedHashMap<K, V> newLinkedHashMapWithExpectedSize(int expectedSize) {
106105
return new LinkedHashMap<>(capacity(expectedSize));

fesod-common/src/main/java/org/apache/fesod/common/util/StringUtils.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,6 @@ public static boolean isBlank(final CharSequence cs) {
9999
* @param cs the CharSequence to check, may be null
100100
* @return {@code true} if the CharSequence is
101101
* not empty and not null and not whitespace only
102-
* @since 2.0
103-
* @since 3.0 Changed signature from isNotBlank(String) to isNotBlank(CharSequence)
104102
*/
105103
public static boolean isNotBlank(final CharSequence cs) {
106104
return !isBlank(cs);
@@ -125,7 +123,6 @@ public static boolean isNotBlank(final CharSequence cs) {
125123
* @param cs2 the second CharSequence, may be {@code null}
126124
* @return {@code true} if the CharSequences are equal (case-sensitive), or both {@code null}
127125
* @see Object#equals(Object)
128-
* @since 3.0 Changed signature from equals(String, String) to equals(CharSequence, CharSequence)
129126
*/
130127
public static boolean equals(final CharSequence cs1, final CharSequence cs2) {
131128
if (cs1 == cs2) {
@@ -232,8 +229,6 @@ public static boolean regionMatches(
232229
*
233230
* @param cs the CharSequence to check, may be null
234231
* @return {@code true} if only contains digits, and is non-null
235-
* @since 3.0 Changed signature from isNumeric(String) to isNumeric(CharSequence)
236-
* @since 3.0 Changed "" to return false and not true
237232
*/
238233
public static boolean isNumeric(final CharSequence cs) {
239234
if (isEmpty(cs)) {

0 commit comments

Comments
 (0)