Restore enum-style exception message expected by test

This commit is contained in:
Juergen Hoeller 2024-11-13 18:56:19 +01:00
parent b523f3caff
commit 18a3b52d5e
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ public @interface DurationFormat {
return candidate;
}
}
throw new IllegalArgumentException("No matching Unit for ChronoUnit: " + chronoUnit.name());
throw new IllegalArgumentException("No matching Unit for ChronoUnit." + chronoUnit.name());
}
/**