Update CustomTimingsHandler Nag Message (#11923)

This commit is contained in:
spring-dependency-management 2025-01-09 18:02:03 +00:00 committed by GitHub
parent 55f3f280cb
commit 08fc33ca03
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -48,7 +48,7 @@ public final class CustomTimingsHandler {
public CustomTimingsHandler(@NotNull String name) {
Timing timing;
new AuthorNagException("Deprecated use of CustomTimingsHandler. Please Switch to Timings.of ASAP").printStackTrace();
new AuthorNagException("Deprecated use of CustomTimingsHandler. Timings has been removed.").printStackTrace();
try {
final Method ofSafe = TimingsManager.class.getDeclaredMethod("getHandler", String.class, String.class, Timing.class);
ofSafe.setAccessible(true);