Skip to content

Commit b416db4

Browse files
committed
Merge branch '3.1.x' into 3.2.x
Closes gh-40498
2 parents 97f0e62 + 178d3ca commit b416db4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/MavenBuildOutputTimestamp.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ Instant toInstant() {
9191
.truncatedTo(ChronoUnit.SECONDS)
9292
.toInstant();
9393
if (instant.isBefore(DATE_MIN) || instant.isAfter(DATE_MAX)) {
94-
throw new IllegalArgumentException(String
95-
.format(String.format("'%s' is not within the valid range %s to %s", instant, DATE_MIN, DATE_MAX)));
94+
throw new IllegalArgumentException(
95+
String.format("'%s' is not within the valid range %s to %s", instant, DATE_MIN, DATE_MAX));
9696
}
9797
return instant;
9898
}

0 commit comments

Comments
 (0)