// "Collapse loop with stream 'forEach()'" "false"

import java.awt.*;
import java.util.List;

public class Main {
  public void test(List<String> list) {
    for(String s : li<caret>st) {
      if(s == null)
      }
    System.out.println(s);
    }
  }
}