mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
StreamToLoop: inline simple common method references
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ import java.util.Objects;
|
||||
public class Main {
|
||||
boolean test(String[] strings) {
|
||||
for (String s : strings) {
|
||||
if (Objects.nonNull(s)) {
|
||||
if (s != null) {
|
||||
if (!s.startsWith("xyz")) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user