Skip to content

Commit bb72a96

Browse files
committed
target is Java5, replaced String#isEmpty() signature
1 parent 7bd3cf6 commit bb72a96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/apache/ibatis/submitted/lazy_immutable/ImmutablePOJOTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public void testLoadLazyImmutablePOJO() {
7070

7171
assertEquals(POJO_ID, pojo.getId());
7272
assertNotNull("Description should not be null.", pojo.getDescription());
73-
assertFalse("Description should not be empty.", pojo.getDescription().isEmpty());
73+
assertFalse("Description should not be empty.", pojo.getDescription().length() == 0);
7474
} finally {
7575
session.close();
7676
}

0 commit comments

Comments
 (0)