mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-13 09:19:13 +07:00
set SPACE_BEFORE_COLON_IN_FOREACH true by default, fix tests
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ public class Main {
|
||||
public void test(Map<String, String[]> map) {
|
||||
List<String> result = new ArrayList<>();
|
||||
map.entrySet().stream().filter(entry -> entry.getKey().startsWith("x")).map(Map.Entry::getValue).forEach(arr -> {
|
||||
for (String str: arr) {
|
||||
for (String str : arr) {
|
||||
result.add(str.trim() + arr.length);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user