Skip to content

Commit

Permalink
optimize: remove excess empty string judgment
Browse files Browse the repository at this point in the history
  • Loading branch information
imalasong committed Sep 5, 2024
1 parent 494f868 commit 2e07915
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public String toString() {
*
*/
public boolean parse(final String s) {
if (StringUtils.isEmpty(s) || StringUtils.isBlank(s)) {
if (StringUtils.isBlank(s)) {
return false;
}

Expand Down

0 comments on commit 2e07915

Please sign in to comment.