mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-26 03:51:12 +07:00
13 lines
317 B
Java
13 lines
317 B
Java
// "Disable 'Extract to separate mapping method'" "false"
|
|
import java.util.*;
|
|
import java.util.stream.*;
|
|
|
|
public class Test {
|
|
boolean testWrong(List<String> list) {
|
|
return list.stream()
|
|
.anyMatch(s -> {
|
|
String <caret>lowerCase = s.toLowerCase();
|
|
return lowerCase.equals(s);
|
|
});
|
|
}
|
|
} |