[jOOQ/jOOQ#11099] Java 6 fix
This commit is contained in:
parent
091322bd4d
commit
1ebdf2d9ff
@ -393,8 +393,9 @@ public final class Convert {
|
||||
|
||||
if (fromType == Object.class)
|
||||
return converter.from((T) from);
|
||||
else
|
||||
return converter.from(new ConvertAll<>(fromType).from(from));
|
||||
|
||||
ConvertAll<T> convertAll = new ConvertAll<>(fromType);
|
||||
return converter.from(convertAll.from(from));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user