DATACMNS-1240 - Update copyright years to 2018.

Also, remove some trailing whitespaces and align outdated license header format.
This commit is contained in:
Mark Paluch
2018-01-01 08:59:42 +01:00
parent eb2163a29e
commit 51e7e1b7f5
632 changed files with 2269 additions and 2278 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2017 the original author or authors.
* Copyright 2014-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -33,7 +33,7 @@ import org.springframework.util.ClassUtils;
/**
* Scanner to find types with annotations on the classpath.
*
*
* @author Oliver Gierke
* @author Christoph Strobl
*/
@@ -47,7 +47,7 @@ public class AnnotatedTypeScanner implements ResourceLoaderAware, EnvironmentAwa
/**
* Creates a new {@link AnnotatedTypeScanner} for the given annotation types.
*
*
* @param annotationTypes the annotation types to scan for.
*/
@SafeVarargs
@@ -57,7 +57,7 @@ public class AnnotatedTypeScanner implements ResourceLoaderAware, EnvironmentAwa
/**
* Creates a new {@link AnnotatedTypeScanner} for the given annotation types.
*
*
* @param considerInterfaces whether to consider interfaces as well.
* @param annotationTypes the annotations to scan for.
*/
@@ -68,7 +68,7 @@ public class AnnotatedTypeScanner implements ResourceLoaderAware, EnvironmentAwa
this.considerInterfaces = considerInterfaces;
}
/*
/*
* (non-Javadoc)
* @see org.springframework.context.ResourceLoaderAware#setResourceLoader(org.springframework.core.io.ResourceLoader)
*/
@@ -77,7 +77,7 @@ public class AnnotatedTypeScanner implements ResourceLoaderAware, EnvironmentAwa
this.resourceLoader = resourceLoader;
}
/*
/*
* (non-Javadoc)
* @see org.springframework.context.EnvironmentAware#setEnvironment(org.springframework.core.env.Environment)
*/
@@ -136,7 +136,7 @@ public class AnnotatedTypeScanner implements ResourceLoaderAware, EnvironmentAwa
/**
* Custom extension of {@link ClassPathScanningCandidateComponentProvider} to make sure interfaces to not get dropped
* from scanning results.
*
*
* @author Oliver Gierke
*/
private static class InterfaceAwareScanner extends ClassPathScanningCandidateComponentProvider {
@@ -148,7 +148,7 @@ public class AnnotatedTypeScanner implements ResourceLoaderAware, EnvironmentAwa
this.considerInterfaces = considerInterfaces;
}
/*
/*
* (non-Javadoc)
* @see org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider#isCandidateComponent(org.springframework.beans.factory.annotation.AnnotatedBeanDefinition)
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2017 the original author or authors.
* Copyright 2012-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -27,7 +27,7 @@ import org.springframework.util.ReflectionUtils.FieldCallback;
/**
* A {@link FieldCallback} that will inspect each field for a given annotation. This field's type can then be accessed
* afterwards.
*
*
* @author Oliver Gierke
* @author Christoph Strobl
*/
@@ -38,7 +38,7 @@ public class AnnotationDetectionFieldCallback implements FieldCallback {
/**
* Creates a new {@link AnnotationDetectionFieldCallback} scanning for an annotation of the given type.
*
*
* @param annotationType must not be {@literal null}.
*/
public AnnotationDetectionFieldCallback(Class<? extends Annotation> annotationType) {
@@ -67,7 +67,7 @@ public class AnnotationDetectionFieldCallback implements FieldCallback {
/**
* Returns the detected field.
*
*
* @return the field
*/
@Nullable
@@ -77,7 +77,7 @@ public class AnnotationDetectionFieldCallback implements FieldCallback {
/**
* Returns the field that was detected.
*
*
* @return
* @throws IllegalStateException in case no field with the configured annotation was found.
*/
@@ -94,7 +94,7 @@ public class AnnotationDetectionFieldCallback implements FieldCallback {
/**
* Returns the type of the field.
*
*
* @return
*/
@Nullable
@@ -107,7 +107,7 @@ public class AnnotationDetectionFieldCallback implements FieldCallback {
/**
* Returns the type of the field or throws an {@link IllegalArgumentException} if no field could be found.
*
*
* @return
* @throws IllegalStateException in case no field with the configured annotation was found.
*/
@@ -117,7 +117,7 @@ public class AnnotationDetectionFieldCallback implements FieldCallback {
/**
* Retrieves the value of the field by reflection.
*
*
* @param source must not be {@literal null}.
* @return
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2016 the original author or authors.
* Copyright 2014-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -25,7 +25,7 @@ import org.springframework.util.ReflectionUtils.MethodCallback;
/**
* {@link MethodCallback} to find annotations of a given type.
*
*
* @author Oliver Gierke
* @author Christoph Strobl
*/
@@ -41,7 +41,7 @@ public class AnnotationDetectionMethodCallback<A extends Annotation> implements
/**
* Creates a new {@link AnnotationDetectionMethodCallback} for the given annotation type.
*
*
* @param annotationType must not be {@literal null}.
*/
public AnnotationDetectionMethodCallback(Class<A> annotationType) {
@@ -50,7 +50,7 @@ public class AnnotationDetectionMethodCallback<A extends Annotation> implements
/**
* Creates a new {@link AnnotationDetectionMethodCallback} for the given annotation type.
*
*
* @param annotationType must not be {@literal null}.
* @param enforceUniqueness whether to fail if multiple methods with the annotation are found.
*/
@@ -72,7 +72,7 @@ public class AnnotationDetectionMethodCallback<A extends Annotation> implements
/**
* Returns the method with the configured annotation.
*
*
* @return
* @throws IllegalStateException in case no method with the configured annotation was found.
*/
@@ -97,14 +97,14 @@ public class AnnotationDetectionMethodCallback<A extends Annotation> implements
/**
* Returns whether an annotation was found.
*
*
* @return
*/
public boolean hasFoundAnnotation() {
return annotation != null;
}
/*
/*
* (non-Javadoc)
* @see org.springframework.util.ReflectionUtils.MethodCallback#doWith(java.lang.reflect.Method)
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2017 the original author or authors.
* Copyright 2017-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2011-2017 the original author or authors.
* Copyright 2011-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -35,7 +35,7 @@ import org.springframework.util.ConcurrentReferenceHashMap;
/**
* {@link TypeInformation} for a plain {@link Class}.
*
*
* @author Oliver Gierke
* @author Christoph Strobl
*/
@@ -58,7 +58,7 @@ public class ClassTypeInformation<S> extends TypeDiscoverer<S> {
/**
* Simple factory method to easily create new instances of {@link ClassTypeInformation}.
*
*
* @param <S>
* @param type must not be {@literal null}.
* @return
@@ -72,7 +72,7 @@ public class ClassTypeInformation<S> extends TypeDiscoverer<S> {
/**
* Creates a {@link TypeInformation} from the given method's return type.
*
*
* @param method must not be {@literal null}.
* @return
*/
@@ -85,7 +85,7 @@ public class ClassTypeInformation<S> extends TypeDiscoverer<S> {
/**
* Creates {@link ClassTypeInformation} for the given type.
*
*
* @param type
*/
ClassTypeInformation(Class<S> type) {
@@ -95,7 +95,7 @@ public class ClassTypeInformation<S> extends TypeDiscoverer<S> {
/**
* Little helper to allow us to create a generified map, actually just to satisfy the compiler.
*
*
* @param type must not be {@literal null}.
* @return
*/
@@ -141,7 +141,7 @@ public class ClassTypeInformation<S> extends TypeDiscoverer<S> {
return type;
}
/*
/*
* (non-Javadoc)
* @see org.springframework.data.util.TypeDiscoverer#getRawTypeInformation()
*/
@@ -150,7 +150,7 @@ public class ClassTypeInformation<S> extends TypeDiscoverer<S> {
return this;
}
/*
/*
* (non-Javadoc)
* @see org.springframework.data.util.TypeDiscoverer#isAssignableFrom(org.springframework.data.util.TypeInformation)
*/
@@ -168,7 +168,7 @@ public class ClassTypeInformation<S> extends TypeDiscoverer<S> {
return (TypeInformation<? extends S>) type;
}
/*
/*
* (non-Javadoc)
* @see java.lang.Object#toString()
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2015 the original author or authors.
* Copyright 2015-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -22,7 +22,7 @@ import java.util.Iterator;
* A {@link CloseableIterator} serves as a bridging data structure for the underlying data store specific results that
* can be wrapped in a Java 8 {@link java.util.stream.Stream}. This allows implementations to clean up any resources
* they need to keep open to iterate over elements.
*
*
* @author Thomas Darimont
* @param <T>
* @since 1.10

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2014 the original author or authors.
* Copyright 2012-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -27,7 +27,7 @@ import org.springframework.lang.Nullable;
/**
* Custom extension of {@link BeanWrapperImpl} that falls back to direct field access in case the object or type being
* wrapped does not use accessor methods.
*
*
* @author Oliver Gierke
*/
public class DirectFieldAccessFallbackBeanWrapper extends BeanWrapperImpl {
@@ -40,7 +40,7 @@ public class DirectFieldAccessFallbackBeanWrapper extends BeanWrapperImpl {
super(type);
}
/*
/*
* (non-Javadoc)
* @see org.springframework.beans.BeanWrapperImpl#getPropertyValue(java.lang.String)
*/
@@ -64,7 +64,7 @@ public class DirectFieldAccessFallbackBeanWrapper extends BeanWrapperImpl {
}
}
/*
/*
* (non-Javadoc)
* @see org.springframework.beans.BeanWrapperImpl#setPropertyValue(java.lang.String, java.lang.Object)
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2011-2017 the original author or authors.
* Copyright 2011-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2016-2017 the original author or authors.
* Copyright 2016-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -72,7 +72,7 @@ public class Lazy<T> implements Supplier<T> {
/**
* Returns the value of the lazy computation or the given default value in case the computation yields
* {@literal null}.
*
*
* @param value
* @return
*/
@@ -84,7 +84,7 @@ public class Lazy<T> implements Supplier<T> {
/**
* Returns the value of the lazy computation or the value produced by the given {@link Supplier} in case the original
* value is {@literal null}.
*
*
* @param supplier must not be {@literal null}.
* @return
*/
@@ -126,7 +126,7 @@ public class Lazy<T> implements Supplier<T> {
/**
* Returns the value of the lazy evaluation.
*
*
* @return
*/
@Nullable

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2017 the original author or authors.
* Copyright 2017-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -23,7 +23,7 @@ import java.util.stream.Stream;
/**
* Lazy implementation of {@link Streamable} obtains a {@link Stream} from a given {@link Supplier}.
*
*
* @author Oliver Gierke
* @since 2.0
*/
@@ -41,7 +41,7 @@ class LazyStreamable<T> implements Streamable<T> {
return stream().iterator();
}
/*
/*
* (non-Javadoc)
* @see org.springframework.data.util.Streamable#stream()
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2017 the original author or authors.
* Copyright 2017-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2017 the original author or authors.
* Copyright 2017-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2016-2017 the original author or authors.
* Copyright 2016-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -193,7 +193,7 @@ public interface Optionals {
/**
* Invokes the given {@link Consumer} if the {@link Optional} is present or the {@link Runnable} if not.
*
*
* @param optional must not be {@literal null}.
* @param consumer must not be {@literal null}.
* @param runnable must not be {@literal null}.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2015-2017 the original author or authors.
* Copyright 2015-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,7 +28,7 @@ import java.util.stream.Stream;
/**
* A tuple of things.
*
*
* @author Tobias Trelle
* @author Oliver Gierke
* @author Christoph Strobl
@@ -46,7 +46,7 @@ public final class Pair<S, T> {
/**
* Creates a new {@link Pair} for the given elements.
*
*
* @param first must not be {@literal null}.
* @param second must not be {@literal null}.
* @return
@@ -57,7 +57,7 @@ public final class Pair<S, T> {
/**
* Returns the first element of the {@link Pair}.
*
*
* @return
*/
public S getFirst() {
@@ -66,7 +66,7 @@ public final class Pair<S, T> {
/**
* Returns the second element of the {@link Pair}.
*
*
* @return
*/
public T getSecond() {

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2011-2017 the original author or authors.
* Copyright 2011-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -159,7 +159,7 @@ class ParameterizedTypeInformation<T> extends ParentTypeAwareTypeInformation<T>
return createInfo(type.getActualTypeArguments()[0]);
}
/*
/*
* (non-Javadoc)
* @see org.springframework.data.util.TypeDiscoverer#specialize(org.springframework.data.util.ClassTypeInformation)
*/
@@ -246,7 +246,7 @@ class ParameterizedTypeInformation<T> extends ParentTypeAwareTypeInformation<T>
/**
* Resolves the type variables to be used. Uses the parent's type variable map but overwrites variables locally
* declared.
*
*
* @param type must not be {@literal null}.
* @param parent must not be {@literal null}.
* @return will never be {@literal null}.
@@ -269,7 +269,7 @@ class ParameterizedTypeInformation<T> extends ParentTypeAwareTypeInformation<T>
/**
* Recursively resolves the type bound to the given {@link Type} in case it's a {@link TypeVariable} and there's an
* entry in the given type variables.
*
*
* @param source must not be {@literal null}.
* @param variables must not be {@literal null}.
* @return will never be {@literal null}.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2011-2015 the original author or authors.
* Copyright 2011-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -23,7 +23,7 @@ import org.springframework.lang.Nullable;
/**
* Base class for {@link TypeInformation} implementations that need parent type awareness.
*
*
* @author Oliver Gierke
*/
public abstract class ParentTypeAwareTypeInformation<S> extends TypeDiscoverer<S> {
@@ -33,7 +33,7 @@ public abstract class ParentTypeAwareTypeInformation<S> extends TypeDiscoverer<S
/**
* Creates a new {@link ParentTypeAwareTypeInformation}.
*
*
* @param type must not be {@literal null}.
* @param parent must not be {@literal null}.
*/
@@ -47,7 +47,7 @@ public abstract class ParentTypeAwareTypeInformation<S> extends TypeDiscoverer<S
this.parent = parent;
}
/*
/*
* (non-Javadoc)
* @see org.springframework.data.util.TypeDiscoverer#createInfo(java.lang.reflect.Type)
*/
@@ -61,7 +61,7 @@ public abstract class ParentTypeAwareTypeInformation<S> extends TypeDiscoverer<S
return super.createInfo(fieldType);
}
/*
/*
* (non-Javadoc)
* @see org.springframework.data.util.TypeDiscoverer#equals(java.lang.Object)
*/
@@ -84,7 +84,7 @@ public abstract class ParentTypeAwareTypeInformation<S> extends TypeDiscoverer<S
return this.parent == null ? that.parent == null : this.parent.equals(that.parent);
}
/*
/*
* (non-Javadoc)
* @see org.springframework.data.util.TypeDiscoverer#hashCode()
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014 the original author or authors.
* Copyright 2014-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -27,7 +27,7 @@ import org.springframework.util.StringUtils;
/**
* Utility methods for {@link String} parsing.
*
*
* @author Oliver Gierke
* @since 1.5
*/
@@ -43,7 +43,7 @@ public class ParsingUtils {
/**
* Splits up the given camel-case {@link String}.
*
*
* @param source must not be {@literal null}.
* @return
*/
@@ -53,7 +53,7 @@ public class ParsingUtils {
/**
* Splits up the given camel-case {@link String} and returns the parts in lower case.
*
*
* @param source must not be {@literal null}.
* @return
*/
@@ -64,7 +64,7 @@ public class ParsingUtils {
/**
* Reconcatenates the given camel-case source {@link String} using the given delimiter. Will split up the camel-case
* {@link String} and use an uncapitalized version of the parts.
*
*
* @param source must not be {@literal null}.
* @param delimiter must not be {@literal null}.
* @return

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2017 the original author or authors.
* Copyright 2012-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -446,7 +446,7 @@ public class ReflectionUtils {
/**
* Lookup a {@link Method} to a {@link KFunction}.
*
*
* @param method the JVM {@link Method} to look up.
* @return {@link Optional} wrapping a possibly existing {@link KFunction}.
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2015-2017 the original author or authors.
* Copyright 2015-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -33,7 +33,7 @@ import org.springframework.util.MultiValueMap;
/**
* Spring Data specific Java {@link Stream} utility methods and classes.
*
*
* @author Thomas Darimont
* @author Oliver Gierke
* @since 1.10
@@ -42,7 +42,7 @@ public interface StreamUtils {
/**
* Returns a {@link Stream} backed by the given {@link Iterator}
*
*
* @param iterator must not be {@literal null}.
* @return
*/
@@ -55,7 +55,7 @@ public interface StreamUtils {
/**
* Returns a {@link Stream} backed by the given {@link CloseableIterator} and forwarding calls to
* {@link Stream#close()} to the iterator.
*
*
* @param iterator must not be {@literal null}.
* @return
* @since 2.0
@@ -69,7 +69,7 @@ public interface StreamUtils {
/**
* Returns a {@link Collector} to create an unmodifiable {@link List}.
*
*
* @return will never be {@literal null}.
*/
public static <T> Collector<T, ?, List<T>> toUnmodifiableList() {
@@ -78,7 +78,7 @@ public interface StreamUtils {
/**
* Returns a {@link Collector} to create an unmodifiable {@link Set}.
*
*
* @return will never be {@literal null}.
*/
public static <T> Collector<T, ?, Set<T>> toUnmodifiableSet() {

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2016-2017 the original author or authors.
* Copyright 2016-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -27,7 +27,7 @@ import org.springframework.util.Assert;
/**
* Simple interface to ease streamability of {@link Iterable}s.
*
*
* @author Oliver Gierke
* @author Christoph Strobl
*/
@@ -36,7 +36,7 @@ public interface Streamable<T> extends Iterable<T> {
/**
* Returns an empty {@link Streamable}.
*
*
* @return will never be {@literal null}.
*/
static <T> Streamable<T> empty() {
@@ -45,7 +45,7 @@ public interface Streamable<T> extends Iterable<T> {
/**
* Returns a {@link Streamable} with the given elements.
*
*
* @param t the elements to return.
* @return
*/
@@ -56,7 +56,7 @@ public interface Streamable<T> extends Iterable<T> {
/**
* Returns a {@link Streamable} for the given {@link Iterable}.
*
*
* @param iterable must not be {@literal null}.
* @return
*/
@@ -73,7 +73,7 @@ public interface Streamable<T> extends Iterable<T> {
/**
* Creates a non-parallel {@link Stream} of the underlying {@link Iterable}.
*
*
* @return will never be {@literal null}.
*/
default Stream<T> stream() {
@@ -82,7 +82,7 @@ public interface Streamable<T> extends Iterable<T> {
/**
* Returns a new {@link Streamable} that will apply the given {@link Function} to the current one.
*
*
* @param mapper must not be {@literal null}.
* @return
* @see Stream#map(Function)
@@ -96,7 +96,7 @@ public interface Streamable<T> extends Iterable<T> {
/**
* Returns a new {@link Streamable} that will apply the given {@link Function} to the current one.
*
*
* @param mapper must not be {@literal null}.
* @return
* @see Stream#flatMap(Function)
@@ -110,7 +110,7 @@ public interface Streamable<T> extends Iterable<T> {
/**
* Returns a new {@link Streamable} that will apply the given filter {@link Predicate} to the current one.
*
*
* @param predicate must not be {@literal null}.
* @return
* @see Stream#filter(Predicate)

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2011-2017 the original author or authors.
* Copyright 2011-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2008-2017 the original author or authors.
* Copyright 2008-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2011-2014 the original author or authors.
* Copyright 2011-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -26,7 +26,7 @@ import org.springframework.util.Assert;
/**
* Special {@link TypeDiscoverer} to determine the actual type for a {@link TypeVariable}. Will consider the context the
* {@link TypeVariable} is being used in.
*
*
* @author Oliver Gierke
*/
class TypeVariableTypeInformation<T> extends ParentTypeAwareTypeInformation<T> {
@@ -36,7 +36,7 @@ class TypeVariableTypeInformation<T> extends ParentTypeAwareTypeInformation<T> {
/**
* Creates a new {@link TypeVariableTypeInformation} for the given {@link TypeVariable} owning {@link Type} and parent
* {@link TypeDiscoverer}.
*
*
* @param variable must not be {@literal null}
* @param owningType must not be {@literal null}
* @param parent

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2013-2015 the original author or authors.
* Copyright 2013-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -24,7 +24,7 @@ import org.springframework.util.StringUtils;
/**
* Value object to represent a Version consisting of major, minor and bugfix part.
*
*
* @author Oliver Gierke
*/
public class Version implements Comparable<Version> {
@@ -38,7 +38,7 @@ public class Version implements Comparable<Version> {
/**
* Creates a new {@link Version} from the given integer values. At least one value has to be given but a maximum of 4.
*
*
* @param parts must not be {@literal null} or empty.
*/
public Version(int... parts) {
@@ -60,7 +60,7 @@ public class Version implements Comparable<Version> {
/**
* Parses the given string representation of a version into a {@link Version} object.
*
*
* @param version must not be {@literal null} or empty.
* @return
*/
@@ -89,7 +89,7 @@ public class Version implements Comparable<Version> {
/**
* Returns whether the current {@link Version} is greater (newer) than the given one.
*
*
* @param version
* @return
*/
@@ -99,7 +99,7 @@ public class Version implements Comparable<Version> {
/**
* Returns whether the current {@link Version} is greater (newer) or the same as the given one.
*
*
* @param version
* @return
*/
@@ -109,7 +109,7 @@ public class Version implements Comparable<Version> {
/**
* Returns whether the current {@link Version} is the same as the given one.
*
*
* @param version
* @return
*/
@@ -119,7 +119,7 @@ public class Version implements Comparable<Version> {
/**
* Returns whether the current {@link Version} is less (older) than the given one.
*
*
* @param version
* @return
*/
@@ -129,7 +129,7 @@ public class Version implements Comparable<Version> {
/**
* Returns whether the current {@link Version} is less (older) or equal to the current one.
*
*
* @param version
* @return
*/