Skip to content

Commit

Permalink
fix: remove unneeded parentheses in LoggerAOP
Browse files Browse the repository at this point in the history
  • Loading branch information
jdegand committed Dec 21, 2024
1 parent 9b00a01 commit c07e450
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Spring/LoggerAOP.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@ interface Logger {
class Config {
@Bean
public Logger logger() {
return (message) -> System.out.println(message);
return message -> System.out.println(message);
}
}

0 comments on commit c07e450

Please sign in to comment.