Remove code deprecated in 2.x and add since and forRemoval attributes
Closes gh-32548 Closes gh-32549
This commit is contained in:
@@ -38,7 +38,7 @@ import org.springframework.boot.test.autoconfigure.actuate.observability.AutoCon
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Documented
|
||||
@Inherited
|
||||
@Deprecated
|
||||
@Deprecated(since = "3.0.0", forRemoval = true)
|
||||
@AutoConfigureObservability(tracing = false)
|
||||
public @interface AutoConfigureMetrics {
|
||||
|
||||
|
||||
@@ -32,9 +32,10 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
*
|
||||
* @author Chris Bono
|
||||
*/
|
||||
@SuppressWarnings("deprecation")
|
||||
@SuppressWarnings("removal")
|
||||
@SpringBootTest
|
||||
@AutoConfigureMetrics
|
||||
@Deprecated(since = "3.0.0", forRemoval = true)
|
||||
class AutoConfigureMetricsPresentIntegrationTests {
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user