We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b523f3c commit 18a3b52Copy full SHA for 18a3b52
spring-context/src/main/java/org/springframework/format/annotation/DurationFormat.java
@@ -211,7 +211,7 @@ public static Unit fromChronoUnit(@Nullable ChronoUnit chronoUnit) {
211
return candidate;
212
}
213
214
- throw new IllegalArgumentException("No matching Unit for ChronoUnit: " + chronoUnit.name());
+ throw new IllegalArgumentException("No matching Unit for ChronoUnit." + chronoUnit.name());
215
216
217
/**
0 commit comments