Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ default Association<P> 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.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}.
Expand All @@ -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}.
Expand All @@ -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}.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Optional<T> uniqueResult() {
}

/**
* Filters the collection with the predicate if there are still more then one elements in the collection.
* Filters the collection with the predicate if there are still more than one element in the collection.
*
* @param predicate To be used for filtering.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import org.springframework.data.repository.core.RepositoryCreationException;

/**
* Exception thrown during repository creation when a the repository has custom methods that are not backed by a
* Exception thrown during repository creation when the repository has custom methods that are not backed by a
* fragment or if no fragment could be found for a repository method invocation.
*
* @author Mark Paluch
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
import org.springframework.util.ConcurrentReferenceHashMap;

/**
* This {@link MethodInterceptor} intercepts calls to methods of the custom implementation and delegates the to it if
* This {@link MethodInterceptor} intercepts calls to methods of the custom implementation and delegates to it if
* configured. Furthermore it resolves method calls to finders and triggers execution of them. You can rely on having a
* custom repository implementation instance set if this returns true.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
package org.springframework.data.repository.core.support;

/**
* Callback interface that can be used to to customize a {@link RepositoryFactorySupport repository factory}.
* Callback interface that can be used to customize a {@link RepositoryFactorySupport repository factory}.
*
* @author Mark Paluch
* @since 2.4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ private Lazy<ProjectionFactory> createProjectionFactory() {
* Checks if at least one {@link RepositoryFragment} indicates need to access to {@link RepositoryMetadata} by being
* flagged with {@link RepositoryMetadataAccess}.
*
* @param fragments the fragments to intospect.
* @param fragments the fragments to introspect.
* @return {@literal true} if access to metadata is required.
*/
private static boolean shouldExposeMetadata(RepositoryFragments fragments) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ private void cacheFirstOrPrimary(Optional<ConfigurableListableBeanFactory> beanF
/**
* Returns the repository domain type for which to look up the repository. The input can either be a repository
* managed type directly. Or it can be a sub-type of a repository managed one, in which case we check the domain types
* we have repositories registered for for assignability.
* we have repositories registered for assignability.
*
* @param domainType must not be {@literal null}.
* @return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public class MethodInvocationRecorder {
private final @Nullable RecordingMethodInterceptor interceptor;

/**
* Creates a new {@link MethodInvocationRecorder}. For ad-hoc instantation prefer the static
* Creates a new {@link MethodInvocationRecorder}. For ad-hoc instantiation prefer the static
* {@link #forProxyOf(Class)}.
*/
private MethodInvocationRecorder() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public interface OffsetScrollPositionArgumentResolver extends HandlerMethodArgum
* @param webRequest the current request
* @param binderFactory a factory for creating {@link WebDataBinder} instances
* @return the resolved argument value or {@literal null} if the value cannot be resolved. The returned value
* considers {@link MethodParameter#isOptional() Optional} wrapping by returing either the value wrapped
* considers {@link MethodParameter#isOptional() Optional} wrapping by returning either the value wrapped
* within Optional or Optional.empty().
*/
@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ private SlicedResourcesAssembler(@Nullable HateoasPageableHandlerMethodArgumentR

/**
* Configures whether to always add {@code first} links to the {@link SlicedModel} * created. Defaults to
* {@literal false} which means that {@code first} links onlys appear in conjunction with {@code prev} and
* {@literal false} which means that {@code first} links only appear in conjunction with {@code prev} and
* {@code next} links.
*
* @param forceFirstRel whether to always add {@code first} links to the {@link SlicedModel} created.
Expand Down
Loading