set SPACE_BEFORE_COLON_IN_FOREACH true by default, fix tests

This commit is contained in:
Roman.Ivanov
2018-06-26 12:04:00 +07:00
parent c59f936afc
commit 5076e08145
110 changed files with 304 additions and 304 deletions
@@ -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);
}
});