Skip to content

Commit

Permalink
build(deps): bump com.spotify.fmt:fmt-maven-plugin from 2.21.1 to 2.22
Browse files Browse the repository at this point in the history
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](spotify/fmt-maven-plugin@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] <support@github.com>
  • Loading branch information
dependabot[bot] authored and klausbrunner committed Jan 16, 2024
1 parent 70db663 commit f0461c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<plugin>
<groupId>com.spotify.fmt</groupId>
<artifactId>fmt-maven-plugin</artifactId>
<version>2.21.1</version>
<version>2.22</version>
<executions>
<execution>
<goals>
Expand Down
5 changes: 3 additions & 2 deletions src/main/java/net/e175/klaus/solarpositioning/SPA.java
Original file line number Diff line number Diff line change
Expand Up @@ -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));
};
Expand Down

0 comments on commit f0461c4

Please sign in to comment.