Skip to content

Commit

Permalink
fix: remove unneeded parentheses in WeatherForecast
Browse files Browse the repository at this point in the history
  • Loading branch information
jdegand committed Dec 21, 2024
1 parent c07e450 commit f6343c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Spring/WeatherForecastService.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Config {
@Bean
public TemperatureMeasurementCallback callback() {
System.out.println("Registering TemperatureMeasurementCallback bean");
return (temperature) -> System.out.println(temperature);
return temperature -> System.out.println(temperature);
}
}

Expand Down

0 comments on commit f6343c8

Please sign in to comment.