Skip to content

Commit

Permalink
Compact method
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrbysco committed Sep 9, 2024
1 parent 638f3ae commit a8ad1ef
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@ public void setFocused(boolean focused) {
}

protected boolean isNumeric(String value) {
if (value.equals("."))
return true;
else
return NumberUtils.isParsable(value);
return value.equals(".") || NumberUtils.isParsable(value);
}
}

0 comments on commit a8ad1ef

Please sign in to comment.