changeset 59:37ebdc34a400 embedded

Small fix.
author Pedro Ferreira <pedro.ferreira@monetdbsolutions.com>
date Tue, 22 Nov 2016 18:04:41 +0100 (2016-11-22)
parents 2053a9fc56ca
children 80bae18085f0
files src/main/java/nl/cwi/monetdb/embedded/resultset/QueryResultSetObjectColumn.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/java/nl/cwi/monetdb/embedded/resultset/QueryResultSetObjectColumn.java
+++ b/src/main/java/nl/cwi/monetdb/embedded/resultset/QueryResultSetObjectColumn.java
@@ -27,7 +27,7 @@ public class QueryResultSetObjectColumn<
      *
      * @return A null pointer
      */
-    public static Object GetObjectNullConstant() { return null; }
+    public static <T> T GetObjectNullConstant() { return null; }
 
     /**
      * Checks if the Object value is null or not.
@@ -35,7 +35,7 @@ public class QueryResultSetObjectColumn<
      * @param value The value to evaluate
      * @return If the Object value is null or not.
      */
-    public static boolean CheckObjectIsNull(Object value) { return value == null; }
+    public static <T> boolean CheckObjectIsNull(T value) { return value == null; }
 
     /**
      * Array with the retrieved values.