mirror of
https://github.com/mapstruct/mapstruct.git
synced 2025-07-12 00:00:08 +08:00
[DOCS] Fixed reference variable
This commit is contained in:
parent
13bc0c023c
commit
754aaf2ef4
@ -696,7 +696,7 @@ public class CustomerMapperImpl implements CustomerMapper {
|
|||||||
customer.setId( Integer.parseInt( map.get( "id" ) ) );
|
customer.setId( Integer.parseInt( map.get( "id" ) ) );
|
||||||
}
|
}
|
||||||
if ( map.containsKey( "customerName" ) ) {
|
if ( map.containsKey( "customerName" ) ) {
|
||||||
customer.setName( source.get( "customerName" ) );
|
customer.setName( map.get( "customerName" ) );
|
||||||
}
|
}
|
||||||
// ...
|
// ...
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user