From 44a79d09907d4ed62720d563df3f260ccb3ab6c8 Mon Sep 17 00:00:00 2001 From: ipipman Date: 2021年8月15日 10:30:21 +0800 Subject: [PATCH] fix . --- .../springboot/source/code/analysis/event/RainListener.java | 1 + 1 file changed, 1 insertion(+) diff --git a/springboot-source-code-analysis/src/main/java/com/example/springboot/source/code/analysis/event/RainListener.java b/springboot-source-code-analysis/src/main/java/com/example/springboot/source/code/analysis/event/RainListener.java index 37ca02a..0c957e6 100644 --- a/springboot-source-code-analysis/src/main/java/com/example/springboot/source/code/analysis/event/RainListener.java +++ b/springboot-source-code-analysis/src/main/java/com/example/springboot/source/code/analysis/event/RainListener.java @@ -19,6 +19,7 @@ public class RainListener implements WeatherListener { @Override public void onWeatherEvent(WeatherEvent event) { if (event instanceof RainEvent) { + System.out.println("rain event ..." + event.getWeather()); } }

AltStyle によって変換されたページ (->オリジナル) /