diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/server/LocalServerPort.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/server/LocalServerPort.java index 94cc9f4f56..eda9b71736 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/server/LocalServerPort.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/server/LocalServerPort.java @@ -28,7 +28,7 @@ import org.springframework.beans.factory.annotation.Value; * Annotation at the field or method/constructor parameter level that injects the HTTP * port that got allocated at runtime. Provides a convenient alternative for * @Value("${local.server.port}"). - * @deprecated since 2.7.0 for removal in 3.0.0 in favor or + * @deprecated since 2.7.0 for removal in 3.0.0 in favor of * {@code org.springframework.boot.test.web.server.LocalServerPort} * * @author Anand Shah