Skip to content

Commit dc5e3c7

Browse files
committed
#1363: Remove the isBlank() method (avaliable Java 11 onwards)
1 parent e7421cc commit dc5e3c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qulice-checkstyle/src/main/java/com/qulice/checkstyle/RequiredJavaDocTag.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ private static boolean tagFound(final Matcher matcher) {
158158
* @return True if str is empty.
159159
*/
160160
private static boolean empty(final String str) {
161-
return str == null || str.isBlank();
161+
return str == null || str.chars().allMatch(Character::isWhitespace);
162162
}
163163

164164
/**

0 commit comments

Comments
 (0)