mirror of
https://github.com/moparisthebest/JdbcMapper
synced 2024-12-21 23:08:52 -05:00
SimpleSQLChecker handles Stream in-lists
This commit is contained in:
parent
27f26e6ef4
commit
73867bb011
@ -110,7 +110,11 @@ public class SimpleSQLChecker implements SQLChecker {
|
||||
final TypeMirror componentType;
|
||||
if (o.getKind() == TypeKind.ARRAY) {
|
||||
componentType = ((ArrayType) o).getComponentType();
|
||||
} else if (o.getKind() == TypeKind.DECLARED && types.isAssignable(o, collectionType)) {
|
||||
} else if (o.getKind() == TypeKind.DECLARED && (types.isAssignable(o, collectionType)
|
||||
//IFJAVA8_START
|
||||
|| types.isAssignable(o, streamType)
|
||||
//IFJAVA8_END
|
||||
)) {
|
||||
final DeclaredType dt = (DeclaredType) o;
|
||||
componentType = dt.getTypeArguments().get(0);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user