From 97db86de88cb0b4c3da18f6ca16b45e5ebbaddbb Mon Sep 17 00:00:00 2001 From: Tran Ngoc Nhan Date: Sun, 11 Jan 2026 16:41:57 +0700 Subject: [PATCH] Fix typos in Javadoc. Signed-off-by: Tran Ngoc Nhan Closes #3440 --- 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 2b2dc55d0..138b83875 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 9253b3be1..d3a6af19d 100644 --- a/src/main/java/org/springframework/data/mapping/model/InstantiationAwarePropertyAccessor.java +++ b/src/main/java/org/springframework/data/mapping/model/InstantiationAwarePropertyAccessor.java @@ -29,7 +29,7 @@ import org.springframework.util.Assert; * 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 bfd2ad04c..a4d5a3c97 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 @@ class ProjectingMethodInterceptor implements MethodInterceptor { } /** - * 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 @@ class ProjectingMethodInterceptor implements MethodInterceptor { } /** - * 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 1d5ed52c6..55749fc38 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 @@ package org.springframework.data.querydsl; 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 b1be6cac4..16848efff 100644 --- a/src/main/java/org/springframework/data/repository/cdi/CdiRepositoryBean.java +++ b/src/main/java/org/springframework/data/repository/cdi/CdiRepositoryBean.java @@ -279,7 +279,7 @@ public abstract class CdiRepositoryBean implements Bean, PassivationCapabl /** * 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 13ebd4cf8..8b551684b 100644 --- a/src/main/java/org/springframework/data/repository/cdi/CdiRepositoryExtensionSupport.java +++ b/src/main/java/org/springframework/data/repository/cdi/CdiRepositoryExtensionSupport.java @@ -65,7 +65,7 @@ public abstract class CdiRepositoryExtensionSupport implements Extension { } /** - * 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 525284245..65fd3e658 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 abstract class RepositoryConfigurationExtensionSupport implements Reposit } /** - * 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 bcecdf315..d6bd3ac3a 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 @@ -538,7 +538,7 @@ public abstract class RepositoryFactorySupport public abstract EntityInformation getEntityInformation(Class domainClass); /** - * 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.