Skip to content

Commit

Permalink
Rename class to match filename
Browse files Browse the repository at this point in the history
  • Loading branch information
glenacota authored Oct 17, 2022
1 parent db6459d commit 76a8c4f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import java.util.stream.Collectors;
import java.util.stream.Stream;

public class UnnecessaryLambdaParen<T> {
public class UnnecessaryLambdaParens<T> {
@BeforeTemplate
Optional<T> last(Stream<T> stream) {
return stream.map((x) -> x).collect(Collectors.reducing((a, b) -> b));
Expand Down

0 comments on commit 76a8c4f

Please sign in to comment.