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

FUTURE_COPYBARA_INTEGRATE_REVIEW=#3493 from glenacota:patch-1 76a8c4f
PiperOrigin-RevId: 498766471
  • Loading branch information
java-team-github-bot authored and Error Prone Team committed Jan 3, 2023
1 parent 8447456 commit bd5e3c4
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 bd5e3c4

Please sign in to comment.