From 4527245ebc228a3433b263b5392b28fb398283e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Nicoll?= Date: Thu, 26 Mar 2026 15:46:56 +0100 Subject: [PATCH] Polish javadoc --- .../boot/autoconfigure/SpringBootApplication.java | 4 ++-- .../boot/devtools/restart/DefaultRestartInitializer.java | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/SpringBootApplication.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/SpringBootApplication.java index 845aef8a825..b9aa76d3c97 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/SpringBootApplication.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/SpringBootApplication.java @@ -85,7 +85,7 @@ public @interface SpringBootApplication { *

* Note: this setting is an alias for * {@link ComponentScan @ComponentScan} only. It has no effect on {@code @Entity} - * scanning or Spring Data {@link Repository} scanning. For those you should add + * scanning or Spring Data {@code Repository} scanning. For those you should add * {@link org.springframework.boot.autoconfigure.domain.EntityScan @EntityScan} and * {@code @Enable...Repositories} annotations. * @return base packages to scan @@ -103,7 +103,7 @@ public @interface SpringBootApplication { *

* Note: this setting is an alias for * {@link ComponentScan @ComponentScan} only. It has no effect on {@code @Entity} - * scanning or Spring Data {@link Repository} scanning. For those you should add + * scanning or Spring Data {@code Repository} scanning. For those you should add * {@link org.springframework.boot.autoconfigure.domain.EntityScan @EntityScan} and * {@code @Enable...Repositories} annotations. * @return base packages to scan diff --git a/spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/restart/DefaultRestartInitializer.java b/spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/restart/DefaultRestartInitializer.java index 5b2c94ee7c9..cef1d07d1d5 100644 --- a/spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/restart/DefaultRestartInitializer.java +++ b/spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/restart/DefaultRestartInitializer.java @@ -43,9 +43,9 @@ public class DefaultRestartInitializer implements RestartInitializer { } /** - * Returns if the thread is for a main invocation. By default {@link #isMain(Thread) - * checks the name of the thread} and {@link #isDevelopmentClassLoader(ClassLoader) - * the context classloader}. + * Returns if the thread is for a main invocation. By default + * {@link #isMainThread(Thread)} checks the name of the thread} and + * {@link #isDevelopmentClassLoader(ClassLoader) the context classloader}. * @param thread the thread to check * @return {@code true} if the thread is a main invocation * @see #isMainThread