mirror of
https://github.com/mapstruct/mapstruct.git
synced 2025-07-12 00:00:08 +08:00
#231 Formatting
This commit is contained in:
parent
d43d1962a4
commit
60cdf836ce
@ -30,6 +30,7 @@ public class CustomMapper {
|
||||
wrapper.setMyBigInt( bigInteger );
|
||||
return wrapper;
|
||||
}
|
||||
|
||||
public MyLongWrapper toMyBigIntWrapperViaPrimitive(long primitive) {
|
||||
MyLongWrapper wrapper = new MyLongWrapper();
|
||||
wrapper.setMyLong( primitive );
|
||||
|
@ -30,7 +30,7 @@ public class MyLongWrapper {
|
||||
return myLong;
|
||||
}
|
||||
|
||||
public void setMyLong( Long myLong ) {
|
||||
public void setMyLong(Long myLong) {
|
||||
this.myLong = myLong;
|
||||
}
|
||||
|
||||
|
@ -110,6 +110,6 @@ public class NullCheckTest {
|
||||
Target target = SourceTargetMapper.INSTANCE.sourceToTarget( source );
|
||||
|
||||
assertThat( target.getSomeList() ).isNull();
|
||||
assertThat( target.getSomeLong()).isNull();
|
||||
assertThat( target.getSomeLong() ).isNull();
|
||||
}
|
||||
}
|
||||
|
@ -67,7 +67,7 @@ public class Source {
|
||||
return someLong;
|
||||
}
|
||||
|
||||
public void setSomeLong( Long someLong ) {
|
||||
public void setSomeLong(Long someLong) {
|
||||
this.someLong = someLong;
|
||||
}
|
||||
|
||||
|
@ -67,7 +67,7 @@ public class Target {
|
||||
return someLong;
|
||||
}
|
||||
|
||||
public void setSomeLong( MyLongWrapper someLong ) {
|
||||
public void setSomeLong(MyLongWrapper someLong) {
|
||||
this.someLong = someLong;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user