Better logging of "Forcing type" message

This commit is contained in:
lukaseder 2016-12-15 10:27:17 +01:00
parent e870b353d2
commit 6ad6a35cd6

View File

@ -161,7 +161,12 @@ abstract class AbstractTypedElementDefinition<T extends Definition>
}
if (type != null) {
log.info("Forcing type", child + " with type " + definedType.getType() + " into " + type + (converter != null ? " using converter " + converter : ""));
log.info("Forcing type", child
+ " with type " + definedType.getType()
+ " into " + type
+ (converter != null ? " using converter " + converter : "")
+ (binding != null ? " using binding " + binding : ""));
DataType<?> forcedDataType = null;
boolean n = result.isNullable();