diff --git a/pom.xml b/pom.xml index be99a9c..a256bb5 100644 --- a/pom.xml +++ b/pom.xml @@ -57,7 +57,7 @@ com.spotify.fmt fmt-maven-plugin - 2.21.1 + 2.22 diff --git a/src/main/java/net/e175/klaus/solarpositioning/SPA.java b/src/main/java/net/e175/klaus/solarpositioning/SPA.java index f403d8e..0e3493e 100644 --- a/src/main/java/net/e175/klaus/solarpositioning/SPA.java +++ b/src/main/java/net/e175/klaus/solarpositioning/SPA.java @@ -437,8 +437,9 @@ private static SunriseResult calcRiseAndSet( * sin(toRadians(hPrime[2]))); return switch (type) { - case NORMAL -> new SunriseResult.RegularDay( - addFractionOfDay(day, r), addFractionOfDay(day, t), addFractionOfDay(day, s)); + case NORMAL -> + new SunriseResult.RegularDay( + addFractionOfDay(day, r), addFractionOfDay(day, t), addFractionOfDay(day, s)); case ALL_DAY -> new SunriseResult.AllDay(addFractionOfDay(day, t)); case ALL_NIGHT -> new SunriseResult.AllNight(addFractionOfDay(day, t)); };