diff --git a/src/main/java/org/springframework/data/annotation/PersistenceConstructor.java b/src/main/java/org/springframework/data/annotation/PersistenceConstructor.java index 8eb3477aa..ae2cf26ba 100644 --- a/src/main/java/org/springframework/data/annotation/PersistenceConstructor.java +++ b/src/main/java/org/springframework/data/annotation/PersistenceConstructor.java @@ -21,7 +21,7 @@ import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** - * @author Jon Brisbin + * @author Jon Brisbin */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.CONSTRUCTOR) diff --git a/src/main/java/org/springframework/data/auditing/IsNewAwareAuditingHandler.java b/src/main/java/org/springframework/data/auditing/IsNewAwareAuditingHandler.java index 166d1941a..0c5901d80 100644 --- a/src/main/java/org/springframework/data/auditing/IsNewAwareAuditingHandler.java +++ b/src/main/java/org/springframework/data/auditing/IsNewAwareAuditingHandler.java @@ -15,8 +15,6 @@ */ package org.springframework.data.auditing; -import java.util.Optional; - import org.springframework.data.mapping.PersistentEntity; import org.springframework.data.mapping.PersistentProperty; import org.springframework.data.mapping.context.MappingContext; @@ -26,8 +24,8 @@ import org.springframework.util.Assert; /** * {@link AuditingHandler} extension that uses {@link PersistentEntity#isNew(Object)} to expose a generic - * {@link #markAudited(Optional)} method that will route calls to {@link #markCreated(Optional)} or - * {@link #markModified(Optional)} based on the {@link IsNewStrategy} determined from the factory. + * {@link #markAudited(Object)} method that will route calls to {@link #markCreated(Object)} or + * {@link #markModified(Object)} based on the {@link IsNewStrategy} determined from the factory. * * @author Oliver Gierke * @author Christoph Strobl @@ -65,7 +63,7 @@ public class IsNewAwareAuditingHandler extends AuditingHandler { /** * Marks the given object created or modified based on {@link PersistentEntity#isNew(Object)}. Will route the calls to - * {@link #markCreated(Optional)} and {@link #markModified(Optional)} accordingly. + * {@link #markCreated(Object)} and {@link #markModified(Object)} accordingly. * * @param object must not be {@literal null}. */ diff --git a/src/main/java/org/springframework/data/domain/Sort.java b/src/main/java/org/springframework/data/domain/Sort.java index 644a14ed8..1fb078db8 100644 --- a/src/main/java/org/springframework/data/domain/Sort.java +++ b/src/main/java/org/springframework/data/domain/Sort.java @@ -402,7 +402,7 @@ public class Sort implements Streamable List unmarshal(Collection source, XmlAdapter adapter) { @@ -136,7 +135,6 @@ public abstract class SpringDataJaxb { * @param source * @param adapter must not be {@literal null}. * @return - * @throws Exception */ public static List marshal(@Nullable Iterable source, XmlAdapter adapter) { diff --git a/src/main/java/org/springframework/data/geo/GeoPage.java b/src/main/java/org/springframework/data/geo/GeoPage.java index e33dbc094..89f9cdcff 100644 --- a/src/main/java/org/springframework/data/geo/GeoPage.java +++ b/src/main/java/org/springframework/data/geo/GeoPage.java @@ -41,7 +41,7 @@ public class GeoPage extends PageImpl> { /** * Creates a new {@link GeoPage} from the given {@link GeoResults}. * - * @param content must not be {@literal null}. + * @param results must not be {@literal null}. */ public GeoPage(GeoResults results) { diff --git a/src/main/java/org/springframework/data/geo/format/DistanceFormatter.java b/src/main/java/org/springframework/data/geo/format/DistanceFormatter.java index c3f6732f2..15e3c4f0c 100644 --- a/src/main/java/org/springframework/data/geo/format/DistanceFormatter.java +++ b/src/main/java/org/springframework/data/geo/format/DistanceFormatter.java @@ -33,7 +33,7 @@ import org.springframework.util.StringUtils; /** * Converter to create {@link Distance} instances from {@link String} representations. The supported format is a decimal * followed by whitespace and a metric abbreviation. We currently support the following abbreviations: - * {@value #SUPPORTED_METRICS}. + * {@link #SUPPORTED_METRICS}. * * @author Oliver Gierke * @author Christoph Strobl diff --git a/src/main/java/org/springframework/data/history/AnnotationRevisionMetadata.java b/src/main/java/org/springframework/data/history/AnnotationRevisionMetadata.java index 3a1662ccd..3d7635122 100755 --- a/src/main/java/org/springframework/data/history/AnnotationRevisionMetadata.java +++ b/src/main/java/org/springframework/data/history/AnnotationRevisionMetadata.java @@ -29,7 +29,7 @@ import org.springframework.util.ReflectionUtils; /** * A {@link RevisionMetadata} implementation that inspects the given object for fields with the configured annotations - * and returns the field's values on calls to {@link #getRevisionDate()}, {@link #getRevisionInstant()} and + * and returns the field's values on calls to {@link #getRevisionInstant()}, {@link #getRevisionInstant()} and * {@link #getRevisionNumber()}. * * @author Oliver Gierke diff --git a/src/main/java/org/springframework/data/mapping/Alias.java b/src/main/java/org/springframework/data/mapping/Alias.java index c464d613f..35c5eac6f 100644 --- a/src/main/java/org/springframework/data/mapping/Alias.java +++ b/src/main/java/org/springframework/data/mapping/Alias.java @@ -22,10 +22,10 @@ import org.springframework.util.ObjectUtils; /** * A container object which may or may not contain a type alias value. If a value is present, {@code isPresent()} will * return {@code true} and {@link #getValue()} will return the value. - *

+ *

* Additional methods that depend on the presence or absence of a contained value are provided, such as * {@link #hasValue(Object)} or {@link #isPresent()} - *

+ *

* Aliases are immutable once created. * * @author Oliver Gierke diff --git a/src/main/java/org/springframework/data/mapping/Association.java b/src/main/java/org/springframework/data/mapping/Association.java index 062aa312e..abf849519 100644 --- a/src/main/java/org/springframework/data/mapping/Association.java +++ b/src/main/java/org/springframework/data/mapping/Association.java @@ -21,7 +21,7 @@ import org.springframework.lang.Nullable; * Value object to capture {@link Association}s. * * @param

{@link PersistentProperty}s the association connects. - * @author Jon Brisbin + * @author Jon Brisbin * @author Mark Paluch */ public class Association

> { diff --git a/src/main/java/org/springframework/data/mapping/AssociationHandler.java b/src/main/java/org/springframework/data/mapping/AssociationHandler.java index edcb8956e..b250c4e68 100644 --- a/src/main/java/org/springframework/data/mapping/AssociationHandler.java +++ b/src/main/java/org/springframework/data/mapping/AssociationHandler.java @@ -18,7 +18,7 @@ package org.springframework.data.mapping; /** * Callback interface to implement functionality to be applied to a collection of {@link Association}s. * - * @author Jon Brisbin + * @author Jon Brisbin * @author Oliver Gierke */ public interface AssociationHandler

> { diff --git a/src/main/java/org/springframework/data/mapping/MappingException.java b/src/main/java/org/springframework/data/mapping/MappingException.java index e290fa79e..66636d786 100644 --- a/src/main/java/org/springframework/data/mapping/MappingException.java +++ b/src/main/java/org/springframework/data/mapping/MappingException.java @@ -18,7 +18,7 @@ package org.springframework.data.mapping; import org.springframework.lang.Nullable; /** - * @author Jon Brisbin + * @author Jon Brisbin */ public class MappingException extends RuntimeException { diff --git a/src/main/java/org/springframework/data/mapping/PersistentProperty.java b/src/main/java/org/springframework/data/mapping/PersistentProperty.java index 83e0350d5..99cc367d9 100644 --- a/src/main/java/org/springframework/data/mapping/PersistentProperty.java +++ b/src/main/java/org/springframework/data/mapping/PersistentProperty.java @@ -128,7 +128,7 @@ public interface PersistentProperty

> { /** * Returns the with {@link Method} to set a property value on a new object instance. Might return {@literal null} in * case there is no with available. - *

+ *

* With {@link Method methods} are property-bound instance {@link Method methods} that accept a single argument of the * property type creating a new object instance. * diff --git a/src/main/java/org/springframework/data/mapping/PersistentPropertyAccessor.java b/src/main/java/org/springframework/data/mapping/PersistentPropertyAccessor.java index 072174b86..89c6c5db9 100644 --- a/src/main/java/org/springframework/data/mapping/PersistentPropertyAccessor.java +++ b/src/main/java/org/springframework/data/mapping/PersistentPropertyAccessor.java @@ -23,7 +23,7 @@ import org.springframework.util.Assert; * Domain service to allow accessing and setting {@link PersistentProperty}s of an entity. Usually obtained through * {@link PersistentEntity#getPropertyAccessor(Object)}. In case type conversion shall be applied on property access, * use a {@link ConvertingPropertyAccessor}. - *

+ *

* This service supports mutation for immutable classes by creating new object instances. These are managed as state of * {@link PersistentPropertyAccessor} and must be obtained from {@link #getBean()} after processing all updates. * diff --git a/src/main/java/org/springframework/data/mapping/PersistentPropertyPathAccessor.java b/src/main/java/org/springframework/data/mapping/PersistentPropertyPathAccessor.java index 69724312a..4c3bad913 100644 --- a/src/main/java/org/springframework/data/mapping/PersistentPropertyPathAccessor.java +++ b/src/main/java/org/springframework/data/mapping/PersistentPropertyPathAccessor.java @@ -61,7 +61,7 @@ public interface PersistentPropertyPathAccessor extends PersistentPropertyAcc * * @param path must not be {@literal null} or empty. * @param value can be {@literal null}. - * @see AccessOptions#DEFAULT + * @see AccessOptions#defaultSetOptions() */ void setProperty(PersistentPropertyPath> path, @Nullable Object value); diff --git a/src/main/java/org/springframework/data/mapping/PropertyHandler.java b/src/main/java/org/springframework/data/mapping/PropertyHandler.java index a8a4ff397..b0b2760a4 100644 --- a/src/main/java/org/springframework/data/mapping/PropertyHandler.java +++ b/src/main/java/org/springframework/data/mapping/PropertyHandler.java @@ -19,7 +19,7 @@ package org.springframework.data.mapping; * Callback interface to do something with all plain {@link PersistentProperty} instances except associations * and transient properties. * - * @author Jon Brisbin + * @author Jon Brisbin */ public interface PropertyHandler

> { diff --git a/src/main/java/org/springframework/data/mapping/callback/EntityCallback.java b/src/main/java/org/springframework/data/mapping/callback/EntityCallback.java index 0a524248e..8f44dee81 100644 --- a/src/main/java/org/springframework/data/mapping/callback/EntityCallback.java +++ b/src/main/java/org/springframework/data/mapping/callback/EntityCallback.java @@ -19,29 +19,28 @@ package org.springframework.data.mapping.callback; * Marker interface for entity callbacks to be implemented in specific callback subtypes. Intended for internal usage * within store specific implementations. *

Ordering {@link EntityCallback}

- *

+ *

* Multiple entity callbacks are invoked sequentially with the result of the previous callback. Callbacks are unordered * by default. It is possible to define the order in which listeners for a certain domain type are to be invoked. To do * so, add Spring's common {@link org.springframework.core.annotation.Order @Order} annotation or implement * {@link org.springframework.core.Ordered}. *

Exception Handling

- *

+ *

* While it is possible for a {@link EntityCallback} to declare that it throws arbitrary exception types, any checked * exceptions thrown from a {@link EntityCallback} are wrapped in an * {@link java.lang.reflect.UndeclaredThrowableException UndeclaredThrowableException} since the callback mechanism can * only handle runtime exceptions. Entity callback processing is stopped on the {@link EntityCallback} that raised an * exception and the caused exception is propagated to the caller. *

Domain Type Binding

- *

+ *

* An {@link EntityCallback} can generically declare the domain type that it is able to process by specifying the * generic type parameter {@code }. When registered with a Spring * {@link org.springframework.context.ApplicationContext}, callbacks are filtered accordingly, with the callback getting * invoked for assignable domain objects only. - *

+ *

* Typically, entity callbacks are invoked after publishing {@link org.springframework.context.ApplicationEvent events}. - *

*

Defining {@link EntityCallback} Interfaces

- *

+ *

* A {@link EntityCallback} interface needs to define a callback method accepting an object of the parameterized type as * its first argument followed by additional optional arguments. * diff --git a/src/main/java/org/springframework/data/mapping/callback/EntityCallbackDiscoverer.java b/src/main/java/org/springframework/data/mapping/callback/EntityCallbackDiscoverer.java index 5d97ff3dd..8d85999d1 100644 --- a/src/main/java/org/springframework/data/mapping/callback/EntityCallbackDiscoverer.java +++ b/src/main/java/org/springframework/data/mapping/callback/EntityCallbackDiscoverer.java @@ -64,7 +64,7 @@ class EntityCallbackDiscoverer { /** * Create a new {@link EntityCallback} instance. - *

+ *

* Pre loads {@link EntityCallback} beans by scanning the {@link BeanFactory}. */ EntityCallbackDiscoverer(BeanFactory beanFactory) { diff --git a/src/main/java/org/springframework/data/mapping/callback/EntityCallbacks.java b/src/main/java/org/springframework/data/mapping/callback/EntityCallbacks.java index d49dbcc06..6faabe92b 100644 --- a/src/main/java/org/springframework/data/mapping/callback/EntityCallbacks.java +++ b/src/main/java/org/springframework/data/mapping/callback/EntityCallbacks.java @@ -72,7 +72,7 @@ public interface EntityCallbacks { /** * Obtain a new {@link EntityCallbacks} instance. - *

+ *

* {@link EntityCallback callbacks} are pre loaded from the given {@link BeanFactory}.
* Use {@link #addEntityCallback(EntityCallback)} to register additional callbacks manually. * diff --git a/src/main/java/org/springframework/data/mapping/callback/ReactiveEntityCallbacks.java b/src/main/java/org/springframework/data/mapping/callback/ReactiveEntityCallbacks.java index 3abf2d5bf..d70eb8546 100644 --- a/src/main/java/org/springframework/data/mapping/callback/ReactiveEntityCallbacks.java +++ b/src/main/java/org/springframework/data/mapping/callback/ReactiveEntityCallbacks.java @@ -75,7 +75,7 @@ public interface ReactiveEntityCallbacks { /** * Obtain a new {@link ReactiveEntityCallbacks} instance. - *

+ *

* {@link EntityCallback callbacks} are pre loaded from the given {@link BeanFactory}.
* Use {@link #addEntityCallback(EntityCallback)} to register additional callbacks manually. * diff --git a/src/main/java/org/springframework/data/mapping/context/AbstractMappingContext.java b/src/main/java/org/springframework/data/mapping/context/AbstractMappingContext.java index 7035ca283..a04306336 100644 --- a/src/main/java/org/springframework/data/mapping/context/AbstractMappingContext.java +++ b/src/main/java/org/springframework/data/mapping/context/AbstractMappingContext.java @@ -479,7 +479,6 @@ public abstract class AbstractMappingContext * * @param type will never be {@literal null}. * @return diff --git a/src/main/java/org/springframework/data/mapping/context/InvalidPersistentPropertyPath.java b/src/main/java/org/springframework/data/mapping/context/InvalidPersistentPropertyPath.java index 3d84034b6..11ebbb368 100644 --- a/src/main/java/org/springframework/data/mapping/context/InvalidPersistentPropertyPath.java +++ b/src/main/java/org/springframework/data/mapping/context/InvalidPersistentPropertyPath.java @@ -49,8 +49,7 @@ public class InvalidPersistentPropertyPath extends MappingException { * * @param source must not be {@literal null}. * @param unresolvableSegment must not be {@literal null} or empty. - * @param resolvedPath - * @param message must not be {@literal null} or empty. + * @param resolvedPath must not be {@literal null} or empty. */ public InvalidPersistentPropertyPath(String source, TypeInformation type, String unresolvableSegment, PersistentPropertyPath> resolvedPath) { diff --git a/src/main/java/org/springframework/data/mapping/model/KotlinClassGeneratingEntityInstantiator.java b/src/main/java/org/springframework/data/mapping/model/KotlinClassGeneratingEntityInstantiator.java index f139745cf..a89e71143 100644 --- a/src/main/java/org/springframework/data/mapping/model/KotlinClassGeneratingEntityInstantiator.java +++ b/src/main/java/org/springframework/data/mapping/model/KotlinClassGeneratingEntityInstantiator.java @@ -159,7 +159,7 @@ class KotlinClassGeneratingEntityInstantiator extends ClassGeneratingEntityInsta *

  • {@code DefaultConstructorMarker} (usually null)
  • * * Defaulting bitmask - *

    + *

    * The defaulting bitmask is a 32 bit integer representing which positional argument should be defaulted. Defaulted * arguments are passed as {@literal null} and require the appropriate positional bit set ( {@code 1 << 2} for the 2. * argument)). Since the bitmask represents only 32 bit states, it requires additional masks (slots) if more than 32 diff --git a/src/main/java/org/springframework/data/querydsl/binding/QuerydslBindings.java b/src/main/java/org/springframework/data/querydsl/binding/QuerydslBindings.java index 670fea967..52aba2a9e 100644 --- a/src/main/java/org/springframework/data/querydsl/binding/QuerydslBindings.java +++ b/src/main/java/org/springframework/data/querydsl/binding/QuerydslBindings.java @@ -136,7 +136,7 @@ public class QuerydslBindings { /** * Include properties for binding. Include the property considered a binding candidate. * - * @param properties must not be {@literal null} or empty. + * @param paths must not be {@literal null} or empty. */ public final void including(Path... paths) { @@ -388,7 +388,6 @@ public class QuerydslBindings { * Defines the given {@link SingleValueBinding} to be used for the paths. * * @param binding must not be {@literal null}. - * @return */ public void firstOptional(OptionalValueBinding binding) { @@ -407,7 +406,6 @@ public class QuerydslBindings { * Defines the given {@link MultiValueBinding} to be used for the paths. * * @param binding must not be {@literal null}. - * @return */ public void all(MultiValueBinding binding) { diff --git a/src/main/java/org/springframework/data/repository/NoRepositoryBean.java b/src/main/java/org/springframework/data/repository/NoRepositoryBean.java index 776dae5f0..f0784a3d2 100644 --- a/src/main/java/org/springframework/data/repository/NoRepositoryBean.java +++ b/src/main/java/org/springframework/data/repository/NoRepositoryBean.java @@ -24,7 +24,7 @@ import java.lang.annotation.Target; /** * Annotation to exclude repository interfaces from being picked up and thus in consequence getting an instance being * created. - *

    + *

    * This will typically be used when providing an extended base interface for all repositories in combination with a * custom repository base class to implement methods declared in that intermediate interface. In this case you typically * derive your concrete repository interfaces from the intermediate one but don't want to create a Spring bean for the 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 c1c8e89a2..118bce701 100644 --- a/src/main/java/org/springframework/data/repository/config/CustomRepositoryImplementationDetector.java +++ b/src/main/java/org/springframework/data/repository/config/CustomRepositoryImplementationDetector.java @@ -34,8 +34,7 @@ import org.springframework.util.Assert; * configured with a {@link ImplementationDetectionConfiguration} at construction time, the necessary component scan is * executed on first access, cached and its result is the filtered on every further implementation lookup according to * the given {@link ImplementationDetectionConfiguration}. If none is given initially, every invocation to - * {@link #detectCustomImplementation(String, String, ImplementationDetectionConfiguration)} will issue a new component - * scan. + * {@link #detectCustomImplementation(ImplementationLookupConfiguration)} will issue a new component scan. * * @author Oliver Gierke * @author Mark Paluch @@ -57,7 +56,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 - * {@link #detectCustomImplementation(RepositoryConfiguration)}. + * {@link #detectCustomImplementation(ImplementationLookupConfiguration)}. * * @param environment must not be {@literal null}. * @param resourceLoader must not be {@literal null}. diff --git a/src/main/java/org/springframework/data/repository/config/RepositoryBeanDefinitionParser.java b/src/main/java/org/springframework/data/repository/config/RepositoryBeanDefinitionParser.java index b673a22f5..355df2cc9 100644 --- a/src/main/java/org/springframework/data/repository/config/RepositoryBeanDefinitionParser.java +++ b/src/main/java/org/springframework/data/repository/config/RepositoryBeanDefinitionParser.java @@ -33,8 +33,8 @@ import org.w3c.dom.Element; /** * Base class to implement repository namespaces. These will typically consist of a main XML element potentially having - * child elements. The parser will wrap the XML element into a {@link GlobalRepositoryConfigInformation} object and - * allow either manual configuration or automatic detection of repository interfaces. + * child elements. The parser will wrap the XML element into a {@link XmlRepositoryConfigurationSource} object and allow + * either manual configuration or automatic detection of repository interfaces. * * @author Oliver Gierke */ diff --git a/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationExtension.java b/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationExtension.java index 076258767..7f477414f 100644 --- a/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationExtension.java +++ b/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationExtension.java @@ -71,7 +71,7 @@ public interface RepositoryConfigurationExtension { * repositories bean definitions have been registered. * * @param registry - * @param source + * @param configurationSource */ void registerBeansForRoot(BeanDefinitionRegistry registry, RepositoryConfigurationSource configurationSource); diff --git a/src/main/java/org/springframework/data/repository/core/support/MethodInvocationValidator.java b/src/main/java/org/springframework/data/repository/core/support/MethodInvocationValidator.java index b9e185127..ec261ef4a 100644 --- a/src/main/java/org/springframework/data/repository/core/support/MethodInvocationValidator.java +++ b/src/main/java/org/springframework/data/repository/core/support/MethodInvocationValidator.java @@ -41,7 +41,7 @@ import org.springframework.util.ObjectUtils; * * @author Mark Paluch * @since 2.0 - * @see javax.annotation.Nonnull + * @see org.springframework.lang.NonNull * @see ReflectionUtils#isNullable(MethodParameter) * @see NullableUtils */ diff --git a/src/main/java/org/springframework/data/repository/core/support/MethodLookup.java b/src/main/java/org/springframework/data/repository/core/support/MethodLookup.java index b5bd78cb5..58b175357 100644 --- a/src/main/java/org/springframework/data/repository/core/support/MethodLookup.java +++ b/src/main/java/org/springframework/data/repository/core/support/MethodLookup.java @@ -27,7 +27,7 @@ import org.springframework.util.ObjectUtils; /** * Strategy interface providing {@link MethodPredicate predicates} to resolve a method called on a composite to its * implementation method. - *

    + *

    * {@link MethodPredicate Predicates} are ordered by filtering priority and applied individually. If a predicate does * not yield any positive match, the next predicate is applied. * diff --git a/src/main/java/org/springframework/data/repository/core/support/MethodLookups.java b/src/main/java/org/springframework/data/repository/core/support/MethodLookups.java index 7502ac77f..595252d88 100644 --- a/src/main/java/org/springframework/data/repository/core/support/MethodLookups.java +++ b/src/main/java/org/springframework/data/repository/core/support/MethodLookups.java @@ -65,7 +65,7 @@ interface MethodLookups { /** * Repository type-aware method lookup composed of {@link #direct()} and {@link RepositoryAwareMethodLookup}. - *

    + *

    * Repository-aware lookups resolve generic types from the repository declaration to verify assignability to Id/domain * types. This lookup also permits assignable method signatures but prefers {@link #direct()} matches. * @@ -79,7 +79,7 @@ interface MethodLookups { /** * Repository type-aware method lookup composed of {@link #direct()} and {@link ReactiveTypeInteropMethodLookup}. - *

    + *

    * This method lookup considers adaptability of reactive types in method signatures. Repository methods accepting a * reactive type can be possibly called with a different reactive type if the reactive type can be adopted to the * target type. This lookup also permits assignable method signatures and resolves repository id/entity types but diff --git a/src/main/java/org/springframework/data/repository/core/support/ReactiveRepositoryFactorySupport.java b/src/main/java/org/springframework/data/repository/core/support/ReactiveRepositoryFactorySupport.java index 4d99a996c..ef3fa9d82 100644 --- a/src/main/java/org/springframework/data/repository/core/support/ReactiveRepositoryFactorySupport.java +++ b/src/main/java/org/springframework/data/repository/core/support/ReactiveRepositoryFactorySupport.java @@ -64,7 +64,7 @@ public abstract class ReactiveRepositoryFactorySupport extends RepositoryFactory * queries. * * @param evaluationContextProvider can be {@literal null}, defaults to - * {@link ReactiveQueryMethodEvaluationContextProvider#INSTANCE}. + * {@link ReactiveQueryMethodEvaluationContextProvider#DEFAULT}. */ @Override public void setEvaluationContextProvider(QueryMethodEvaluationContextProvider evaluationContextProvider) { diff --git a/src/main/java/org/springframework/data/repository/core/support/RepositoryComposition.java b/src/main/java/org/springframework/data/repository/core/support/RepositoryComposition.java index 6c3a6a98a..c64ed0e6d 100644 --- a/src/main/java/org/springframework/data/repository/core/support/RepositoryComposition.java +++ b/src/main/java/org/springframework/data/repository/core/support/RepositoryComposition.java @@ -45,17 +45,17 @@ import org.springframework.util.ReflectionUtils; /** * Composite implementation to back repository method implementations. - *

    + *

    * A {@link RepositoryComposition} represents an ordered collection of {@link RepositoryFragment fragments}. Each * fragment contributes executable method signatures that are used by this composition to route method calls into the * according {@link RepositoryFragment}. - *

    + *

    * Fragments are allowed to contribute multiple implementations for a single method signature exposed through the * repository interface. {@link #withMethodLookup(MethodLookup) MethodLookup} selects the first matching method for * invocation. A composition also supports argument conversion between the repository method signature and fragment * implementation method through {@link #withArgumentConverter(BiFunction)}. Use argument conversion with a single * implementation method that can be exposed accepting convertible types. - *

    + *

    * Composition objects are immutable and thread-safe. * * @author Mark Paluch @@ -144,7 +144,7 @@ public class RepositoryComposition { } /** - * Create a {@link RepositoryComposition} for just a single {@code implementation} with {@link MethodLookups#direct()) + * Create a {@link RepositoryComposition} for just a single {@code implementation} with {@code MethodLookups#direct()} * method lookup. * * @param implementation must not be {@literal null}. @@ -157,7 +157,7 @@ public class RepositoryComposition { /** * Create a {@link RepositoryComposition} from {@link RepositoryFragment fragments} with - * {@link MethodLookups#direct()) method lookup. + * {@code MethodLookups#direct()} method lookup. * * @param fragments must not be {@literal null}. * @return the {@link RepositoryComposition} from {@link RepositoryFragment fragments}. @@ -168,7 +168,7 @@ public class RepositoryComposition { /** * Create a {@link RepositoryComposition} from {@link RepositoryFragment fragments} with - * {@link MethodLookups#direct()) method lookup. + * {@code MethodLookups#direct()} method lookup. * * @param fragments must not be {@literal null}. * @return the {@link RepositoryComposition} from {@link RepositoryFragment fragments}. @@ -180,7 +180,7 @@ public class RepositoryComposition { /** * Create a {@link RepositoryComposition} from {@link RepositoryFragments} and {@link RepositoryMetadata} with - * {@link MethodLookups#direct()) method lookup. + * {@code MethodLookups#direct()} method lookup. * * @param fragments must not be {@literal null}. * @return the {@link RepositoryComposition} from {@link RepositoryFragments fragments}. 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 1d6bb9bf6..1421ebaf0 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 @@ -160,7 +160,7 @@ public abstract class RepositoryFactorySupport implements BeanClassLoaderAware, * queries. * * @param evaluationContextProvider can be {@literal null}, defaults to - * {@link QueryMethodEvaluationContextProvider#INSTANCE}. + * {@link QueryMethodEvaluationContextProvider#DEFAULT}. */ public void setEvaluationContextProvider(QueryMethodEvaluationContextProvider evaluationContextProvider) { this.evaluationContextProvider = evaluationContextProvider == null ? QueryMethodEvaluationContextProvider.DEFAULT diff --git a/src/main/java/org/springframework/data/repository/core/support/RepositoryFragment.java b/src/main/java/org/springframework/data/repository/core/support/RepositoryFragment.java index 6104f56c0..e47044743 100644 --- a/src/main/java/org/springframework/data/repository/core/support/RepositoryFragment.java +++ b/src/main/java/org/springframework/data/repository/core/support/RepositoryFragment.java @@ -27,17 +27,17 @@ import org.springframework.util.ReflectionUtils; /** * Value object representing a repository fragment. - *

    + *

    * Repository fragments are individual parts that contribute method signatures. They are used to form a * {@link RepositoryComposition}. Fragments can be purely structural or backed with an implementation. - *

    + *

    * {@link #structural(Class) Structural} fragments are not backed by an implementation and are primarily used to * discover the structure of a repository composition and to perform validations. - *

    + *

    * {@link #implemented(Object) Implemented} repository fragments consist of a signature contributor and the implementing * object. A signature contributor may be {@link #implemented(Class, Object) an interface} or * {@link #implemented(Object) just the implementing object} providing the available signatures for a repository. - *

    + *

    * Fragments are immutable. * * @author Mark Paluch diff --git a/src/main/java/org/springframework/data/repository/query/SpelEvaluator.java b/src/main/java/org/springframework/data/repository/query/SpelEvaluator.java index 23b669489..4e1a034ef 100644 --- a/src/main/java/org/springframework/data/repository/query/SpelEvaluator.java +++ b/src/main/java/org/springframework/data/repository/query/SpelEvaluator.java @@ -35,7 +35,7 @@ import org.springframework.util.Assert; * @author Gerrit Meier * @author Oliver Gierke * @since 2.1 - * @see SpelQueryContext#parse(String, Parameters) + * @see SpelQueryContext#parse(String) */ public class SpelEvaluator { @@ -53,7 +53,7 @@ public class SpelEvaluator { } /** - * Evaluate all the SpEL expressions in {@link #parameterNameToSpelMap} based on values provided as an argument. + * Evaluate all the SpEL expressions in {@link SpelExtractor} based on values provided as an argument. * * @param values Parameter values. Must not be {@literal null}. * @return a map from parameter name to evaluated value. Guaranteed to be not {@literal null}. diff --git a/src/main/java/org/springframework/data/repository/support/PageableExecutionUtils.java b/src/main/java/org/springframework/data/repository/support/PageableExecutionUtils.java index ed05cd0ce..6045e091b 100644 --- a/src/main/java/org/springframework/data/repository/support/PageableExecutionUtils.java +++ b/src/main/java/org/springframework/data/repository/support/PageableExecutionUtils.java @@ -38,7 +38,7 @@ public abstract class PageableExecutionUtils { private PageableExecutionUtils() {} /** - * Constructs a {@link Page} based on the given {@code content}, {@link Pageable} and {@link Supplier} applying + * Constructs a {@link Page} based on the given {@code content}, {@link Pageable} and {@link LongSupplier} applying * optimizations. The construction of {@link Page} omits a count query if the total can be determined based on the * result size and {@link Pageable}. * diff --git a/src/main/java/org/springframework/data/repository/support/RepositoryInvoker.java b/src/main/java/org/springframework/data/repository/support/RepositoryInvoker.java index 11ff13c3f..65d3ddebf 100644 --- a/src/main/java/org/springframework/data/repository/support/RepositoryInvoker.java +++ b/src/main/java/org/springframework/data/repository/support/RepositoryInvoker.java @@ -72,7 +72,7 @@ public interface RepositoryInvoker extends RepositoryInvocationInformation { * {@link org.springframework.data.repository.PagingAndSortingRepository#findAll(Sort)}) or the plain equivalent to * {@link org.springframework.data.repository.CrudRepository#findAll()}. * - * @param pageable can be {@literal null}. + * @param sort can be {@literal null}. * @return the result of the invocation of the find-all method. * @throws IllegalStateException if the repository does not expose a find-all-method. */ diff --git a/src/main/java/org/springframework/data/support/PageableExecutionUtils.java b/src/main/java/org/springframework/data/support/PageableExecutionUtils.java index 2eb28791f..0ca6450bf 100644 --- a/src/main/java/org/springframework/data/support/PageableExecutionUtils.java +++ b/src/main/java/org/springframework/data/support/PageableExecutionUtils.java @@ -38,7 +38,7 @@ public abstract class PageableExecutionUtils { private PageableExecutionUtils() {} /** - * Constructs a {@link Page} based on the given {@code content}, {@link Pageable} and {@link Supplier} applying + * Constructs a {@link Page} based on the given {@code content}, {@link Pageable} and {@link LongSupplier} applying * optimizations. The construction of {@link Page} omits a count query if the total can be determined based on the * result size and {@link Pageable}. * diff --git a/src/main/java/org/springframework/data/transaction/ChainedTransactionManager.java b/src/main/java/org/springframework/data/transaction/ChainedTransactionManager.java index aa72401c7..2496cc997 100644 --- a/src/main/java/org/springframework/data/transaction/ChainedTransactionManager.java +++ b/src/main/java/org/springframework/data/transaction/ChainedTransactionManager.java @@ -39,12 +39,12 @@ import org.springframework.util.Assert; * {@link PlatformTransactionManager} implementation that orchestrates transaction creation, commits and rollbacks to a * list of delegates. Using this implementation assumes that errors causing a transaction rollback will usually happen * before the transaction completion or during the commit of the most inner {@link PlatformTransactionManager}. - *

    + *

    * The configured instances will start transactions in the order given and commit/rollback in reverse order, * which means the {@link PlatformTransactionManager} most likely to break the transaction should be the last * in the list configured. A {@link PlatformTransactionManager} throwing an exception during commit will automatically * cause the remaining transaction managers to roll back instead of committing. - *

    + *

    * As consequence, a transaction can get into a state, where the first {@link PlatformTransactionManager} has committed * its transaction and a subsequent {@link PlatformTransactionManager} failed to commit its transaction (e.g. caused by * an I/O error or the transactional resource failed to commit for other reasons). In that case, @@ -53,7 +53,7 @@ import org.springframework.util.Assert; * resource. {@link ChainedTransactionManager} should be only used if the application can tolerate or recover from * inconsistent state caused by partially committed transactions. In any other case, the use of * {@link ChainedTransactionManager} is not recommended. - *

    + *

    * Instead of using {@link ChainedTransactionManager} for attaching callbacks to transaction commit (pre commit/post * commit), either register a {@link org.springframework.transaction.reactive.TransactionSynchronization} to explicitly * follow transaction cleanup with simplified semantics in case of exceptions. diff --git a/src/main/java/org/springframework/data/util/CloseableIterator.java b/src/main/java/org/springframework/data/util/CloseableIterator.java index a62a26815..6210dfab1 100644 --- a/src/main/java/org/springframework/data/util/CloseableIterator.java +++ b/src/main/java/org/springframework/data/util/CloseableIterator.java @@ -59,7 +59,7 @@ public interface CloseableIterator extends Iterator, Closeable { /** * Return a sequential {@code Stream} with this {@link Iterator} as its source. The resulting stream calls - * {@link #clone()} when {@link Stream#close() closed}. The resulting {@link Stream} must be closed after use, it can + * {@link #close()} when {@link Stream#close() closed}. The resulting {@link Stream} must be closed after use, it can * be declared as a resource in a {@code try}-with-resources statement. *

    * This method should be overridden when the {@link #spliterator()} method cannot return a spliterator that is diff --git a/src/main/java/org/springframework/data/util/Lazy.java b/src/main/java/org/springframework/data/util/Lazy.java index bc47d4709..954fa731d 100644 --- a/src/main/java/org/springframework/data/util/Lazy.java +++ b/src/main/java/org/springframework/data/util/Lazy.java @@ -146,7 +146,7 @@ public class Lazy implements Supplier { /** * Returns a new Lazy that will return the given value in case the current one does not yield in a result. * - * @param supplier must not be {@literal null}. + * @param value must not be {@literal null}. * @return */ public Lazy or(T value) { diff --git a/src/main/java/org/springframework/data/util/NullableUtils.java b/src/main/java/org/springframework/data/util/NullableUtils.java index d4297a682..836ae3213 100644 --- a/src/main/java/org/springframework/data/util/NullableUtils.java +++ b/src/main/java/org/springframework/data/util/NullableUtils.java @@ -29,8 +29,6 @@ import java.util.Set; import java.util.function.Predicate; import java.util.stream.Collectors; -import javax.annotation.Nonnull; - import org.springframework.core.MethodParameter; import org.springframework.core.annotation.AnnotatedElementUtils; import org.springframework.core.annotation.AnnotationUtils; @@ -42,9 +40,9 @@ import org.springframework.util.MultiValueMap; /** * Utility methods to introspect nullability rules declared in packages, classes and methods. - *

    - * Nullability rules are declared using {@link NonNullApi} and {@link Nullable} and JSR-305 - * {@link javax.annotation.Nonnull} annotations. By default (no annotation use), a package and its types are considered + *

    + * Nullability rules are declared using {@link NonNullApi}, {@link Nullable}, and JSR-305 + * {@code javax.annotation.Nonnull} annotations. By default (no annotation use), a package and its types are considered * allowing {@literal null} values in return values and method parameters. Nullability rules are expressed by annotating * a package with a JSR-305 meta annotation such as Spring's {@link NonNullApi}. All types of the package inherit the * package rule. Subpackages do not inherit nullability rules and must be annotated themself. @@ -70,15 +68,14 @@ import org.springframework.util.MultiValueMap; * } * } * - *

    - * {@link javax.annotation.Nonnull} is suitable for composition of meta-annotations and expresses via - * {@link Nonnull#when()} in which cases non-nullability is applicable. + *

    + * {@code javax.annotation.Nonnull} is suitable for composition of meta-annotations and expresses via + * {@code javax.annotation.Nonnull#when()} in which cases non-nullability is applicable. * * @author Mark Paluch * @since 2.0 * @see NonNullApi * @see Nullable - * @see Nonnull */ public abstract class NullableUtils { @@ -99,9 +96,9 @@ public abstract class NullableUtils { /** * Determine whether {@link ElementType} in the scope of {@link Method} requires non-{@literal null} values. * Non-nullability rules are discovered from class and package annotations. Non-null is applied when - * {@link javax.annotation.Nonnull} is set to {@link javax.annotation.meta.When#ALWAYS}. + * {@code javax.annotation.Nonnull} is set to {@code javax.annotation.meta.When#ALWAYS}. * - * @param type the class to inspect. + * @param method the method to inspect. * @param elementType the element type. * @return {@literal true} if {@link ElementType} allows {@literal null} values by default. * @see #isNonNull(Annotation, ElementType) @@ -113,7 +110,7 @@ public abstract class NullableUtils { /** * Determine whether {@link ElementType} in the scope of {@code type} requires non-{@literal null} values. * Non-nullability rules are discovered from class and package annotations. Non-null is applied when - * {@link javax.annotation.Nonnull} is set to {@link javax.annotation.meta.When#ALWAYS}. + * {@code javax.annotation.Nonnull} is set to {@code javax.annotation.meta.When#ALWAYS}. * * @param type the class to inspect. * @param elementType the element type. @@ -126,7 +123,7 @@ public abstract class NullableUtils { /** * Determine whether {@link ElementType} in the scope of {@link AnnotatedElement} requires non-{@literal null} values. - * This method determines default {@link javax.annotation.Nonnull nullability} rules from the annotated element + * This method determines default {@code javax.annotation.Nonnull nullability} rules from the annotated element * * @param element the scope of declaration, may be a {@link Package}, {@link Class}, or * {@link java.lang.reflect.Method}. @@ -172,8 +169,8 @@ public abstract class NullableUtils { /** * Determine whether a {@link MethodParameter} is explicitly annotated to be considered nullable. Nullability rules * are discovered from method and parameter annotations. A {@link MethodParameter} is considered nullable when - * {@link javax.annotation.Nonnull} is set to one of {@link javax.annotation.meta.When#UNKNOWN}, - * {@link javax.annotation.meta.When#NEVER}, or {@link javax.annotation.meta.When#MAYBE}. + * {@code javax.annotation.Nonnull} is set to one of {@code javax.annotation.meta.When#UNKNOWN}, + * {@code javax.annotation.meta.When#NEVER}, or {@code javax.annotation.meta.When#MAYBE}. * * @param methodParameter the method parameter to inspect. * @return {@literal true} if the parameter is nullable, {@literal false} otherwise. @@ -203,7 +200,7 @@ public abstract class NullableUtils { } /** - * Introspect {@link Annotation} for being either a meta-annotation composed from {@link Nonnull} or {@link Nonnull} + * Introspect {@link Annotation} for being either a meta-annotation composed from {@code Nonnull} or {code Nonnull} * itself expressing non-nullability. * * @param annotation @@ -214,7 +211,7 @@ public abstract class NullableUtils { } /** - * Introspect {@link Annotation} for being either a meta-annotation composed from {@link Nonnull} or {@link Nonnull} + * Introspect {@link Annotation} for being either a meta-annotation composed from {@code Nonnull} or {@code Nonnull} * itself expressing nullability. * * @param annotation diff --git a/src/main/java/org/springframework/data/web/PagedResourcesAssembler.java b/src/main/java/org/springframework/data/web/PagedResourcesAssembler.java index 1f20ed893..0e431be5a 100644 --- a/src/main/java/org/springframework/data/web/PagedResourcesAssembler.java +++ b/src/main/java/org/springframework/data/web/PagedResourcesAssembler.java @@ -44,7 +44,7 @@ import org.springframework.web.util.UriComponents; import org.springframework.web.util.UriComponentsBuilder; /** - * {@link ResourceAssembler} to easily convert {@link Page} instances into {@link PagedResources}. + * {@link RepresentationModelAssembler} to easily convert {@link Page} instances into {@link PagedModel}. * * @since 1.6 * @author Oliver Gierke @@ -75,12 +75,12 @@ public class PagedResourcesAssembler implements RepresentationModelAssembler< } /** - * Configures whether to always add {@code first} and {@code last} links to the {@link PagedResources} created. - * Defaults to {@literal false} which means that {@code first} and {@code last} links only appear in conjunction with + * Configures whether to always add {@code first} and {@code last} links to the {@link PagedModel} created. Defaults + * to {@literal false} which means that {@code first} and {@code last} links only appear in conjunction with * {@code prev} and {@code next} links. * - * @param forceFirstAndLastRels whether to always add {@code first} and {@code last} links to the - * {@link PagedResources} created. + * @param forceFirstAndLastRels whether to always add {@code first} and {@code last} links to the {@link PagedModel} + * created. * @since 1.11 */ public void setForceFirstAndLastRels(boolean forceFirstAndLastRels) { @@ -97,8 +97,8 @@ public class PagedResourcesAssembler implements RepresentationModelAssembler< } /** - * Creates a new {@link PagedResources} by converting the given {@link Page} into a {@link PageMetadata} instance and - * wrapping the contained elements into {@link Resource} instances. Will add pagination links based on the given the + * Creates a new {@link PagedModel} by converting the given {@link Page} into a {@link PageMetadata} instance and + * wrapping the contained elements into {@link PagedModel} instances. Will add pagination links based on the given the * self link. * * @param page must not be {@literal null}. @@ -110,8 +110,8 @@ public class PagedResourcesAssembler implements RepresentationModelAssembler< } /** - * Creates a new {@link PagedResources} by converting the given {@link Page} into a {@link PageMetadata} instance and - * using the given {@link ResourceAssembler} to turn elements of the {@link Page} into resources. + * Creates a new {@link PagedModel} by converting the given {@link Page} into a {@link PageMetadata} instance and + * using the given {@link PagedModel} to turn elements of the {@link Page} into resources. * * @param page must not be {@literal null}. * @param assembler must not be {@literal null}. @@ -123,9 +123,9 @@ public class PagedResourcesAssembler implements RepresentationModelAssembler< } /** - * Creates a new {@link PagedResources} by converting the given {@link Page} into a {@link PageMetadata} instance and - * using the given {@link ResourceAssembler} to turn elements of the {@link Page} into resources. Will add pagination - * links based on the given the self link. + * Creates a new {@link PagedModel} by converting the given {@link Page} into a {@link PageMetadata} instance and + * using the given {@link PagedModel} to turn elements of the {@link Page} into resources. Will add pagination links + * based on the given the self link. * * @param page must not be {@literal null}. * @param assembler must not be {@literal null}. @@ -141,7 +141,7 @@ public class PagedResourcesAssembler implements RepresentationModelAssembler< } /** - * Creates a {@link PagedResources} with an empt collection {@link EmbeddedWrapper} for the given domain type. + * Creates a {@link PagedModel} with an empt collection {@link EmbeddedWrapper} for the given domain type. * * @param page must not be {@literal null}, content must be empty. * @param type must not be {@literal null}. @@ -153,7 +153,7 @@ public class PagedResourcesAssembler implements RepresentationModelAssembler< } /** - * Creates a {@link PagedResources} with an empt collection {@link EmbeddedWrapper} for the given domain type. + * Creates a {@link PagedModel} with an empt collection {@link EmbeddedWrapper} for the given domain type. * * @param page must not be {@literal null}, content must be empty. * @param type must not be {@literal null}. @@ -181,9 +181,9 @@ public class PagedResourcesAssembler implements RepresentationModelAssembler< } /** - * Creates the {@link PagedResources} to be equipped with pagination links downstream. + * Creates the {@link PagedModel} to be equipped with pagination links downstream. * - * @param resources the original page's elements mapped into {@link ResourceSupport} instances. + * @param resources the original page's elements mapped into {@link RepresentationModel} instances. * @param metadata the calculated {@link PageMetadata}, must not be {@literal null}. * @param page the original page handed to the assembler, must not be {@literal null}. * @return must not be {@literal null}. diff --git a/src/main/java/org/springframework/data/web/config/EnableSpringDataWebSupport.java b/src/main/java/org/springframework/data/web/config/EnableSpringDataWebSupport.java index 8eeea3acf..78ad17624 100644 --- a/src/main/java/org/springframework/data/web/config/EnableSpringDataWebSupport.java +++ b/src/main/java/org/springframework/data/web/config/EnableSpringDataWebSupport.java @@ -58,7 +58,7 @@ import org.springframework.util.ClassUtils; *

  • {@link org.springframework.data.web.PagedResourcesAssembler} - for injection into web components
  • *
  • {@link org.springframework.data.web.SortHandlerMethodArgumentResolver} - for injection of * {@link org.springframework.data.web.PagedResourcesAssembler} into controller methods
  • - *
      + *
    * * @since 1.6 * @see SpringDataWebConfiguration diff --git a/src/main/java/org/springframework/data/web/config/ReactiveQuerydslWebConfiguration.java b/src/main/java/org/springframework/data/web/config/ReactiveQuerydslWebConfiguration.java index 863e3b312..f952341cd 100644 --- a/src/main/java/org/springframework/data/web/config/ReactiveQuerydslWebConfiguration.java +++ b/src/main/java/org/springframework/data/web/config/ReactiveQuerydslWebConfiguration.java @@ -48,7 +48,7 @@ public class ReactiveQuerydslWebConfiguration implements WebFluxConfigurer { @Autowired BeanFactory beanFactory; /** - * Default {@link ReactiveQuerydslPredicateArgumentResolver} to create Querydsl {@link Predicate} instances for Spring + * Default {@link ReactiveQuerydslPredicateArgumentResolver} to create Querydsl {@code Predicate} instances for Spring * WebFlux controller methods. * * @return diff --git a/src/test/java/org/springframework/data/mapping/Child.java b/src/test/java/org/springframework/data/mapping/Child.java index d5190f516..05ecec8ec 100644 --- a/src/test/java/org/springframework/data/mapping/Child.java +++ b/src/test/java/org/springframework/data/mapping/Child.java @@ -18,7 +18,7 @@ package org.springframework.data.mapping; import org.springframework.data.annotation.Persistent; /** - * @author Jon Brisbin + * @author Jon Brisbin */ @Persistent public class Child extends PersonWithId { diff --git a/src/test/java/org/springframework/data/mapping/Document.java b/src/test/java/org/springframework/data/mapping/Document.java index 6e866a8ac..2ed1b7d41 100644 --- a/src/test/java/org/springframework/data/mapping/Document.java +++ b/src/test/java/org/springframework/data/mapping/Document.java @@ -23,7 +23,7 @@ import java.lang.annotation.Target; import org.springframework.data.annotation.Persistent; /** - * @author Jon Brisbin + * @author Jon Brisbin */ @Retention(RetentionPolicy.RUNTIME) @Target({ ElementType.TYPE, ElementType.FIELD }) diff --git a/src/test/java/org/springframework/data/mapping/Person.java b/src/test/java/org/springframework/data/mapping/Person.java index d36e2df0f..1c9ff6e1c 100644 --- a/src/test/java/org/springframework/data/mapping/Person.java +++ b/src/test/java/org/springframework/data/mapping/Person.java @@ -16,7 +16,7 @@ package org.springframework.data.mapping; /** - * @author Jon Brisbin + * @author Jon Brisbin */ public abstract class Person { diff --git a/src/test/java/org/springframework/data/mapping/PersonDocument.java b/src/test/java/org/springframework/data/mapping/PersonDocument.java index 2f214cfeb..6d35c4c14 100644 --- a/src/test/java/org/springframework/data/mapping/PersonDocument.java +++ b/src/test/java/org/springframework/data/mapping/PersonDocument.java @@ -16,7 +16,7 @@ package org.springframework.data.mapping; /** - * @author Jon Brisbin + * @author Jon Brisbin */ @Document public class PersonDocument extends Person { diff --git a/src/test/java/org/springframework/data/mapping/PersonNoId.java b/src/test/java/org/springframework/data/mapping/PersonNoId.java index 5bb3fd179..1cb8102f7 100644 --- a/src/test/java/org/springframework/data/mapping/PersonNoId.java +++ b/src/test/java/org/springframework/data/mapping/PersonNoId.java @@ -16,7 +16,7 @@ package org.springframework.data.mapping; /** - * @author Jon Brisbin + * @author Jon Brisbin */ @Document public class PersonNoId extends Person { diff --git a/src/test/java/org/springframework/data/mapping/PersonPersistent.java b/src/test/java/org/springframework/data/mapping/PersonPersistent.java index d653697f2..d58163036 100644 --- a/src/test/java/org/springframework/data/mapping/PersonPersistent.java +++ b/src/test/java/org/springframework/data/mapping/PersonPersistent.java @@ -18,7 +18,7 @@ package org.springframework.data.mapping; import org.springframework.data.annotation.Persistent; /** - * @author Jon Brisbin + * @author Jon Brisbin */ @Persistent public class PersonPersistent extends PersonWithId { diff --git a/src/test/java/org/springframework/data/mapping/PersonWithChildren.java b/src/test/java/org/springframework/data/mapping/PersonWithChildren.java index 1c87844a3..133af85a1 100644 --- a/src/test/java/org/springframework/data/mapping/PersonWithChildren.java +++ b/src/test/java/org/springframework/data/mapping/PersonWithChildren.java @@ -21,7 +21,7 @@ import org.springframework.data.annotation.Id; import org.springframework.data.annotation.Reference; /** - * @author Jon Brisbin + * @author Jon Brisbin */ public class PersonWithChildren extends Person { diff --git a/src/test/java/org/springframework/data/mapping/PersonWithId.java b/src/test/java/org/springframework/data/mapping/PersonWithId.java index 522cdcdfa..f9acfd966 100644 --- a/src/test/java/org/springframework/data/mapping/PersonWithId.java +++ b/src/test/java/org/springframework/data/mapping/PersonWithId.java @@ -18,7 +18,7 @@ package org.springframework.data.mapping; import org.springframework.data.annotation.Id; /** - * @author Jon Brisbin + * @author Jon Brisbin */ public class PersonWithId extends Person {