mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 22:09:38 +07:00
[java] raises language level to Java 9
This commit is contained in:
@@ -46,7 +46,7 @@ public class Main {
|
||||
long sum = 0L;
|
||||
for (Map.Entry<String, List<String>> e : strings.entrySet()) {
|
||||
if (!e.getKey().isEmpty()) {
|
||||
long count = e.getValue().stream().filter(new Predicate<String>() {
|
||||
long count = e.getValue().stream().filter(new Predicate<>() {
|
||||
// we're inside anonymous class
|
||||
@Override
|
||||
public boolean test(String s) {
|
||||
|
||||
Reference in New Issue
Block a user