Merge branch '3.2.x'
Closes gh-40499
This commit is contained in:
@@ -91,8 +91,8 @@ class MavenBuildOutputTimestamp {
|
||||
.truncatedTo(ChronoUnit.SECONDS)
|
||||
.toInstant();
|
||||
if (instant.isBefore(DATE_MIN) || instant.isAfter(DATE_MAX)) {
|
||||
throw new IllegalArgumentException(String
|
||||
.format(String.format("'%s' is not within the valid range %s to %s", instant, DATE_MIN, DATE_MAX)));
|
||||
throw new IllegalArgumentException(
|
||||
String.format("'%s' is not within the valid range %s to %s", instant, DATE_MIN, DATE_MAX));
|
||||
}
|
||||
return instant;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user