[jOOQ/jOOQ#8004] Avoid using JDK 8 API

This commit is contained in:
Knut Wannheden 2019-08-30 07:36:59 +02:00
parent bdb6b764c4
commit e2c2cf17c2

View File

@ -417,7 +417,7 @@ public class DefaultRecordMapper<R extends Record, E> implements RecordMapper<R,
);
// [#8004] Clean up kotlin field name for boolean types
String typeName = parameterTypes[i].getTypeName();
String typeName = parameterTypes[i].getName();
if (name.startsWith("is") &&
(boolean.class.getName().equalsIgnoreCase(typeName) || Boolean.class.getName().equals(typeName)))