1.0.0-RC2 #19

Merged
ZhouXY108 merged 106 commits from 1.x.x into dev 2025-01-07 17:18:48 +08:00
Showing only changes of commit 6bbf55160b - Show all commits

View File

@ -93,6 +93,10 @@ public class Numbers {
// #region - nullToZero
public static byte nullToZero(@Nullable final Byte val) {
return val != null ? val : 0;
}
public static short nullToZero(@Nullable final Short val) {
return val != null ? val : 0;
}