Renames MAPPER field to INSTANCE (#1632)

This commit is contained in:
dgruntz 2018-10-25 19:26:39 +02:00 committed by Sjaak Derksen
parent a09d980773
commit cfe0f6250c

View File

@ -583,7 +583,7 @@ public class CustomerDto {
@Mapper
public interface CustomerMapper {
CustomerMapper MAPPER = Mappers.getMapper( CustomerMapper.class );
CustomerMapper INSTANCE = Mappers.getMapper( CustomerMapper.class );
@Mapping(source = "customerName", target = "name")
Customer toCustomer(CustomerDto customerDto);