diff --git a/src/main/java/org/springframework/retry/support/MetricsRetryListener.java b/src/main/java/org/springframework/retry/support/MetricsRetryListener.java index 92b9d0c..bf0a922 100644 --- a/src/main/java/org/springframework/retry/support/MetricsRetryListener.java +++ b/src/main/java/org/springframework/retry/support/MetricsRetryListener.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 the original author or authors. + * Copyright 2024-2025 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,6 +19,7 @@ package org.springframework.retry.support; import java.util.Collections; import java.util.IdentityHashMap; import java.util.Map; +import java.util.Objects; import java.util.function.Function; import io.micrometer.core.instrument.MeterRegistry; @@ -43,7 +44,8 @@ import org.springframework.util.Assert; *

* The registered {@value #TIMER_NAME} {@link Timer} has these tags by default: *