mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-19 23:02:24 +00:00
#794 - Refactor - tidy code, use uppercase L for Long literal
This commit is contained in:
1 parent
79b8395f8f
commit
ee0615caec
1 file changed
+1
-1
@@ -10,6 +10,6 @@ public class DmlUtil {
|
||||
* Return true if the value is null or a Numeric 0 (for primitive int's and long's) or Option empty.
|
||||
*/
|
||||
public static boolean isNullOrZero(Object value) {
|
||||
return value == null || value instanceof Number && ((Number) value).longValue() == 0l;
|
||||
return value == null || value instanceof Number && ((Number) value).longValue() == 0L;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user