[jOOQ/jOOQ#14166] Fix javac compilation error (works in eclipse)
This commit is contained in:
parent
0daacb3b89
commit
c72fb6473a
@ -6966,8 +6966,8 @@ final class Tools {
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
static final <T> DataType<T> nullSafeDataType(Field<T>[] values) {
|
||||
return isEmpty(values) ? (DataType<T>) SQLDataType.OTHER : values[0].getDataType();
|
||||
static final <T> DataType<T> nullSafeDataType(Field<?>[] values) {
|
||||
return (DataType<T>) (isEmpty(values) ? SQLDataType.OTHER : values[0].getDataType());
|
||||
}
|
||||
|
||||
static final <T> Field<T> nullSafeNotNull(Field<T> field, DataType<?> type) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user