Skip to content

Commit

Permalink
Use method reference instead of lambda
Browse files Browse the repository at this point in the history
  • Loading branch information
kokosing committed Aug 30, 2019
1 parent acb85d6 commit 6cb1d28
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -765,7 +765,7 @@ static String formatGroupBy(List<GroupingElement> groupingElements)
else if (groupingElement instanceof GroupingSets) {
result = format("GROUPING SETS (%s)", Joiner.on(", ").join(
((GroupingSets) groupingElement).getSets().stream()
.map(e -> formatGroupingSet(e))
.map(ExpressionFormatter::formatGroupingSet)
.iterator()));
}
else if (groupingElement instanceof Cube) {
Expand Down

0 comments on commit 6cb1d28

Please sign in to comment.