diff --git a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/AutoTimer.java b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/AutoTimer.java index 33ed81f070..523defcbfc 100644 --- a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/AutoTimer.java +++ b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/AutoTimer.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2019 the original author or authors. + * Copyright 2012-2020 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. @@ -68,7 +68,7 @@ public interface AutoTimer { /** * Factory method to create a new {@link Builder Timer.Builder} with auto-timer - * settings {@link #apply(Builder) applied}. + * settings {@link #apply(Timer.Builder) applied}. * @param name the name of the timer * @return a new builder instance with auto-settings applied */ @@ -78,7 +78,7 @@ public interface AutoTimer { /** * Factory method to create a new {@link Builder Timer.Builder} with auto-timer - * settings {@link #apply(Builder) applied}. + * settings {@link #apply(Timer.Builder) applied}. * @param supplier the builder supplier * @return a new builder instance with auto-settings applied */ diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/LazyInitializationExcludeFilter.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/LazyInitializationExcludeFilter.java index 55893ad020..253f465a5d 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/LazyInitializationExcludeFilter.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/LazyInitializationExcludeFilter.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2019 the original author or authors. + * Copyright 2012-2020 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. @@ -29,13 +29,12 @@ import org.springframework.beans.factory.support.AbstractBeanDefinition; * beans). Adding an instance of this filter to the application context can be used for * these edge cases. *
- * A typical example would be something like this: - *
- *
+ * A typical example would be something like this:
* @Bean
* public static LazyInitializationExcludeFilter integrationLazyInitializationExcludeFilter() {
* return LazyInitializationExcludeFilter.forBeanTypes(IntegrationFlow.class);
- * }
+ * }
+ *
* * NOTE: Beans of this type will be instantiated very early in the spring application * lifecycle so they should generally be declared static and not have any dependencies.