Use auto boxing and unboxing where feasible
See gh-31916
This commit is contained in:
committed by
Stéphane Nicoll
parent
4a450c6fab
commit
db2c532c07
@@ -2043,7 +2043,7 @@ class DataBinderTests {
|
||||
|
||||
binder.bind(pvs);
|
||||
assertThat(tb.getIntegerList()).hasSize(257);
|
||||
assertThat(tb.getIntegerList()).element(256).isEqualTo(Integer.valueOf(1));
|
||||
assertThat(tb.getIntegerList()).element(256).isEqualTo(1);
|
||||
assertThat(binder.getBindingResult().getFieldValue("integerList[256]")).isEqualTo(1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user