Skip to content

Commit

Permalink
Rename class to match filename
Browse files Browse the repository at this point in the history
The name of this public class should match the filename.

Fixes #3493

COPYBARA_INTEGRATE_REVIEW=#3493 from glenacota:patch-1 76a8c4f
PiperOrigin-RevId: 499143657
  • Loading branch information
glenacota authored and Error Prone Team committed Jan 3, 2023
1 parent 8447456 commit 6cb414f
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 6cb414f

Please sign in to comment.