diff --git a/src/main/java/org/springframework/data/auditing/config/AuditingConfiguration.java b/src/main/java/org/springframework/data/auditing/config/AuditingConfiguration.java index e9428131a4..2515d37cfa 100644 --- a/src/main/java/org/springframework/data/auditing/config/AuditingConfiguration.java +++ b/src/main/java/org/springframework/data/auditing/config/AuditingConfiguration.java @@ -28,7 +28,7 @@ public interface AuditingConfiguration { /** - * Returns the bean name of the {@link AuditorAware} instance to be used.. + * Returns the bean name of the {@link AuditorAware} instance to be used. * * @return */ diff --git a/src/main/java/org/springframework/data/domain/Pageable.java b/src/main/java/org/springframework/data/domain/Pageable.java index 6b16849be9..5b9af21d5a 100644 --- a/src/main/java/org/springframework/data/domain/Pageable.java +++ b/src/main/java/org/springframework/data/domain/Pageable.java @@ -155,7 +155,7 @@ default Sort getSortOr(Sort sort) { /** * Creates a new {@link Pageable} with {@code pageNumber} applied. * - * @param pageNumber the page numbe, zero-based. + * @param pageNumber the page number, zero-based. * @return a new {@link PageRequest} or throws {@link UnsupportedOperationException} if the object is * {@link #isUnpaged()} and the {@code pageNumber} is not zero. * @since 2.5 diff --git a/src/main/java/org/springframework/data/mapping/PersistentProperty.java b/src/main/java/org/springframework/data/mapping/PersistentProperty.java index 94aed0885d..084bbf7637 100644 --- a/src/main/java/org/springframework/data/mapping/PersistentProperty.java +++ b/src/main/java/org/springframework/data/mapping/PersistentProperty.java @@ -335,7 +335,7 @@ default Association
getRequiredAssociation() {
Class> getComponentType();
/**
- * Returns the raw type as it's pulled from from the reflected property.
+ * Returns the raw type as it's pulled from the reflected property.
*
* @return the raw type of the property.
*/
diff --git a/src/main/java/org/springframework/data/mapping/PersistentPropertyPath.java b/src/main/java/org/springframework/data/mapping/PersistentPropertyPath.java
index 784db95260..814f788572 100644
--- a/src/main/java/org/springframework/data/mapping/PersistentPropertyPath.java
+++ b/src/main/java/org/springframework/data/mapping/PersistentPropertyPath.java
@@ -101,8 +101,8 @@ default boolean isRootPath() {
/**
* Returns the sub-path of the current one as if it was based on the given base path. So for a current path
- * {@code foo.bar} and a given base {@code foo} it would return {@code bar}. If the given path is not a base of the
- * the current one the current {@link PersistentPropertyPath} will be returned as is.
+ * {@code foo.bar} and a given base {@code foo} it would return {@code bar}. If the given path is not a base of
+ * the current {@link PersistentPropertyPath} will be returned as is.
*
* @param base must not be {@literal null}.
* @return will never be {@literal null}.
diff --git a/src/main/java/org/springframework/data/mapping/context/MappingContextEvent.java b/src/main/java/org/springframework/data/mapping/context/MappingContextEvent.java
index 97f084bc75..a01105d81a 100644
--- a/src/main/java/org/springframework/data/mapping/context/MappingContextEvent.java
+++ b/src/main/java/org/springframework/data/mapping/context/MappingContextEvent.java
@@ -23,7 +23,7 @@
import org.springframework.util.Assert;
/**
- * Base implementation of an {@link ApplicationEvent} refering to a {@link PersistentEntity}.
+ * Base implementation of an {@link ApplicationEvent} referring to a {@link PersistentEntity}.
*
* @author Oliver Gierke
* @author Jon Brisbin
diff --git a/src/main/java/org/springframework/data/querydsl/binding/QuerydslBindingsFactory.java b/src/main/java/org/springframework/data/querydsl/binding/QuerydslBindingsFactory.java
index 6bb99e4a86..1ca216a5cd 100644
--- a/src/main/java/org/springframework/data/querydsl/binding/QuerydslBindingsFactory.java
+++ b/src/main/java/org/springframework/data/querydsl/binding/QuerydslBindingsFactory.java
@@ -87,7 +87,7 @@ public EntityPathResolver getEntityPathResolver() {
}
/**
- * Creates the {@link QuerydslBindings} to be used using for the given domain type. A {@link QuerydslBinderCustomizer}
+ * Creates the {@link QuerydslBindings} to be used for the given domain type. A {@link QuerydslBinderCustomizer}
* will be auto-detected.
*
* @param domainType must not be {@literal null}.
@@ -98,7 +98,7 @@ public QuerydslBindings createBindingsFor(TypeInformation> domainType) {
}
/**
- * Creates the {@link QuerydslBindings} to be used using for the given domain type and a pre-defined
+ * Creates the {@link QuerydslBindings} to be used for the given domain type and a pre-defined
* {@link QuerydslBinderCustomizer}.
*
* @param domainType must not be {@literal null}.
@@ -111,7 +111,7 @@ public QuerydslBindings createBindingsFor(TypeInformation> domainType,
}
/**
- * Creates the {@link QuerydslBindings} to be used using for the given domain type and a pre-defined
+ * Creates the {@link QuerydslBindings} to be used for the given domain type and a pre-defined
* {@link QuerydslBinderCustomizer}. If no customizer is given, auto-detection will be applied.
*
* @param domainType must not be {@literal null}.
diff --git a/src/main/java/org/springframework/data/repository/aot/generate/JSONTokener.java b/src/main/java/org/springframework/data/repository/aot/generate/JSONTokener.java
index ad99c46a35..03a7ff52af 100644
--- a/src/main/java/org/springframework/data/repository/aot/generate/JSONTokener.java
+++ b/src/main/java/org/springframework/data/repository/aot/generate/JSONTokener.java
@@ -176,7 +176,7 @@ private void skipToEndOfLine() {
* along the way. The opening quote should have already been read. This consumes the closing quote, but does not
* include it in the returned string.
*
- * @param quote either ' or ".
+ * @param quote either {@code '} or {@code "}.
* @return the string up to but not including {@code quote}
* @throws NumberFormatException if any unicode escape sequences are malformed.
* @throws JSONException if processing of json failed
diff --git a/src/main/java/org/springframework/data/repository/config/CustomRepositoryImplementationDetector.java b/src/main/java/org/springframework/data/repository/config/CustomRepositoryImplementationDetector.java
index 4558ec1c14..cbf7d20333 100644
--- a/src/main/java/org/springframework/data/repository/config/CustomRepositoryImplementationDetector.java
+++ b/src/main/java/org/springframework/data/repository/config/CustomRepositoryImplementationDetector.java
@@ -55,7 +55,7 @@ public class CustomRepositoryImplementationDetector {
/**
* Creates a new {@link CustomRepositoryImplementationDetector} with the given {@link Environment},
* {@link ResourceLoader} and {@link ImplementationDetectionConfiguration}. The latter will be registered for a
- * one-time component scan for implementation candidates that will the be used and filtered in all subsequent calls to
+ * one-time component scan for implementation candidates that will be used and filtered in all subsequent calls to
* {@link #detectCustomImplementation(ImplementationLookupConfiguration)}.
*
* @param environment must not be {@literal null}.
diff --git a/src/main/java/org/springframework/data/repository/config/RepositoryBeanDefinitionRegistrarSupport.java b/src/main/java/org/springframework/data/repository/config/RepositoryBeanDefinitionRegistrarSupport.java
index 794d6da111..948421cb78 100644
--- a/src/main/java/org/springframework/data/repository/config/RepositoryBeanDefinitionRegistrarSupport.java
+++ b/src/main/java/org/springframework/data/repository/config/RepositoryBeanDefinitionRegistrarSupport.java
@@ -97,7 +97,7 @@ public void registerBeanDefinitions(AnnotationMetadata metadata, BeanDefinitionR
}
/**
- * Return the annotation to obtain configuration information from. Will be wrappen into an
+ * Return the annotation to obtain configuration information from. Will be wrapped into an
* {@link AnnotationRepositoryConfigurationSource} so have a look at the constants in there for what annotation
* attributes it expects.
*
diff --git a/src/main/java/org/springframework/data/repository/config/SelectionSet.java b/src/main/java/org/springframework/data/repository/config/SelectionSet.java
index df8cbe6ae2..1e83ffc89d 100644
--- a/src/main/java/org/springframework/data/repository/config/SelectionSet.java
+++ b/src/main/java/org/springframework/data/repository/config/SelectionSet.java
@@ -67,7 +67,7 @@ Optional