#343 wrongly placed candidates.clear() causes too many error messages

This commit is contained in:
sjaakd 2014-11-14 23:06:43 +01:00 committed by Gunnar Morling
parent bcda1d25b7
commit 5bca22702e

View File

@ -309,10 +309,9 @@ public class BeanMappingMethod extends MappingMethod {
.dateFormat( mapping != null ? mapping.getDateFormat() : null ) .dateFormat( mapping != null ? mapping.getDateFormat() : null )
.build(); .build();
// candidates are handled
candidates.clear();
} }
// candidates are handled
candidates.clear();
if ( propertyMapping != null && newPropertyMapping != null ) { if ( propertyMapping != null && newPropertyMapping != null ) {
// TODO improve error message // TODO improve error message