Skip to content

Commit c25e330

Browse files
committed
Merge pull request #45521 from quaff
* pr/45521: Polish MetricsAutoConfiguration Closes gh-45521
2 parents b054a01 + 658764b commit c25e330

File tree

1 file changed

+2
-2
lines changed
  • spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/MetricsAutoConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2022 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -56,7 +56,7 @@ public Clock micrometerClock() {
5656
}
5757

5858
@Bean
59-
public static MeterRegistryPostProcessor meterRegistryPostProcessor(ApplicationContext applicationContext,
59+
static MeterRegistryPostProcessor meterRegistryPostProcessor(ApplicationContext applicationContext,
6060
ObjectProvider<MetricsProperties> metricsProperties,
6161
ObjectProvider<MeterRegistryCustomizer<?>> meterRegistryCustomizers,
6262
ObjectProvider<MeterFilter> meterFilters, ObjectProvider<MeterBinder> meterBinders) {

0 commit comments

Comments
 (0)