mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 16:39:29 +00:00
Restore enum-style exception message expected by test
This commit is contained in:
+1
-1
@@ -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());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user