mirror of
https://github.com/mapstruct/mapstruct.git
synced 2025-07-12 00:00:08 +08:00
#212 reproducer
This commit is contained in:
parent
3700052cc6
commit
13dbc3cccf
@ -33,14 +33,16 @@ public class Person {
|
|||||||
this.married = married;
|
this.married = married;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Boolean isEngaged() {
|
// START: please note: deliberately ordered, first getEngaged, then isEngaged.
|
||||||
return engaged != null && !engaged;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Boolean getEngaged() {
|
public Boolean getEngaged() {
|
||||||
return engaged;
|
return engaged;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Boolean isEngaged() {
|
||||||
|
return engaged != null && !engaged;
|
||||||
|
}
|
||||||
|
// END
|
||||||
|
|
||||||
public void setEngaged(Boolean engaged) {
|
public void setEngaged(Boolean engaged) {
|
||||||
this.engaged = engaged;
|
this.engaged = engaged;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user