mirror of
https://github.com/moparisthebest/JdbcMapper
synced 2024-12-21 23:08:52 -05:00
Fix java6 compilation
This commit is contained in:
parent
3bb274fa83
commit
b609747b50
@ -393,6 +393,7 @@ public class JdbcMapperProcessor extends AbstractProcessor {
|
||||
inListBindParam = new SpecialVariableElement(bindParam,
|
||||
databaseType == JdbcMapper.DatabaseType.BIND ? SpecialVariableElement.SpecialType.BIND_IN_LIST : SpecialVariableElement.SpecialType.IN_LIST,
|
||||
++inListBindParamsIdx);
|
||||
//IFJAVA8_START
|
||||
if(databaseType == JdbcMapper.DatabaseType.BIND) {
|
||||
final TypeMirror o = bindParam.asType();
|
||||
if(o.getKind() == TypeKind.DECLARED && types.isAssignable(o, streamType)) {
|
||||
@ -400,6 +401,7 @@ public class JdbcMapperProcessor extends AbstractProcessor {
|
||||
inListBindParam.setName("_" + inListBindParam.getSimpleName() + "StreamAsBindArray");
|
||||
}
|
||||
}
|
||||
//IFJAVA8_END
|
||||
inListBindParams.put(paramName, inListBindParam);
|
||||
}
|
||||
bindParams.add(inListBindParam);
|
||||
|
Loading…
Reference in New Issue
Block a user