diff --git a/spring-core/src/main/java/org/springframework/core/retry/support/CompositeRetryListener.java b/spring-core/src/main/java/org/springframework/core/retry/support/CompositeRetryListener.java index 58ceb33aa44..7864d15db8f 100644 --- a/spring-core/src/main/java/org/springframework/core/retry/support/CompositeRetryListener.java +++ b/spring-core/src/main/java/org/springframework/core/retry/support/CompositeRetryListener.java @@ -16,7 +16,7 @@ package org.springframework.core.retry.support; -import java.util.LinkedList; +import java.util.ArrayList; import java.util.List; import org.jspecify.annotations.Nullable; @@ -42,7 +42,7 @@ import org.springframework.util.Assert; */ public class CompositeRetryListener implements RetryListener { - private final List listeners = new LinkedList<>(); + private final List listeners = new ArrayList<>(); /** diff --git a/spring-web/src/main/java/org/springframework/web/cors/UrlBasedCorsConfigurationSource.java b/spring-web/src/main/java/org/springframework/web/cors/UrlBasedCorsConfigurationSource.java index 9f92785ade1..fbc82fe72c9 100644 --- a/spring-web/src/main/java/org/springframework/web/cors/UrlBasedCorsConfigurationSource.java +++ b/spring-web/src/main/java/org/springframework/web/cors/UrlBasedCorsConfigurationSource.java @@ -151,7 +151,7 @@ public class UrlBasedCorsConfigurationSource implements CorsConfigurationSource /** * When enabled, if there is neither a - * {@link UrlPathHelper#resolveAndCacheLookupPath esolved} String lookupPath nor a + * {@link UrlPathHelper#resolveAndCacheLookupPath resolved} String lookupPath nor a * {@link ServletRequestPathUtils#parseAndCache parsed} {@code RequestPath} * then use the {@link #setUrlPathHelper configured} {@code UrlPathHelper} * to resolve a String lookupPath. This in turn determines use of URL diff --git a/spring-webflux/src/main/java/org/springframework/web/reactive/function/server/RouterFunctions.java b/spring-webflux/src/main/java/org/springframework/web/reactive/function/server/RouterFunctions.java index d6faabedce3..a359a3eae96 100644 --- a/spring-webflux/src/main/java/org/springframework/web/reactive/function/server/RouterFunctions.java +++ b/spring-webflux/src/main/java/org/springframework/web/reactive/function/server/RouterFunctions.java @@ -760,7 +760,7 @@ public abstract class RouterFunctions { * defined router functions into this builder, or can be combined with * {@link RouterFunctions#route(RequestPredicate, HandlerFunction)} * to allow for more flexible predicate matching. - *

For instance, the fbelow adds the router function returned from + *

For instance, the below adds the router function returned from * {@code OrderController.routerFunction()} to the {@code changeUser} * method in {@code userController}: *