fix parse bug

This commit is contained in:
Looly
2021-06-15 10:17:35 +08:00
parent 878c0169ea
commit 395942298e
7 changed files with 63 additions and 11 deletions

View File

@@ -13,7 +13,7 @@ public class OptionalBeanTest {
String value1 = OptionalBean.ofNullable(user)
.getBean(User::getSchool)
.getBean(User.School::getAddress).get();
Assert.assertNull(value1);
Assert.assertNull(value1);
boolean present = OptionalBean.ofNullable(user)
.getBean(User::getSchool)