mirror of
https://github.com/mapstruct/mapstruct.git
synced 2025-07-12 00:00:08 +08:00
#729 Fix trying to resolving constructor on primitive types (correct formatting)
This commit is contained in:
parent
39158f649f
commit
e42788ece2
@ -544,8 +544,8 @@ public class MappingResolverImpl implements MappingResolver {
|
||||
*/
|
||||
private boolean hasCompatibleCopyConstructor(Type sourceType, Type targetType) {
|
||||
if ( targetType.isPrimitive() ) {
|
||||
return false;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
List<ExecutableElement> targetTypeConstructors = ElementFilter.constructorsIn(
|
||||
targetType.getTypeElement().getEnclosedElements() );
|
||||
|
Loading…
x
Reference in New Issue
Block a user