dev #2

Merged
dashixiong merged 349 commits from dev into main 2026-02-11 01:55:46 +00:00
103 changed files with 6842 additions and 421 deletions
Showing only changes of commit 4d5f2adef4 - Show all commits

View File

@ -726,7 +726,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
BigDecimal result;
try {
result = new BigDecimal(s.toString());
} catch (NumberFormatException e) {
} catch (Exception e) {
return BigDecimal.ZERO;
}
return result;
@ -736,7 +736,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
Long result;
try {
result = Long.parseLong(s.toString());
} catch (NumberFormatException e) {
} catch (Exception e) {
return Long.parseLong("0");
}
return result;
@ -746,7 +746,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
String result;
try {
result = String.valueOf(s);
} catch (NumberFormatException e) {
} catch (Exception e) {
return "0";
}
return result;