Commit 4d80fdb2 authored by Martin Raifer's avatar Martin Raifer
Browse files

slightly simplify formatting

parent 51f8f260
Pipeline #2515 passed with stage
in 0 seconds
......@@ -68,10 +68,7 @@ public class AdvancedExample {
Map<ContributionType, Integer> result = new EnumMap<>(ContributionType.class);
//fill with 0 values
Arrays.asList(ContributionType.values())
.forEach(
(ContributionType type) ->
result.put(type, 0)
);
.forEach(type -> result.put(type, 0));
return result;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment