From f0461c4d8ed5eb0c501fca6ec72c6c10de2127e1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Jan 2024 20:42:17 +0000 Subject: [PATCH] build(deps): bump com.spotify.fmt:fmt-maven-plugin from 2.21.1 to 2.22 Bumps [com.spotify.fmt:fmt-maven-plugin](https://github.com/spotify/fmt-maven-plugin) from 2.21.1 to 2.22. - [Release notes](https://github.com/spotify/fmt-maven-plugin/releases) - [Commits](https://github.com/spotify/fmt-maven-plugin/compare/2.21.1...2.22.0) --- updated-dependencies: - dependency-name: com.spotify.fmt:fmt-maven-plugin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- src/main/java/net/e175/klaus/solarpositioning/SPA.java | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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)); };