mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 18:58:31 +07:00
11 lines
200 B
Java
11 lines
200 B
Java
// "Replace with forEach" "true"
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
|
|
class Sample {
|
|
List<Exception> foo = new ArrayList<>();
|
|
{
|
|
foo.forEach(Throwable::printStackTrace);
|
|
}
|
|
}
|