blob: aa6fc6231359aa84bb6145c87a46e6323d9b2583 [file]
// "Replace the loop with Collection.removeIf" "true"
import java.util.*;
public class Main {
public void removeEmpty(List<String> list) throws Exception {
// Copy to avoid CME
list.removeIf(String::isEmpty);
}
}