Skip to content

Commit

Permalink
[Improve] Optimized the NumberUtils method call. (#4150)
Browse files Browse the repository at this point in the history
  • Loading branch information
Forus0322 authored Dec 20, 2024
1 parent c580711 commit bcc269f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public static Map<String, String> fromArgs(String[] args) {

if (i >= args.length) {
map.put(key, NO_VALUE_KEY);
} else if (NumberUtils.isNumber(args[i])) {
} else if (NumberUtils.isCreatable(args[i])) {
map.put(key, args[i]);
i += 1;
} else if (args[i].startsWith("--") || args[i].startsWith("-")) {
Expand Down

0 comments on commit bcc269f

Please sign in to comment.