This commit is contained in:
Gunnar Morling 2014-06-25 22:42:54 +02:00
parent d43d1962a4
commit 60cdf836ce
5 changed files with 5 additions and 4 deletions

View File

@ -30,6 +30,7 @@ public class CustomMapper {
wrapper.setMyBigInt( bigInteger );
return wrapper;
}
public MyLongWrapper toMyBigIntWrapperViaPrimitive(long primitive) {
MyLongWrapper wrapper = new MyLongWrapper();
wrapper.setMyLong( primitive );

View File

@ -30,7 +30,7 @@ public class MyLongWrapper {
return myLong;
}
public void setMyLong( Long myLong ) {
public void setMyLong(Long myLong) {
this.myLong = myLong;
}

View File

@ -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();
}
}

View File

@ -67,7 +67,7 @@ public class Source {
return someLong;
}
public void setSomeLong( Long someLong ) {
public void setSomeLong(Long someLong) {
this.someLong = someLong;
}

View File

@ -67,7 +67,7 @@ public class Target {
return someLong;
}
public void setSomeLong( MyLongWrapper someLong ) {
public void setSomeLong(MyLongWrapper someLong) {
this.someLong = someLong;
}