Skip to content

Commit

Permalink
replace integer.parseint in NumberParse
Browse files Browse the repository at this point in the history
Signed-off-by: Antonio Santos Izaguirre <[email protected]>
  • Loading branch information
antoniosanct committed Mar 11, 2023
1 parent 4ec8848 commit 3060801
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public static Long parseLong(final String str) {
public static Integer parseInt(final String str) {
if (null != str) {
try {
return Integer.valueOf(Integer.parseInt(str.trim()));
return Integer.valueOf(str.trim());
} catch (final Exception e) {
// :IGNORE:
}
Expand Down

0 comments on commit 3060801

Please sign in to comment.