DATAJDBC-237 - Removed @since annotations.

@since annotation are only supposed to be used for classes introduced after the initial release.
This commit is contained in:
Jens Schauder
2018-07-20 13:36:50 +02:00
parent 12d539a017
commit 8ee15fb1fd
66 changed files with 0 additions and 69 deletions

View File

@@ -29,7 +29,6 @@ import org.springframework.data.relational.core.mapping.RelationalPersistentProp
* not throw an exception.
*
* @author Jens Schauder
* @since 1.0
*/
public class CascadingDataAccessStrategy implements DataAccessStrategy {

View File

@@ -27,7 +27,6 @@ import org.springframework.lang.Nullable;
* complete aggregates.
*
* @author Jens Schauder
* @since 1.0
*/
public interface DataAccessStrategy {

View File

@@ -50,7 +50,6 @@ import org.springframework.util.Assert;
*
* @author Jens Schauder
* @author Mark Paluch
* @since 1.0
*/
@RequiredArgsConstructor
public class DefaultDataAccessStrategy implements DataAccessStrategy {

View File

@@ -44,7 +44,6 @@ import org.springframework.lang.Nullable;
*
* @author Jens Schauder
* @author Mark Paluch
* @since 1.0
*/
@RequiredArgsConstructor
class DefaultJdbcInterpreter implements Interpreter {

View File

@@ -26,7 +26,6 @@ import org.springframework.util.Assert;
* cyclical dependencies.
*
* @author Jens Schauder
* @since 1.0
*/
public class DelegatingDataAccessStrategy implements DataAccessStrategy {

View File

@@ -38,7 +38,6 @@ import org.springframework.util.Assert;
* @author Jens Schauder
* @author Oliver Gierke
* @author Mark Paluch
* @since 1.0
*/
public class EntityRowMapper<T> implements RowMapper<T> {

View File

@@ -34,7 +34,6 @@ import org.springframework.dao.DataAccessException;
* exceptions this {@link Collector} throws itself an exception, gathering all exceptions thrown.
*
* @author Jens Schauder
* @since 1.0
*/
class FunctionCollector<T> implements Collector<DataAccessStrategy, FunctionCollector.ResultOrException<T>, T> {

View File

@@ -29,7 +29,6 @@ import org.springframework.util.Assert;
* A converter for creating a {@link Map} from an {@link Iterable<Map.Entry>}.
*
* @author Jens Schauder
* @since 1.0
*/
class IterableOfEntryToMapConverter implements ConditionalConverter, Converter<Iterable<?>, Map<?, ?>> {

View File

@@ -21,7 +21,6 @@ import org.springframework.lang.Nullable;
* Specifies a operations one can perform on a database, based on an <em>Domain Type</em>.
*
* @author Jens Schauder
* @since 1.0
*/
public interface JdbcAggregateOperations {

View File

@@ -41,7 +41,6 @@ import org.springframework.util.Assert;
*
* @author Jens Schauder
* @author Mark Paluch
* @since 1.0
*/
public class JdbcAggregateTemplate implements JdbcAggregateOperations {

View File

@@ -29,7 +29,6 @@ import org.springframework.lang.NonNull;
* {@link Map.Entry} is delegated to a {@link RowMapper} provided in the constructor.
*
* @author Jens Schauder
* @since 1.0
*/
class MapEntityRowMapper<T> implements RowMapper<Map.Entry<Object, T>> {

View File

@@ -27,7 +27,6 @@ import java.util.stream.Collectors;
* {@link JdbcAggregateTemplate}.
*
* @author Jens Schauder
* @since 1.0
*/
class SelectBuilder {

View File

@@ -39,7 +39,6 @@ import org.springframework.util.Assert;
* Generates SQL statements to be used by {@link SimpleJdbcRepository}
*
* @author Jens Schauder
* @since 1.0
*/
class SqlGenerator {

View File

@@ -27,7 +27,6 @@ import org.springframework.data.relational.core.mapping.RelationalMappingContext
* type, the same generator will get returned.
*
* @author Jens Schauder
* @since 1.0
*/
@RequiredArgsConstructor
public class SqlGeneratorSource {

View File

@@ -21,7 +21,6 @@ import org.springframework.dao.NonTransientDataAccessException;
* Signals failure to set the id property of an entity.
*
* @author Jens Schauder
* @since 1.0
*/
public class UnableToSetId extends NonTransientDataAccessException {

View File

@@ -25,7 +25,6 @@ import org.springframework.lang.Nullable;
* the kind of values available on invocation.
*
* @author Jens Schauder
* @since 1.0
*/
public class MyBatisContext {

View File

@@ -48,7 +48,6 @@ import org.springframework.util.Assert;
* @author Kazuki Shimizu
* @author Oliver Gierke
* @author Mark Paluch
* @since 1.0
*/
public class MyBatisDataAccessStrategy implements DataAccessStrategy {

View File

@@ -20,7 +20,6 @@ package org.springframework.data.jdbc.mybatis;
*
* @author Kazuki Shimizu
* @author Jens Schauder
* @since 1.0
*/
public interface NamespaceStrategy {

View File

@@ -22,7 +22,6 @@ import org.springframework.lang.Nullable;
* A map from a type to a {@link RowMapper} to be used for extracting that type from {@link java.sql.ResultSet}s.
*
* @author Jens Schauder
* @since 1.0
*/
public interface RowMapperMap {

View File

@@ -27,7 +27,6 @@ import org.springframework.util.Assert;
* A {@link RowMapperMap} that allows for registration of {@link RowMapper}s via a fluent Api.
*
* @author Jens Schauder
* @since 1.0
*/
public class ConfigurableRowMapperMap implements RowMapperMap {

View File

@@ -31,7 +31,6 @@ import org.springframework.data.domain.AuditorAware;
*
* @see EnableJdbcRepositories
* @author Kazuki Shimizu
* @since 1.0
*/
@Inherited
@Documented

View File

@@ -33,7 +33,6 @@ import org.springframework.data.jdbc.repository.support.JdbcRepositoryFactoryBea
*
* @author Jens Schauder
* @author Greg Turnquist
* @since 1.0
*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)

View File

@@ -34,7 +34,6 @@ import org.springframework.util.Assert;
* @see EnableJdbcAuditing
* @author Kazuki Shimizu
* @author Jens Schauder
* @since 1.0
*/
class JdbcAuditingRegistrar extends AuditingBeanDefinitionRegistrarSupport {

View File

@@ -33,7 +33,6 @@ import org.springframework.data.relational.core.mapping.RelationalMappingContext
* @author Greg Turnquist
* @author Jens Schauder
* @author Mark Paluch
* @since 1.0
*/
@Configuration
public class JdbcConfiguration {

View File

@@ -25,7 +25,6 @@ import org.springframework.data.repository.config.RepositoryConfigurationExtensi
* {@link ImportBeanDefinitionRegistrar} to enable {@link EnableJdbcRepositories} annotation.
*
* @author Jens Schauder
* @since 1.0
*/
class JdbcRepositoriesRegistrar extends RepositoryBeanDefinitionRegistrarSupport {

View File

@@ -25,7 +25,6 @@ import org.springframework.data.repository.config.RepositoryConfigurationExtensi
* registration process by registering JDBC repositories.
*
* @author Jens Schauder
* @since 1.0
*/
public class JdbcRepositoryConfigExtension extends RepositoryConfigurationExtensionSupport {

View File

@@ -25,7 +25,6 @@ import java.lang.annotation.Target;
* Indicates a method should be regarded as modifying query.
*
* @author Kazuki Shimizu
* @since 1.0
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.METHOD, ElementType.ANNOTATION_TYPE })

View File

@@ -31,7 +31,6 @@ import org.springframework.jdbc.core.RowMapper;
* Those parameters will get bound to the arguments of the annotated method.
*
* @author Jens Schauder
* @since 1.0
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)

View File

@@ -40,7 +40,6 @@ import org.springframework.util.Assert;
* @author Kazuki Shimizu
* @author Oliver Gierke
* @author Mark Paluch
* @since 1.0
*/
class JdbcQueryLookupStrategy implements QueryLookupStrategy {

View File

@@ -32,7 +32,6 @@ import org.springframework.lang.Nullable;
*
* @author Jens Schauder
* @author Kazuki Shimizu
* @since 1.0
*/
public class JdbcQueryMethod extends QueryMethod {

View File

@@ -42,7 +42,6 @@ import org.springframework.util.Assert;
* @author Greg Turnquist
* @author Christoph Strobl
* @author Mark Paluch
* @since 1.0
*/
public class JdbcRepositoryFactory extends RepositoryFactorySupport {

View File

@@ -41,7 +41,6 @@ import org.springframework.util.Assert;
* @author Christoph Strobl
* @author Oliver Gierke
* @author Mark Paluch
* @since 1.0
*/
public class JdbcRepositoryFactoryBean<T extends Repository<S, ID>, S, ID extends Serializable> //
extends TransactionalRepositoryFactoryBeanSupport<T, S, ID> implements ApplicationEventPublisherAware {

View File

@@ -33,7 +33,6 @@ import org.springframework.util.StringUtils;
* @author Jens Schauder
* @author Kazuki Shimizu
* @author Oliver Gierke
* @since 1.0
*/
class JdbcRepositoryQuery implements RepositoryQuery {

View File

@@ -29,7 +29,6 @@ import org.springframework.data.repository.CrudRepository;
/**
* @author Jens Schauder
* @author Oliver Gierke
* @since 1.0
*/
@RequiredArgsConstructor
public class SimpleJdbcRepository<T, ID> implements CrudRepository<T, ID> {

View File

@@ -32,7 +32,6 @@ import org.springframework.jdbc.support.JdbcUtils;
* Contains methods dealing with the quirks of JDBC, independent of any Entity, Aggregate or Repository abstraction.
*
* @author Jens Schauder
* @since 1.0
*/
@UtilityClass
public class JdbcUtil {

View File

@@ -26,7 +26,6 @@ import java.util.List;
*
* @author Jens Schauder
* @author Mark Paluch
* @since 1.0
*/
@RequiredArgsConstructor
@Getter

View File

@@ -30,7 +30,6 @@ import org.springframework.data.relational.core.mapping.RelationalPersistentProp
*
* @param <T> the type of the entity that is affected by this action.
* @author Jens Schauder
* @since 1.0
*/
public interface DbAction<T> {
@@ -231,7 +230,6 @@ public interface DbAction<T> {
* An action depending on another action for providing additional information like the id of a parent entity.
*
* @author Jens Schauder
* @since 1.0
*/
interface WithDependingOn<T> extends WithPropertyPath<T> {
@@ -259,7 +257,6 @@ public interface DbAction<T> {
* A {@link DbAction} that stores the information of a single entity in the database.
*
* @author Jens Schauder
* @since 1.0
*/
interface WithEntity<T> extends DbAction<T> {
@@ -279,7 +276,6 @@ public interface DbAction<T> {
* A {@link DbAction} not operation on the root of an aggregate but on its contained entities.
*
* @author Jens Schauder
* @since 1.0
*/
interface WithPropertyPath<T> extends DbAction<T> {

View File

@@ -20,7 +20,6 @@ package org.springframework.data.relational.core.conversion;
* context information about the action and the entity.
*
* @author Jens Schauder
* @since 1.0
*/
public class DbActionExecutionException extends RuntimeException {

View File

@@ -32,7 +32,6 @@ import org.springframework.data.relational.core.conversion.DbAction.UpdateRoot;
* it using JDBC, but it may also use some third party technology like MyBatis or jOOQ to do this.
*
* @author Jens Schauder
* @since 1.0
*/
public interface Interpreter {

View File

@@ -31,7 +31,6 @@ import org.springframework.util.Assert;
*
* @author Jens Schauder
* @author Mark Paluch
* @since 1.0
*/
public class RelationalEntityDeleteWriter implements EntityWriter<Object, AggregateChange<?>> {

View File

@@ -40,7 +40,6 @@ import org.springframework.util.Assert;
*
* @author Jens Schauder
* @author Mark Paluch
* @since 1.0
*/
public class RelationalEntityWriter implements EntityWriter<Object, AggregateChange<?>> {

View File

@@ -24,7 +24,6 @@ import org.springframework.util.StringUtils;
* empty path. See https://jira.spring.io/browse/DATACMNS-1204.
*
* @author Jens Schauder
* @since 1.0
*/
public class RelationalPropertyPath {

View File

@@ -38,7 +38,6 @@ import org.springframework.util.ClassUtils;
*
* @author Jens Schauder
* @author Greg Turnquist
* @since 1.0
*/
class BasicRelationalPersistentProperty extends AnnotationBasedPersistentProperty<RelationalPersistentProperty>
implements RelationalPersistentProperty {

View File

@@ -25,7 +25,6 @@ import java.lang.annotation.Target;
* The annotation to configure the mapping from an attribute to a database column.
*
* @author Kazuki Shimizu
* @since 1.0
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.FIELD, ElementType.METHOD, ElementType.ANNOTATION_TYPE })

View File

@@ -30,7 +30,6 @@ import org.springframework.util.Assert;
* @author Kazuki Shimizu
* @author Jens Schauder
* @author Oliver Gierke
* @since 1.0
*/
public interface NamingStrategy {

View File

@@ -38,7 +38,6 @@ import org.springframework.util.Assert;
* @author Kazuki Shimizu
* @author Oliver Gierke
* @author Mark Paluch
* @since 1.0
*/
public class RelationalMappingContext extends AbstractMappingContext<RelationalPersistentEntity<?>, RelationalPersistentProperty> {

View File

@@ -23,7 +23,6 @@ import org.springframework.data.mapping.model.MutablePersistentEntity;
*
* @author Jens Schauder
* @author Oliver Gierke
* @since 1.0
*/
public interface RelationalPersistentEntity<T> extends MutablePersistentEntity<T, RelationalPersistentProperty> {

View File

@@ -27,7 +27,6 @@ import org.springframework.data.util.TypeInformation;
*
* @author Jens Schauder
* @author Greg Turnquist
* @since 1.0
*/
class RelationalPersistentEntityImpl<T> extends BasicPersistentEntity<T, RelationalPersistentProperty>
implements RelationalPersistentEntity<T> {

View File

@@ -23,7 +23,6 @@ import org.springframework.lang.Nullable;
*
* @author Jens Schauder
* @author Oliver Gierke
* @since 1.0
*/
public interface RelationalPersistentProperty extends PersistentProperty<RelationalPersistentProperty> {

View File

@@ -26,7 +26,6 @@ import java.lang.annotation.Target;
* The annotation to configure the mapping from a class to a database table.
*
* @author Kazuki Shimizu
* @since 1.0
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)

View File

@@ -25,7 +25,6 @@ import org.springframework.data.relational.core.mapping.event.Identifier.Specifi
* not depends on the delete method used.
*
* @author Jens Schauder
* @since 1.0
*/
public class AfterDeleteEvent extends RelationalEventWithId {

View File

@@ -22,7 +22,6 @@ import org.springframework.data.relational.core.mapping.event.Identifier.Specifi
* postprocessing of entities.
*
* @author Jens Schauder
* @since 1.0
*/
public class AfterLoadEvent extends RelationalEventWithIdAndEntity {

View File

@@ -22,7 +22,6 @@ import org.springframework.data.relational.core.mapping.event.Identifier.Specifi
* Gets published after a new instance or a changed instance was saved in the database.
*
* @author Jens Schauder
* @since 1.0
*/
public class AfterSaveEvent extends RelationalEventWithIdAndEntity {

View File

@@ -25,7 +25,6 @@ import org.springframework.data.relational.core.mapping.event.Identifier.Specifi
* changed in order to change the actions that get performed on the database as part of the delete operation.
*
* @author Jens Schauder
* @since 1.0
*/
public class BeforeDeleteEvent extends RelationalEventWithId {

View File

@@ -22,7 +22,6 @@ import org.springframework.data.relational.core.conversion.AggregateChange;
* be changed in order to change the actions that get performed on the database as part of the save operation.
*
* @author Jens Schauder
* @since 1.0
*/
public class BeforeSaveEvent extends RelationalEventWithEntity {

View File

@@ -24,7 +24,6 @@ import org.springframework.util.Assert;
* Wrapper for an identifier of an entity. Might either be a {@link Specified} or {@link Unset#UNSET}
*
* @author Jens Schauder
* @since 1.0
*/
public interface Identifier {

View File

@@ -22,7 +22,6 @@ import java.util.Optional;
* event.
*
* @author Oliver Gierke
* @since 1.0
*/
public interface RelationalEvent {

View File

@@ -23,7 +23,6 @@ import org.springframework.data.relational.core.conversion.AggregateChange;
* A {@link SimpleRelationalEvent} which is guaranteed to have an entity.
*
* @author Jens Schauder
* @since 1.0
*/
public class RelationalEventWithEntity extends SimpleRelationalEvent implements WithEntity {

View File

@@ -25,7 +25,6 @@ import org.springframework.lang.Nullable;
* A {@link SimpleRelationalEvent} guaranteed to have an identifier.
*
* @author Jens Schauder
* @since 1.0
*/
public class RelationalEventWithId extends SimpleRelationalEvent implements WithId {

View File

@@ -27,7 +27,6 @@ import org.springframework.lang.Nullable;
* A {@link SimpleRelationalEvent} which is guaranteed to have an identifier and an entity.
*
* @author Jens Schauder
* @since 1.0
*/
@Getter
public class RelationalEventWithIdAndEntity extends RelationalEventWithId implements WithEntity {

View File

@@ -27,7 +27,6 @@ import org.springframework.lang.Nullable;
*
* @author Jens Schauder
* @author Oliver Gierke
* @since 1.0
*/
class SimpleRelationalEvent extends ApplicationEvent implements RelationalEvent {

View File

@@ -27,7 +27,6 @@ import org.springframework.data.relational.core.mapping.event.Identifier.Specifi
*
* @author Jens Schauder
* @author Oliver Gierke
* @since 1.0
*/
@Value(staticConstructor = "of")
class SpecifiedIdentifier implements Specified {

View File

@@ -22,7 +22,6 @@ import java.util.Optional;
*
* @author Jens Schaude
* @author Oliver Gierke
* @since 1.0
*/
enum Unset implements Identifier {

View File

@@ -20,7 +20,6 @@ package org.springframework.data.relational.core.mapping.event;
* without going through an {@link java.util.Optional}
*
* @author Jens Schauder
* @since 1.0
*/
public interface WithEntity extends RelationalEvent {

View File

@@ -22,7 +22,6 @@ import org.springframework.data.relational.core.mapping.event.Identifier.Specifi
* access to the {@link Specified} identifier.
*
* @author Jens Schauder
* @since 1.0
*/
public interface WithId extends RelationalEvent {

View File

@@ -31,7 +31,6 @@ import org.springframework.data.relational.core.mapping.event.BeforeSaveEvent;
* @author Jens Schauder
* @author Oliver Gierke
* @see EnableJdbcAuditing
* @since 1.0
*/
@RequiredArgsConstructor
public class RelationalAuditingEventListener implements ApplicationListener<BeforeSaveEvent> {