Skip to content

Commit

Permalink
chore: return false when peerId is ""
Browse files Browse the repository at this point in the history
  • Loading branch information
caicancai committed Jun 24, 2024
1 parent b401b94 commit 02721d7
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)) {
if (StringUtils.isEmpty(s) || StringUtils.isBlank(s)) {
return false;
}

Expand Down

0 comments on commit 02721d7

Please sign in to comment.