From 63f97c80c3068c93b36a0548c14d9d141bed2abd Mon Sep 17 00:00:00 2001 From: Tran Ngoc Nhan Date: Sun, 11 Jan 2026 16:41:57 +0700 Subject: [PATCH] Fix a/an in Javadoc Signed-off-by: Tran Ngoc Nhan --- CI.adoc | 2 +- .../mapping/model/InstantiationAwarePropertyAccessor.java | 2 +- .../data/projection/ProjectingMethodInterceptor.java | 4 ++-- .../org/springframework/data/querydsl/EntityPathResolver.java | 2 +- .../data/repository/cdi/CdiRepositoryBean.java | 2 +- .../data/repository/cdi/CdiRepositoryExtensionSupport.java | 2 +- .../config/RepositoryConfigurationExtensionSupport.java | 2 +- .../repository/core/support/RepositoryFactorySupport.java | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/CI.adoc b/CI.adoc index 2b2dc55d0e..138b838750 100644 --- a/CI.adoc +++ b/CI.adoc @@ -9,7 +9,7 @@ image:https://jenkins.spring.io/buildStatus/icon?job=spring-data-commons%2F1.13. Since this pipeline is purely Docker-based, it's easy to: * Debug what went wrong on your local machine. -* Test out a a tweak to your `test.sh` script before sending it out. +* Test out a tweak to your `test.sh` script before sending it out. * Experiment against a new image before submitting your pull request. All of these use cases are great reasons to essentially run what the CI server does on your local machine. diff --git a/src/main/java/org/springframework/data/mapping/model/InstantiationAwarePropertyAccessor.java b/src/main/java/org/springframework/data/mapping/model/InstantiationAwarePropertyAccessor.java index 01435e27e6..72be8bb742 100644 --- a/src/main/java/org/springframework/data/mapping/model/InstantiationAwarePropertyAccessor.java +++ b/src/main/java/org/springframework/data/mapping/model/InstantiationAwarePropertyAccessor.java @@ -30,7 +30,7 @@ * A {@link PersistentPropertyAccessor} that will use an entity's * {@link org.springframework.data.annotation.PersistenceCreator} to create a new instance of it to apply a new value * for a given {@link PersistentProperty}. Will only be used if the {@link PersistentProperty} is to be applied on a - * completely immutable entity type exposing a entity creator. + * completely immutable entity type exposing an entity creator. * * @author Oliver Drotbohm * @author Mark Paluch diff --git a/src/main/java/org/springframework/data/projection/ProjectingMethodInterceptor.java b/src/main/java/org/springframework/data/projection/ProjectingMethodInterceptor.java index 1b90f0c44f..e29b290f2c 100644 --- a/src/main/java/org/springframework/data/projection/ProjectingMethodInterceptor.java +++ b/src/main/java/org/springframework/data/projection/ProjectingMethodInterceptor.java @@ -143,7 +143,7 @@ private Object projectCollectionElements(Collection sources, TypeInformation< } /** - * Creates projections of the given {@link Map}'s values if necessary and returns an new {@link Map} with the handled + * Creates projections of the given {@link Map}'s values if necessary and returns a new {@link Map} with the handled * values. * * @param sources must not be {@literal null}. @@ -168,7 +168,7 @@ private Map projectMapValues(Map sources, TypeInformation< } /** - * Turns the given value into a {@link Collection}. Will turn an array into a collection an wrap all other values into + * Turns the given value into a {@link Collection}. Will turn an array into a collection a wrap all other values into * a single-element collection. * * @param source must not be {@literal null}. diff --git a/src/main/java/org/springframework/data/querydsl/EntityPathResolver.java b/src/main/java/org/springframework/data/querydsl/EntityPathResolver.java index 1d5ed52c6d..55749fc38c 100644 --- a/src/main/java/org/springframework/data/querydsl/EntityPathResolver.java +++ b/src/main/java/org/springframework/data/querydsl/EntityPathResolver.java @@ -18,7 +18,7 @@ import com.querydsl.core.types.EntityPath; /** - * Strategy interface to abstract the ways to translate an plain domain class into a {@link EntityPath}. + * Strategy interface to abstract the ways to translate a plain domain class into a {@link EntityPath}. * * @author Oliver Gierke */ diff --git a/src/main/java/org/springframework/data/repository/cdi/CdiRepositoryBean.java b/src/main/java/org/springframework/data/repository/cdi/CdiRepositoryBean.java index d7347bc9b4..36622606b2 100644 --- a/src/main/java/org/springframework/data/repository/cdi/CdiRepositoryBean.java +++ b/src/main/java/org/springframework/data/repository/cdi/CdiRepositoryBean.java @@ -291,7 +291,7 @@ public String getId() { /** * Creates the actual component instance given a {@link RepositoryFactorySupport repository factory supplier} and the - * repository {@link Class type}. This method is an utility for to create a repository. This method will obtain a + * repository {@link Class type}. This method is a utility for to create a repository. This method will obtain a * {@link RepositoryFactorySupport repository factory} and configure it with {@link CdiRepositoryConfiguration}. * * @param factorySupplier must not be {@literal null}. diff --git a/src/main/java/org/springframework/data/repository/cdi/CdiRepositoryExtensionSupport.java b/src/main/java/org/springframework/data/repository/cdi/CdiRepositoryExtensionSupport.java index 0545c58f41..769a103e2d 100644 --- a/src/main/java/org/springframework/data/repository/cdi/CdiRepositoryExtensionSupport.java +++ b/src/main/java/org/springframework/data/repository/cdi/CdiRepositoryExtensionSupport.java @@ -66,7 +66,7 @@ protected CdiRepositoryExtensionSupport() { } /** - * Implementation of a an observer which checks for Spring Data repository types and stores them in + * Implementation of an observer which checks for Spring Data repository types and stores them in * {@link #repositoryTypes} for later registration as bean type. * * @param The type. diff --git a/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationExtensionSupport.java b/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationExtensionSupport.java index a445cdaf6f..50aa1cac8b 100644 --- a/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationExtensionSupport.java +++ b/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationExtensionSupport.java @@ -251,7 +251,7 @@ public static boolean hasBean(Class type, BeanDefinitionRegistry registry) { } /** - * Creates a actual {@link RepositoryConfiguration} instance for the given {@link RepositoryConfigurationSource} and + * Creates an actual {@link RepositoryConfiguration} instance for the given {@link RepositoryConfigurationSource} and * interface name. Defaults to the {@link DefaultRepositoryConfiguration} but allows sub-classes to override this to * customize the behavior. * diff --git a/src/main/java/org/springframework/data/repository/core/support/RepositoryFactorySupport.java b/src/main/java/org/springframework/data/repository/core/support/RepositoryFactorySupport.java index 5e9f9237ac..8a5fd5232c 100644 --- a/src/main/java/org/springframework/data/repository/core/support/RepositoryFactorySupport.java +++ b/src/main/java/org/springframework/data/repository/core/support/RepositoryFactorySupport.java @@ -545,7 +545,7 @@ public EntityInformation getEntityInformation(Class domainClas } /** - * Create a instance of the repository base class providing store-specific built-in repository functionality of a + * Create an instance of the repository base class providing store-specific built-in repository functionality of a * typical {@code CrudRepository}. * * @param metadata repository metadata.