This is an automated email from the ASF dual-hosted git repository.
doebele pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/empire-db.git
The following commit(s) were added to refs/heads/master by this push:
new c71bf9a EMPIREDB-351 fix
c71bf9a is described below
commit c71bf9a9745b9ec48dcf02d2a448d31e4ddaac18
Author: Rainer Döbele <[email protected]>
AuthorDate: Sat May 15 13:20:56 2021 +0200
EMPIREDB-351
fix
---
empire-db/src/main/java/org/apache/empire/commons/ObjectUtils.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/empire-db/src/main/java/org/apache/empire/commons/ObjectUtils.java
b/empire-db/src/main/java/org/apache/empire/commons/ObjectUtils.java
index 42b6789..12382a2 100644
--- a/empire-db/src/main/java/org/apache/empire/commons/ObjectUtils.java
+++ b/empire-db/src/main/java/org/apache/empire/commons/ObjectUtils.java
@@ -145,7 +145,7 @@ public final class ObjectUtils
if (value instanceof Double)
return (((Float) value).compareTo(0.0f)==0);
if (value instanceof Long)
- return (value.longValue()==0);
+ return (value.longValue()==0l);
// default: check int value
return (value.intValue()==0);
}