格式化代码并修改错误
This commit is contained in:
parent
8c5ab530f0
commit
2b7b8e8f94
|
@ -34,7 +34,7 @@ public class JavaCollectionCleanupUnitTest {
|
|||
@Test
|
||||
public void givenListContainsNulls_whenRemovingNullsWithPlainJava_thenCorrect() {
|
||||
final List<Integer> list = Lists.newArrayList(null, 1, null);
|
||||
while (list.remove(null));
|
||||
while (list.remove(null)) ;
|
||||
|
||||
assertThat(list, hasSize(1));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue