mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-11 02:39:37 +07:00
15 lines
303 B
Java
15 lines
303 B
Java
// "Replace with findFirst()" "false"
|
|
|
|
import java.awt.*;
|
|
import java.util.List;
|
|
|
|
public class Main {
|
|
private Point field = new Point(0, 0);
|
|
|
|
public Point find(List<Point> points, Main other) {
|
|
for (Point pt : poin<caret>ts) {
|
|
if (pt != null) return pt;
|
|
}
|
|
return other.field;
|
|
}
|
|
} |