diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/Path.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/Path.java
index 723cbc437..700efb85d 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/Path.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/Path.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2014 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.
@@ -22,7 +22,7 @@ import org.springframework.util.StringUtils;
/**
* Simple value object to build up (URI) paths. Allows easy concatenation of {@link String}s and will take care of
* removal of whitespace and reducing slashes to single ones.
- *
+ *
* @author Oliver Gierke
*/
public class Path {
@@ -34,7 +34,7 @@ public class Path {
/**
* Creates a new {@link Path} from the given {@link String}.
- *
+ *
* @param path
*/
public Path(String path) {
@@ -43,7 +43,7 @@ public class Path {
/**
* Creates a new {@link Path} from the given string and potentially bypasses the cleanup.
- *
+ *
* @param path
* @param cleanUp
*/
@@ -53,7 +53,7 @@ public class Path {
/**
* Returns whether the given reference String matches the current {@link Path}.
- *
+ *
* @param reference
* @return
*/
@@ -63,7 +63,7 @@ public class Path {
/**
* Appends the given {@link String} to the current {@link Path}.
- *
+ *
* @param path
* @return
*/
@@ -75,7 +75,7 @@ public class Path {
return slash(path.toString());
}
- /*
+ /*
* (non-Javadoc)
* @see java.lang.Object#hashCode()
*/
@@ -101,7 +101,7 @@ public class Path {
return trimmed.contains("://") ? trimmed : SLASH + trimmed;
}
- /*
+ /*
* (non-Javadoc)
* @see java.lang.Object#toString()
*/
@@ -110,7 +110,7 @@ public class Path {
return path;
}
- /*
+ /*
* (non-Javadoc)
* @see java.lang.Object#equals(java.lang.Object)
*/
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/UriToEntityConverter.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/UriToEntityConverter.java
index 946821153..45d20600e 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/UriToEntityConverter.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/UriToEntityConverter.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012-2016 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.
@@ -35,7 +35,7 @@ import org.springframework.util.Assert;
/**
* A {@link GenericConverter} that can convert a {@link URI} into an entity.
- *
+ *
* @author Jon Brisbin
* @author Oliver Gierke
*/
@@ -51,7 +51,7 @@ public class UriToEntityConverter implements ConditionalGenericConverter {
/**
* Creates a new {@link UriToEntityConverter} using the given {@link PersistentEntities},
* {@link RepositoryInvokerFactory} and {@link Repositories}.
- *
+ *
* @param entities must not be {@literal null}.
* @param invokerFactory must not be {@literal null}.
* @param repositories must not be {@literal null}.
@@ -81,7 +81,7 @@ public class UriToEntityConverter implements ConditionalGenericConverter {
this.repositories = repositories;
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.core.convert.converter.ConditionalConverter#matches(org.springframework.core.convert.TypeDescriptor, org.springframework.core.convert.TypeDescriptor)
*/
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/ValidationErrors.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/ValidationErrors.java
index c5ce7625d..25cb2fd6d 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/ValidationErrors.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/ValidationErrors.java
@@ -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.
@@ -36,7 +36,7 @@ import org.springframework.validation.Errors;
/**
* An {@link Errors} implementation for use in the events mechanism of Spring Data REST. Customizes actual field lookup
* by using a {@link PersistentPropertyAccessor} for actual value lookups.
- *
+ *
* @author Jon Brisbin
* @author Oliver Gierke
*/
@@ -49,7 +49,7 @@ public class ValidationErrors extends AbstractPropertyBindingResult {
/**
* Creates a new {@link ValidationErrors} instance for the given source object and {@link PersistentEntity}.
- *
+ *
* @param source the source object to gather validation errors on, must not be {@literal null}.
* @param entity the {@link PersistentEntity} for the given source instance, must not be {@literal null}.
*/
@@ -64,7 +64,7 @@ public class ValidationErrors extends AbstractPropertyBindingResult {
this.source = source;
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.validation.AbstractPropertyBindingResult#getPropertyAccessor()
*/
@@ -109,7 +109,7 @@ public class ValidationErrors extends AbstractPropertyBindingResult {
};
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.validation.AbstractBindingResult#getTarget()
*/
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/Description.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/Description.java
index f621926f0..b01c38a39 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/Description.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/Description.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012-2015 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.
@@ -23,7 +23,7 @@ import java.lang.annotation.Target;
/**
* Annotation to describe semantics of a resource.
- *
+ *
* @author Jon Brisbin
* @author Oliver Gierke
*/
@@ -33,7 +33,7 @@ public @interface Description {
/**
* The textual description of the resource. Can be a resource bundle key for internationalization.
- *
+ *
* @return
*/
String value();
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/HandleAfterCreate.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/HandleAfterCreate.java
index 4cbcc0dcc..b66ff6dc4 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/HandleAfterCreate.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/HandleAfterCreate.java
@@ -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.
@@ -32,7 +32,7 @@ public @interface HandleAfterCreate {
/**
* The domain type which you want to listen for events for.
- *
+ *
* @deprecated the domain type of interest is derived from the type of the first parameter of the annotated handler
* method.
* @return
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/HandleAfterDelete.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/HandleAfterDelete.java
index 8d6520a1b..24f60008b 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/HandleAfterDelete.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/HandleAfterDelete.java
@@ -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.
@@ -23,7 +23,7 @@ import java.lang.annotation.Target;
/**
* Denotes a component that should handle the {@literal afterDelete} event.
- *
+ *
* @author Jon Brisbin
* @author Oliver Gierke
*/
@@ -34,7 +34,7 @@ public @interface HandleAfterDelete {
/**
* The domain type which you want to listen for events for.
- *
+ *
* @deprecated the domain type of interest is derived from the type of the first parameter of the annotated handler
* method.
* @return
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/HandleAfterLinkDelete.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/HandleAfterLinkDelete.java
index 36b5f56c7..72f5fca10 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/HandleAfterLinkDelete.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/HandleAfterLinkDelete.java
@@ -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.
@@ -23,7 +23,7 @@ import java.lang.annotation.Target;
/**
* Denotes a component that should handle the {@literal afterLinkDelete} event.
- *
+ *
* @author Jon Brisbin
* @author Oliver Gierke
*/
@@ -34,7 +34,7 @@ public @interface HandleAfterLinkDelete {
/**
* The domain type which you want to listen for events for.
- *
+ *
* @deprecated the domain type of interest is derived from the type of the first parameter of the annotated handler
* method.
* @return
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/HandleAfterLinkSave.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/HandleAfterLinkSave.java
index 9474fc288..c0c2a5833 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/HandleAfterLinkSave.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/HandleAfterLinkSave.java
@@ -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.
@@ -23,7 +23,7 @@ import java.lang.annotation.Target;
/**
* Denotes a component that should handle the {@literal afterLinkSave} event.
- *
+ *
* @author Jon Brisbin
* @author Oliver Gierke
*/
@@ -34,7 +34,7 @@ public @interface HandleAfterLinkSave {
/**
* The domain type which you want to listen for events for.
- *
+ *
* @deprecated the domain type of interest is derived from the type of the first parameter of the annotated handler
* method.
* @return
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/HandleAfterSave.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/HandleAfterSave.java
index a7135c7c1..c4690a2ca 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/HandleAfterSave.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/HandleAfterSave.java
@@ -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.
@@ -23,7 +23,7 @@ import java.lang.annotation.Target;
/**
* Denotes a component that should handle the {@literal afterSave} event.
- *
+ *
* @author Jon Brisbin
* @author Oliver Gierke
*/
@@ -34,7 +34,7 @@ public @interface HandleAfterSave {
/**
* The domain type which you want to listen for events for.
- *
+ *
* @deprecated the domain type of interest is derived from the type of the first parameter of the annotated handler
* method.
* @return
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/HandleBeforeCreate.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/HandleBeforeCreate.java
index 3aeaf6bf2..d76118144 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/HandleBeforeCreate.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/HandleBeforeCreate.java
@@ -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.
@@ -32,7 +32,7 @@ public @interface HandleBeforeCreate {
/**
* The domain type which you want to listen for events for.
- *
+ *
* @deprecated the domain type of interest is derived from the type of the first parameter of the annotated handler
* method.
* @return
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/HandleBeforeDelete.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/HandleBeforeDelete.java
index 27d3214ee..8f31c6df1 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/HandleBeforeDelete.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/HandleBeforeDelete.java
@@ -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.
@@ -23,7 +23,7 @@ import java.lang.annotation.Target;
/**
* Denotes a component that should handle the {@literal beforeDelete} event.
- *
+ *
* @author Jon Brisbin
* @author Oliver Gierke
*/
@@ -34,7 +34,7 @@ public @interface HandleBeforeDelete {
/**
* The domain type which you want to listen for events for.
- *
+ *
* @deprecated the domain type of interest is derived from the type of the first parameter of the annotated handler
* method.
* @return
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/HandleBeforeLinkDelete.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/HandleBeforeLinkDelete.java
index 6b4a99501..3b04480a4 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/HandleBeforeLinkDelete.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/HandleBeforeLinkDelete.java
@@ -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.
@@ -23,7 +23,7 @@ import java.lang.annotation.Target;
/**
* Denotes a component that should handle the {@literal beforeLinkDelete} event.
- *
+ *
* @author Jon Brisbin
* @author Oliver Gierke
*/
@@ -34,7 +34,7 @@ public @interface HandleBeforeLinkDelete {
/**
* The domain type which you want to listen for events for.
- *
+ *
* @deprecated the domain type of interest is derived from the type of the first parameter of the annotated handler
* method.
* @return
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/HandleBeforeLinkSave.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/HandleBeforeLinkSave.java
index 74c681779..0b28f578c 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/HandleBeforeLinkSave.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/HandleBeforeLinkSave.java
@@ -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.
@@ -23,7 +23,7 @@ import java.lang.annotation.Target;
/**
* Denotes a component that should handle the {@literal beforeLinkSave} event.
- *
+ *
* @author Jon Brisbin
* @author Oliver Gierke
*/
@@ -34,7 +34,7 @@ public @interface HandleBeforeLinkSave {
/**
* The domain type which you want to listen for events for.
- *
+ *
* @deprecated the domain type of interest is derived from the type of the first parameter of the annotated handler
* method.
* @return
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/HandleBeforeSave.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/HandleBeforeSave.java
index 824c4d9fc..3de8f8962 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/HandleBeforeSave.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/HandleBeforeSave.java
@@ -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.
@@ -23,7 +23,7 @@ import java.lang.annotation.Target;
/**
* Denotes a component that should handle the {@literal beforeSave} event.
- *
+ *
* @author Jon Brisbin
* @author Oliver Gierke
*/
@@ -34,7 +34,7 @@ public @interface HandleBeforeSave {
/**
* The domain type which you want to listen for events for.
- *
+ *
* @deprecated the domain type of interest is derived from the type of the first parameter of the annotated handler
* method.
* @return
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/RepositoryEventHandler.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/RepositoryEventHandler.java
index 8ee76eb4b..f8d1d5f31 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/RepositoryEventHandler.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/RepositoryEventHandler.java
@@ -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.
@@ -23,7 +23,7 @@ import java.lang.annotation.Target;
/**
* Advertises classes annotated with this that they are event handlers.
- *
+ *
* @author Jon Brisbin
* @author Oliver Gierke
*/
@@ -34,7 +34,7 @@ public @interface RepositoryEventHandler {
/**
* The list of {@link org.springframework.context.ApplicationEvent} classes this event handler cares about.
- *
+ *
* @deprecated the type the handler is interested in is determined by the type of the first parameter of a handler
* method.
*/
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/RepositoryRestResource.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/RepositoryRestResource.java
index 0b3a70c65..2423cd5ec 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/RepositoryRestResource.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/RepositoryRestResource.java
@@ -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.
@@ -23,7 +23,7 @@ import java.lang.annotation.Target;
/**
* Annotate a {@link org.springframework.data.repository.Repository} with this to customize export mapping and rels.
- *
+ *
* @author Oliver Gierke
*/
@Target({ ElementType.TYPE })
@@ -33,42 +33,42 @@ public @interface RepositoryRestResource {
/**
* Flag indicating whether this resource is exported at all.
- *
+ *
* @return {@literal true} if the resource is to be exported, {@literal false} otherwise.
*/
boolean exported() default true;
/**
* The path segment under which this resource is to be exported.
- *
+ *
* @return A valid path segment.
*/
String path() default "";
/**
* The rel value to use when generating links to the collection resource.
- *
+ *
* @return A valid rel value.
*/
String collectionResourceRel() default "";
/**
* The description of the collection resource.
- *
+ *
* @return
*/
Description collectionResourceDescription() default @Description(value = "");
/**
* The rel value to use when generating links to the item resource.
- *
+ *
* @return A valid rel value.
*/
String itemResourceRel() default "";
/**
* The description of the item resource.
- *
+ *
* @return
*/
Description itemResourceDescription() default @Description(value = "");
@@ -77,7 +77,7 @@ public @interface RepositoryRestResource {
* Configures the projection type to be used when embedding item resources into collections and related resources.
* Defaults to {@link None}, which indicates full rendering of the items in a collection resource and no inlining of
* related resources.
- *
+ *
* @return
*/
Class> excerptProjection() default None.class;
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/RestResource.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/RestResource.java
index 1387b416c..674942c9a 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/RestResource.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/annotation/RestResource.java
@@ -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 java.lang.annotation.Target;
*
* As of Spring Data REST 2.0, prefer using {@link RepositoryRestResource} to also be able to customize the relation
* type and description for the item resources exposed by the repository.
- *
+ *
* @author Jon Brisbin
* @author Oliver Gierke
*/
@@ -38,28 +38,28 @@ public @interface RestResource {
/**
* Flag indicating whether this resource is exported at all.
- *
+ *
* @return {@literal true} if the resource is to be exported, {@literal false} otherwise.
*/
boolean exported() default true;
/**
* The path segment under which this resource is to be exported.
- *
+ *
* @return A valid path segment.
*/
String path() default "";
/**
* The rel value to use when generating links to this resource.
- *
+ *
* @return A valid rel value.
*/
String rel() default "";
/**
* The description of the collection resource.
- *
+ *
* @return
*/
Description description() default @Description(value = "");
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/EntityLookupConfiguration.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/EntityLookupConfiguration.java
index 7653530a2..1b1b3de22 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/EntityLookupConfiguration.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/EntityLookupConfiguration.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2015-2016 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.
@@ -36,7 +36,7 @@ import org.springframework.util.Assert;
/**
* Configuration instance to implement {@link EntityLookupRegistrar}. Exposed via
* {@link RepositoryRestConfiguration#withEntityLookup()}.
- *
+ *
* @author Oliver Gierke
* @since 2.5
*/
@@ -57,7 +57,7 @@ class EntityLookupConfiguration implements EntityLookupRegistrar {
return this;
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.config.EntityLookupRegistrar#forValueRepository(java.lang.Class)
*/
@@ -76,7 +76,7 @@ class EntityLookupConfiguration implements EntityLookupRegistrar {
return new MappingBuilder(type);
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.config.EntityLookupRegistrar#forValueRepository(java.lang.Class, org.springframework.core.convert.converter.Converter, org.springframework.data.rest.core.config.EntityLookupRegistrar.LookupRegistrar.Lookup)
*/
@@ -102,7 +102,7 @@ class EntityLookupConfiguration implements EntityLookupRegistrar {
/**
* Creates a new {@link MappingBuilder} using the given repository type and identifier mapping.
- *
+ *
* @param repositoryType must not be {@literal null}.
* @param mapping must not be {@literal null}.
*/
@@ -130,7 +130,7 @@ class EntityLookupConfiguration implements EntityLookupRegistrar {
return EntityLookupConfiguration.this;
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.config.EntityLookupRegistrar.IdMappingRegistrar#withIdMapping(org.springframework.core.convert.converter.Converter)
*/
@@ -142,7 +142,7 @@ class EntityLookupConfiguration implements EntityLookupRegistrar {
/**
* Returns the {@link EntityLookup}s registered on this configuration.
- *
+ *
* @param repositories must not be {@literal null}.
* @return
*/
@@ -172,7 +172,7 @@ class EntityLookupConfiguration implements EntityLookupRegistrar {
/**
* Creates a new {@link RepositoriesEntityLookup} for the given {@link Repositories} and {@link LookupInformation}.
- *
+ *
* @param repositories must not be {@literal null}.
* @param lookupInformation must not be {@literal null}.
*/
@@ -194,7 +194,7 @@ class EntityLookupConfiguration implements EntityLookupRegistrar {
"No repository found for type " + information.getDomainType().getName() + "!"));
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.support.EntityLookup#getResourceIdentifier(java.lang.Object)
*/
@@ -203,7 +203,7 @@ class EntityLookupConfiguration implements EntityLookupRegistrar {
return lookupInfo.getIdentifierMapping().convert(entity);
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.support.EntityLookup#lookupEntity(java.io.Serializable)
*/
@@ -216,7 +216,7 @@ class EntityLookupConfiguration implements EntityLookupRegistrar {
return Optional.class.isInstance(result) ? (Optional) result : Optional.ofNullable((T) result);
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.plugin.core.Plugin#supports(java.lang.Object)
*/
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/EntityLookupRegistrar.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/EntityLookupRegistrar.java
index 6563dbb59..366367104 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/EntityLookupRegistrar.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/EntityLookupRegistrar.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2015-2016 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 org.springframework.data.rest.core.support.EntityLookup;
/**
* Configuration interfaces to ease the configuration of custom {@link EntityLookup}s for repositories.
- *
+ *
* @author Oliver Gierke
* @since 2.5
*/
@@ -30,7 +30,7 @@ public interface EntityLookupRegistrar {
/**
* Starts building a custom {@link EntityLookup} for the given repository type.
- *
+ *
* @param type must not be {@literal null}.
* @return
*/
@@ -39,7 +39,7 @@ public interface EntityLookupRegistrar {
/**
* Starts building a custom {@link EntityLookup} for the given repository type and registers the domain type of the
* given repository as lookup type.
- *
+ *
* @param type must not be {@literal null}.
* @return
*/
@@ -49,7 +49,7 @@ public interface EntityLookupRegistrar {
/**
* Registers the given {@link Converter} to map the entity to its identifying property.
- *
+ *
* @param mapping must not be {@literal null}.
* @return
*/
@@ -58,7 +58,7 @@ public interface EntityLookupRegistrar {
/**
* Registers an {@link EntityLookup} for the given repository type, identifier mapping and lookup operation.
- *
+ *
* @param type must not be {@literal null}.
* @param identifierMapping must not be {@literal null}.
* @param lookup must not be {@literal null}.
@@ -69,7 +69,7 @@ public interface EntityLookupRegistrar {
/**
* Registers an {@link EntityLookup} for the given repository type, identifier mapping and lookup operation and
* registers the domain type managed by the given repository as lookup type.
- *
+ *
* @param type must not be {@literal null}.
* @param identifierMapping must not be {@literal null}.
* @param lookup must not be {@literal null}.
@@ -81,7 +81,7 @@ public interface EntityLookupRegistrar {
/**
* Registers the given {@link Lookup} to obtain entity instances.
- *
+ *
* @param lookup must not be {@literal null}.
*/
EntityLookupRegistrar withLookup(Lookup lookup);
@@ -90,7 +90,7 @@ public interface EntityLookupRegistrar {
/**
* Looks up the entity using the given {@link Repository} and identifier.
- *
+ *
* @param repository
* @param identifier
* @return
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/EnumTranslationConfiguration.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/EnumTranslationConfiguration.java
index 8de705ac0..50b66d523 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/EnumTranslationConfiguration.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/EnumTranslationConfiguration.java
@@ -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.
@@ -17,7 +17,7 @@ package org.springframework.data.rest.core.config;
/**
* Configuration options for enum value translation.
- *
+ *
* @author Oliver Gierke
* @since 2.4
* @soundtrack Wallis Bird - Measuring Cities (Yeah! Wallis Bird live 2007-2014)
@@ -28,7 +28,7 @@ public interface EnumTranslationConfiguration {
* Configures whether the default translation of enum names shall be applied. Defaults to {@literal true}. This means
* the configuration will turn enum names into human friendly {@link String}s and also parse them if - only if - no
* explicit translation is available.
- *
+ *
* @param enableDefaultTranslation whether to enable the default translation of enum names.
*/
void setEnableDefaultTranslation(boolean enableDefaultTranslation);
@@ -36,7 +36,7 @@ public interface EnumTranslationConfiguration {
/**
* Configures whether to always accept the raw enum name when parsing. This is useful if clients were used to send the
* Java enum names shall not be broken even if on the serialization side enum translation is activated.
- *
+ *
* @param parseEnumNameAsFallback whether to parse the raw enum value as fallback, even if an explicit translation is
* available.
*/
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/JsonSchemaFormat.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/JsonSchemaFormat.java
index ff86b2fb3..fde958c8a 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/JsonSchemaFormat.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/JsonSchemaFormat.java
@@ -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.
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/MetadataConfiguration.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/MetadataConfiguration.java
index 77545695d..553efe10e 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/MetadataConfiguration.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/MetadataConfiguration.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2014-2015 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.
@@ -24,7 +24,7 @@ import org.springframework.util.Assert;
/**
* Configuration for metadata exposure.
- *
+ *
* @author Oliver Gierke
*/
public class MetadataConfiguration {
@@ -38,7 +38,7 @@ public class MetadataConfiguration {
* Configures whether to omit documentation attributes for unresolvable resource bundle keys. Defaults to
* {@literal true}, which means that an unsuccessful attempt to resolve the message will cause no documentation entry
* to be rendered for the metadata resources.
- *
+ *
* @param omitUnresolvableDescriptionKeys whether to omit documentation attributes for unresolvable resource bundle
* keys.
*/
@@ -48,7 +48,7 @@ public class MetadataConfiguration {
/**
* Returns whether to omit documentation attributes for unresolvable resource bundle keys.
- *
+ *
* @return the omitUnresolvableDescriptionKeys
*/
public boolean omitUnresolvableDescriptionKeys() {
@@ -57,7 +57,7 @@ public class MetadataConfiguration {
/**
* Configures whether to expose the ALPS resources.
- *
+ *
* @param alpsEnabled the alpsEnabled to set
*/
public void setAlpsEnabled(boolean enableAlps) {
@@ -66,7 +66,7 @@ public class MetadataConfiguration {
/**
* Returns whether the ALPS resources are exposed.
- *
+ *
* @return the alpsEnabled
*/
public boolean alpsEnabled() {
@@ -84,7 +84,7 @@ public class MetadataConfiguration {
/**
* Returns the {@link JsonSchemaFormat} to be used for the given type.
- *
+ *
* @param type must not be {@literal null}.
* @return
*/
@@ -94,7 +94,7 @@ public class MetadataConfiguration {
/**
* Registers the given formatting patter for the given value type.
- *
+ *
* @param pattern must not be {@literal null} or empty.
* @param type must not be {@literal null}.
*/
@@ -108,7 +108,7 @@ public class MetadataConfiguration {
/**
* Returns the {@link Pattern} registered for the given value type.
- *
+ *
* @param type must not be {@literal null}.
* @return
*/
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/Projection.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/Projection.java
index c6fd8ede0..96954eef4 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/Projection.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/Projection.java
@@ -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.
@@ -24,7 +24,7 @@ import java.lang.annotation.Target;
/**
* Annotation to tie a particular projection type to a source type. Used to find projection interfaces at startup time.
- *
+ *
* @author Oliver Gierke
*/
@Inherited
@@ -35,14 +35,14 @@ public @interface Projection {
/**
* The type the projection type is bound to.
- *
+ *
* @return
*/
Class>[] types();
/**
* The name of projection to refer to.
- *
+ *
* @return
*/
String name() default "";
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/ProjectionDefinitionConfiguration.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/ProjectionDefinitionConfiguration.java
index 321258ebd..0b511d0c8 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/ProjectionDefinitionConfiguration.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/ProjectionDefinitionConfiguration.java
@@ -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.
@@ -33,7 +33,7 @@ import org.springframework.util.StringUtils;
/**
* Wrapper class to register projection definitions for later lookup by name and source type.
- *
+ *
* @author Oliver Gierke
*/
public class ProjectionDefinitionConfiguration implements ProjectionDefinitions {
@@ -61,7 +61,7 @@ public class ProjectionDefinitionConfiguration implements ProjectionDefinitions
/**
* Configures the request parameter name to be used to accept the projection name to be returned.
- *
+ *
* @param parameterName defaults to {@value ProjectionDefinitionConfiguration#DEFAULT_PROJECTION_PARAMETER_NAME}, will
* be set back to this default if {@literal null} or an empty value is configured.
*/
@@ -72,7 +72,7 @@ public class ProjectionDefinitionConfiguration implements ProjectionDefinitions
/**
* Adds the given projection type to the configuration. The type has to be annotated with {@link Projection} for
* additional metadata.
- *
+ *
* @param projectionType must not be {@literal null}.
* @return
* @see Projection
@@ -96,7 +96,7 @@ public class ProjectionDefinitionConfiguration implements ProjectionDefinitions
/**
* Adds a projection type for the given source types. The name of the projection will be defaulted to the
* uncapitalized simply class name.
- *
+ *
* @param projectionType must not be {@literal null}.
* @param sourceTypes must not be {@literal null} or empty.
* @return
@@ -109,7 +109,7 @@ public class ProjectionDefinitionConfiguration implements ProjectionDefinitions
/**
* Adds the given projection type for the given source types under the given name.
- *
+ *
* @param projectionType must not be {@literal null}.
* @param name must not be {@literal null} or empty.
* @param sourceTypes must not be {@literal null} or empty.
@@ -129,7 +129,7 @@ public class ProjectionDefinitionConfiguration implements ProjectionDefinitions
return this;
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.config.ProjectionDefinitions#getProjectionType(java.lang.Class, java.lang.String)
*/
@@ -138,7 +138,7 @@ public class ProjectionDefinitionConfiguration implements ProjectionDefinitions
return getProjectionsFor(sourceType).get(name);
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.projection.ProjectionDefinitions#hasProjectionFor(java.lang.Class)
*/
@@ -156,7 +156,7 @@ public class ProjectionDefinitionConfiguration implements ProjectionDefinitions
/**
* Returns all projections registered for the given source type.
- *
+ *
* @param sourceType must not be {@literal null}.
* @return
*/
@@ -191,7 +191,7 @@ public class ProjectionDefinitionConfiguration implements ProjectionDefinitions
/**
* Value object to define lookup keys for projections.
- *
+ *
* @author Oliver Gierke
*/
@Value
@@ -203,7 +203,7 @@ public class ProjectionDefinitionConfiguration implements ProjectionDefinitions
/**
* Creates a new {@link ProjectionDefinitionKey} for the given source type and name;
- *
+ *
* @param sourceType must not be {@literal null}.
* @param targetType must not be {@literal null}.
* @param name must not be {@literal null} or empty.
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/RepositoryCorsRegistry.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/RepositoryCorsRegistry.java
index fb08dd1e9..59fec32d1 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/RepositoryCorsRegistry.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/RepositoryCorsRegistry.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2016 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.
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/RepositoryRestConfiguration.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/RepositoryRestConfiguration.java
index 44415d095..52dfa568b 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/RepositoryRestConfiguration.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/RepositoryRestConfiguration.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012-2016 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.
@@ -38,7 +38,7 @@ import org.springframework.web.servlet.config.annotation.CorsRegistration;
/**
* Spring Data REST configuration options.
- *
+ *
* @author Jon Brisbin
* @author Oliver Gierke
* @author Jeremy Rickard
@@ -81,7 +81,7 @@ public class RepositoryRestConfiguration {
/**
* Creates a new {@link RepositoryRestConfiguration} with the given {@link ProjectionDefinitionConfiguration}.
- *
+ *
* @param projectionConfiguration must not be {@literal null}.
* @param metadataConfiguration must not be {@literal null}.
* @param enumTranslationConfiguration must not be {@literal null}.
@@ -101,7 +101,7 @@ public class RepositoryRestConfiguration {
/**
* The base URI against which the exporter should calculate its links.
- *
+ *
* @return The base URI.
*/
public URI getBaseUri() {
@@ -110,7 +110,7 @@ public class RepositoryRestConfiguration {
/**
* The base path to expose repository resources under.
- *
+ *
* @return the basePath
*/
public URI getBasePath() {
@@ -119,7 +119,7 @@ public class RepositoryRestConfiguration {
/**
* Configures the base path to be used by Spring Data REST to expose repository resources.
- *
+ *
* @param basePath the basePath to set
*/
public RepositoryRestConfiguration setBasePath(String basePath) {
@@ -135,7 +135,7 @@ public class RepositoryRestConfiguration {
/**
* Get the default size of {@link org.springframework.data.domain.Pageable}s. Default is 20.
- *
+ *
* @return The default page size.
*/
public int getDefaultPageSize() {
@@ -144,7 +144,7 @@ public class RepositoryRestConfiguration {
/**
* Set the default size of {@link org.springframework.data.domain.Pageable}s.
- *
+ *
* @param defaultPageSize The default page size.
* @return {@literal this}
*/
@@ -156,7 +156,7 @@ public class RepositoryRestConfiguration {
/**
* Get the maximum size of pages.
- *
+ *
* @return Maximum page size.
*/
public int getMaxPageSize() {
@@ -165,7 +165,7 @@ public class RepositoryRestConfiguration {
/**
* Set the maximum size of pages.
- *
+ *
* @param maxPageSize Maximum page size.
* @return {@literal this}
*/
@@ -177,7 +177,7 @@ public class RepositoryRestConfiguration {
/**
* Get the name of the URL query string parameter that indicates what page to return. Default is 'page'.
- *
+ *
* @return Name of the query parameter used to indicate the page number to return.
*/
public String getPageParamName() {
@@ -186,7 +186,7 @@ public class RepositoryRestConfiguration {
/**
* Set the name of the URL query string parameter that indicates what page to return.
- *
+ *
* @param pageParamName Name of the query parameter used to indicate the page number to return.
* @return {@literal this}
*/
@@ -199,7 +199,7 @@ public class RepositoryRestConfiguration {
/**
* Get the name of the URL query string parameter that indicates how many results to return at once. Default is
* 'limit'.
- *
+ *
* @return Name of the query parameter used to indicate the maximum number of entries to return at a time.
*/
public String getLimitParamName() {
@@ -208,7 +208,7 @@ public class RepositoryRestConfiguration {
/**
* Set the name of the URL query string parameter that indicates how many results to return at once.
- *
+ *
* @param limitParamName Name of the query parameter used to indicate the maximum number of entries to return at a
* time.
* @return {@literal this}
@@ -221,7 +221,7 @@ public class RepositoryRestConfiguration {
/**
* Get the name of the URL query string parameter that indicates what direction to sort results. Default is 'sort'.
- *
+ *
* @return Name of the query string parameter used to indicate what field to sort on.
*/
public String getSortParamName() {
@@ -230,7 +230,7 @@ public class RepositoryRestConfiguration {
/**
* Set the name of the URL query string parameter that indicates what direction to sort results.
- *
+ *
* @param sortParamName Name of the query string parameter used to indicate what field to sort on.
* @return {@literal this}
*/
@@ -242,7 +242,7 @@ public class RepositoryRestConfiguration {
/**
* Get the {@link MediaType} to use as a default when none is specified.
- *
+ *
* @return Default content type if none has been specified.
*/
public MediaType getDefaultMediaType() {
@@ -251,7 +251,7 @@ public class RepositoryRestConfiguration {
/**
* Set the {@link MediaType} to use as a default when none is specified.
- *
+ *
* @param defaultMediaType default content type if none has been specified.
* @return {@literal this}
*/
@@ -264,7 +264,7 @@ public class RepositoryRestConfiguration {
* Returns whether HAL will be served as primary representation in case on {@code application/json} is requested. This
* defaults to {@literal true}. If configured to {@literal false} the legacy Spring Data representation will be
* rendered.
- *
+ *
* @return
*/
public boolean useHalAsDefaultJsonMediaType() {
@@ -275,7 +275,7 @@ public class RepositoryRestConfiguration {
* Configures whether HAL will be served as primary representation in case on {@code application/json} is requested.
* This defaults to {@literal true}. If configured to {@literal false} the legacy Spring Data representation will be
* rendered.
- *
+ *
* @param useHalAsDefaultJsonMediaType
* @return
*/
@@ -287,7 +287,7 @@ public class RepositoryRestConfiguration {
/**
* Convenience method to activate returning response bodies for all {@code PUT} and {@code POST} requests, i.e. both
* creating and updating entities.
- *
+ *
* @param returnBody can be {@literal null}, expressing the decision shall be derived from the presence of an
* {@code Accept} header in the request.
* @return
@@ -302,7 +302,7 @@ public class RepositoryRestConfiguration {
/**
* Whether to return a response body after creating an entity.
- *
+ *
* @return {@link java.lang.Boolean#TRUE} to enforce returning a body on create, {@link java.lang.Boolean#FALSE}
* otherwise. If {@literal null} and an {@code Accept} header present in the request will cause a body being
* returned. If the {@code Accept} header is not present, no body will be rendered.
@@ -315,7 +315,7 @@ public class RepositoryRestConfiguration {
/**
* Whether to return a response body after creating an entity considering the given accept header.
- *
+ *
* @param acceptHeader can be {@literal null} or empty.
* @return
*/
@@ -325,7 +325,7 @@ public class RepositoryRestConfiguration {
/**
* Set whether to return a response body after creating an entity.
- *
+ *
* @param returnBody can be {@literal null}, expressing the decision shall be derived from the presence of an
* {@code Accept} header in the request.
* @return {@literal this}
@@ -337,7 +337,7 @@ public class RepositoryRestConfiguration {
/**
* Whether to return a response body after updating an entity.
- *
+ *
* @return {@link java.lang.Boolean#TRUE} to enforce returning a body on create, {@link java.lang.Boolean#FALSE}
* otherwise. If {@literal null} and an {@code Accept} header present in the request will cause a body being
* returned. If the {@code Accept} header is not present, no body will be rendered.
@@ -350,7 +350,7 @@ public class RepositoryRestConfiguration {
/**
* Whether to return a response body after updating an entity considering the given accept header.
- *
+ *
* @param acceptHeader can be {@literal null} or empty.
* @return
*/
@@ -372,7 +372,7 @@ public class RepositoryRestConfiguration {
/**
* Start configuration a {@link ResourceMapping} for a specific domain type.
- *
+ *
* @param domainType The {@link Class} of the domain type to configure a mapping for.
* @return A new {@link ResourceMapping} for configuring how a domain type is mapped.
*/
@@ -382,7 +382,7 @@ public class RepositoryRestConfiguration {
/**
* Get the {@link ResourceMapping} for a specific domain type.
- *
+ *
* @param domainType The {@link Class} of the domain type.
* @return A {@link ResourceMapping} for that domain type or {@literal null} if none exists.
*/
@@ -392,7 +392,7 @@ public class RepositoryRestConfiguration {
/**
* Whether there is a {@link ResourceMapping} for the given domain type.
- *
+ *
* @param domainType The domain type to find a {@link ResourceMapping} for.
* @return {@literal true} if a {@link ResourceMapping} exists for this domain class, {@literal false} otherwise.
*/
@@ -402,7 +402,7 @@ public class RepositoryRestConfiguration {
/**
* Get the {@link ResourceMappingConfiguration} that is currently configured.
- *
+ *
* @return
*/
public ResourceMappingConfiguration getDomainTypesResourceMappingConfiguration() {
@@ -411,7 +411,7 @@ public class RepositoryRestConfiguration {
/**
* Start configuration a {@link ResourceMapping} for a specific repository interface.
- *
+ *
* @param repositoryInterface The {@link Class} of the repository interface to configure a mapping for.
* @return A new {@link ResourceMapping} for configuring how a repository interface is mapped.
*/
@@ -421,7 +421,7 @@ public class RepositoryRestConfiguration {
/**
* Get the {@link ResourceMapping} for a specific repository interface.
- *
+ *
* @param repositoryInterface The {@link Class} of the repository interface.
* @return A {@link ResourceMapping} for that repository interface or {@literal null} if none exists.
*/
@@ -431,7 +431,7 @@ public class RepositoryRestConfiguration {
/**
* Whether there is a {@link ResourceMapping} configured for this {@literal Repository} class.
- *
+ *
* @param repositoryInterface
* @return
*/
@@ -449,7 +449,7 @@ public class RepositoryRestConfiguration {
/**
* Should we expose the ID property for this domain type?
- *
+ *
* @param domainType The domain type we may need to expose the ID for.
* @return {@literal true} is the ID is to be exposed, {@literal false} otherwise.
*/
@@ -459,7 +459,7 @@ public class RepositoryRestConfiguration {
/**
* Set the list of domain types for which we will expose the ID value as a normal property.
- *
+ *
* @param domainTypes Array of types to expose IDs for.
* @return {@literal this}
*/
@@ -470,7 +470,7 @@ public class RepositoryRestConfiguration {
/**
* Returns the {@link ProjectionDefinitionConfiguration} to register addition projections.
- *
+ *
* @return
* @deprecated since 2.4, use {@link #getProjectionConfiguration()} instead.
*/
@@ -481,7 +481,7 @@ public class RepositoryRestConfiguration {
/**
* Returns the {@link ProjectionDefinitionConfiguration} to register addition projections.
- *
+ *
* @return
*/
public ProjectionDefinitionConfiguration getProjectionConfiguration() {
@@ -490,7 +490,7 @@ public class RepositoryRestConfiguration {
/**
* Returns the {@link MetadataConfiguration} to customize metadata exposure.
- *
+ *
* @return
* @deprecated since 2.4, use {@link #getMetadataConfiguration()} instead.
*/
@@ -501,7 +501,7 @@ public class RepositoryRestConfiguration {
/**
* Returns the {@link MetadataConfiguration} to customize metadata exposure.
- *
+ *
* @return
*/
public MetadataConfiguration getMetadataConfiguration() {
@@ -512,7 +512,7 @@ public class RepositoryRestConfiguration {
* Configures whether to enable enum value translation via the Spring Data REST default resource bundle. Defaults to
* {@literal false} for backwards compatibility reasons. Will use the fully qualified enum name as key. For further
* details see {@link EnumTranslator}.
- *
+ *
* @param enableEnumTranslation
* @see #getEnumTranslationConfiguration()
*/
@@ -525,7 +525,7 @@ public class RepositoryRestConfiguration {
/**
* Returns whether enum value translation is enabled.
- *
+ *
* @return
* @since 2.4
*/
@@ -535,7 +535,7 @@ public class RepositoryRestConfiguration {
/**
* Returns the {@link EnumTranslationConfiguration} to be used.
- *
+ *
* @return must not be {@literal null}.
* @since 2.4
*/
@@ -546,7 +546,7 @@ public class RepositoryRestConfiguration {
/**
* Returns the {@link RepositoryDetectionStrategy} to be used to decide which repositories get exposed. Will be
* {@link RepositoryDetectionStrategies#DEFAULT} by default.
- *
+ *
* @return will never be {@literal null}.
* @see RepositoryDetectionStrategies
* @since 2.5
@@ -558,7 +558,7 @@ public class RepositoryRestConfiguration {
/**
* Configures the {@link RepositoryDetectionStrategy} to be used to determine which repositories get exposed. Defaults
* to {@link RepositoryDetectionStrategies#DEFAULT}.
- *
+ *
* @param repositoryDetectionStrategy can be {@literal null}.
* @since 2.5
*/
@@ -586,7 +586,7 @@ public class RepositoryRestConfiguration {
/**
* Returns the {@link EntityLookupRegistrar} to create custom {@link EntityLookup} instances registered in the
* configuration.
- *
+ *
* @return the {@link EntityLookupRegistrar} to build custom {@link EntityLookup}s.
* @since 2.5
*/
@@ -596,7 +596,7 @@ public class RepositoryRestConfiguration {
/**
* Returns all {@link EntityLookup}s considering the customizations made to the configuration.
- *
+ *
* @param repositories must not be {@literal null}.
* @return
*/
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/ResourceMapping.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/ResourceMapping.java
index e32794865..536830093 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/ResourceMapping.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/ResourceMapping.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013 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.
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/ResourceMappingConfiguration.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/ResourceMappingConfiguration.java
index 8aaeba115..44b53db72 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/ResourceMappingConfiguration.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/ResourceMappingConfiguration.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013 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.
@@ -21,7 +21,7 @@ import java.util.Map;
/**
* Manages the {@link ResourceMapping} configurations for any resources being exported. This includes domain entities
* and repositories.
- *
+ *
* @author Jon Brisbin
*/
@SuppressWarnings("deprecation")
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/event/AbstractRepositoryEventListener.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/event/AbstractRepositoryEventListener.java
index 102b87222..d273a32a5 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/event/AbstractRepositoryEventListener.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/event/AbstractRepositoryEventListener.java
@@ -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.
@@ -22,7 +22,7 @@ import org.springframework.context.ApplicationListener;
/**
* Abstract class that listens for generic {@link RepositoryEvent}s and dispatches them to a specific method based on
* the event type.
- *
+ *
* @author Jon Brisbin
* @author Oliver Gierke
*/
@@ -69,35 +69,35 @@ public abstract class AbstractRepositoryEventListener implements ApplicationL
/**
* Override this method if you are interested in {@literal beforeCreate} events.
- *
+ *
* @param entity The entity being created.
*/
protected void onBeforeCreate(T entity) {}
/**
* Override this method if you are interested in {@literal afterCreate} events.
- *
+ *
* @param entity The entity that was created.
*/
protected void onAfterCreate(T entity) {}
/**
* Override this method if you are interested in {@literal beforeSave} events.
- *
+ *
* @param entity The entity being saved.
*/
protected void onBeforeSave(T entity) {}
/**
* Override this method if you are interested in {@literal afterSave} events.
- *
+ *
* @param entity The entity that was just saved.
*/
protected void onAfterSave(T entity) {}
/**
* Override this method if you are interested in {@literal beforeLinkSave} events.
- *
+ *
* @param parent The parent entity to which the child object is linked.
* @param linked The linked, child entity.
*/
@@ -105,7 +105,7 @@ public abstract class AbstractRepositoryEventListener implements ApplicationL
/**
* Override this method if you are interested in {@literal afterLinkSave} events.
- *
+ *
* @param parent The parent entity to which the child object is linked.
* @param linked The linked, child entity.
*/
@@ -113,7 +113,7 @@ public abstract class AbstractRepositoryEventListener implements ApplicationL
/**
* Override this method if you are interested in {@literal beforeLinkDelete} events.
- *
+ *
* @param parent The parent entity to which the child object is linked.
* @param linked The linked, child entity.
*/
@@ -121,7 +121,7 @@ public abstract class AbstractRepositoryEventListener implements ApplicationL
/**
* Override this method if you are interested in {@literal afterLinkDelete} events.
- *
+ *
* @param parent The parent entity to which the child object is linked.
* @param linked The linked, child entity.
*/
@@ -129,14 +129,14 @@ public abstract class AbstractRepositoryEventListener implements ApplicationL
/**
* Override this method if you are interested in {@literal beforeDelete} events.
- *
+ *
* @param entity The entity that is being deleted.
*/
protected void onBeforeDelete(T entity) {}
/**
* Override this method if you are interested in {@literal afterDelete} events.
- *
+ *
* @param entity The entity that was just deleted.
*/
protected void onAfterDelete(T entity) {}
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/event/AnnotatedEventHandlerInvoker.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/event/AnnotatedEventHandlerInvoker.java
index 72596a333..2f0047e51 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/event/AnnotatedEventHandlerInvoker.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/event/AnnotatedEventHandlerInvoker.java
@@ -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.
@@ -52,7 +52,7 @@ import org.springframework.util.ReflectionUtils;
/**
* Component to discover annotated repository event handlers and trigger them on {@link ApplicationEvent}s.
- *
+ *
* @author Jon Brisbin
* @author Oliver Gierke
*/
@@ -142,7 +142,7 @@ public class AnnotatedEventHandlerInvoker implements ApplicationListener persistentEntitiesFactory) {
@@ -62,7 +62,7 @@ public class ValidatingRepositoryEventListener extends AbstractRepositoryEventLi
/**
* Assign a Map of {@link Validator}s that are assigned to the various {@link RepositoryEvent}s.
- *
+ *
* @param validators A Map of Validators to wire.
* @return @this
*/
@@ -77,7 +77,7 @@ public class ValidatingRepositoryEventListener extends AbstractRepositoryEventLi
/**
* Add a {@link Validator} that will be triggered on the given event.
- *
+ *
* @param event The event to listen for.
* @param validator The Validator to execute when that event fires.
* @return @this
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/AnnotationBasedResourceDescription.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/AnnotationBasedResourceDescription.java
index b73d75cb7..2292f33ce 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/AnnotationBasedResourceDescription.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/AnnotationBasedResourceDescription.java
@@ -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.
@@ -24,7 +24,7 @@ import org.springframework.util.StringUtils;
/**
* A {@link ResourceDescription} that is customized based on a {@link Description} annotation. Allows to fall back on
* another {@link ResourceDescription} to provide defaults.
- *
+ *
* @author Oliver Gierke
*/
public class AnnotationBasedResourceDescription extends ResolvableResourceDescriptionSupport {
@@ -34,7 +34,7 @@ public class AnnotationBasedResourceDescription extends ResolvableResourceDescri
/**
* Creates a new {@link AnnotationBasedResourceDescription} for the given {@link Description} and fallback.
- *
+ *
* @param description must not be {@literal null}.
* @param fallback must not be {@literal null}.
*/
@@ -55,7 +55,7 @@ public class AnnotationBasedResourceDescription extends ResolvableResourceDescri
this.fallback = fallback;
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.context.MessageSourceResolvable#getCodes()
*/
@@ -64,7 +64,7 @@ public class AnnotationBasedResourceDescription extends ResolvableResourceDescri
return fallback.getCodes();
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResourceDescription#getMessage()
*/
@@ -80,7 +80,7 @@ public class AnnotationBasedResourceDescription extends ResolvableResourceDescri
return null;
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResourceDescription#isDefault()
*/
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/CollectionResourceMapping.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/CollectionResourceMapping.java
index 739edab2a..e971c84d6 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/CollectionResourceMapping.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/CollectionResourceMapping.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2014 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.
@@ -17,21 +17,21 @@ package org.springframework.data.rest.core.mapping;
/**
* A custom resource mapping for collection resources.
- *
+ *
* @author Oliver Gierke
*/
public interface CollectionResourceMapping extends ResourceMapping {
/**
* Returns the relation type pointing to the item resource within a collection.
- *
+ *
* @return
*/
String getItemResourceRel();
/**
* Returns the {@link ResourceDescription} for the item resource.
- *
+ *
* @return
*/
ResourceDescription getItemResourceDescription();
@@ -39,7 +39,7 @@ public interface CollectionResourceMapping extends ResourceMapping {
/**
* Returns the projection type to be used when embedding item resources into collections and related resources. If
* {@literal null} is returned this will mean full rendering for collections and no rendering for related resources.
- *
+ *
* @return
*/
Class> getExcerptProjection();
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/CrudMethodsSupportedHttpMethods.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/CrudMethodsSupportedHttpMethods.java
index 268a873d6..d493ee651 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/CrudMethodsSupportedHttpMethods.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/CrudMethodsSupportedHttpMethods.java
@@ -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.
@@ -36,7 +36,7 @@ import org.springframework.util.Assert;
/**
* {@link SupportedHttpMethods} that are determined by a {@link CrudMethods} instance.
- *
+ *
* @author Oliver Gierke
* @since 2.3
*/
@@ -46,7 +46,7 @@ public class CrudMethodsSupportedHttpMethods implements SupportedHttpMethods {
/**
* Creates a new {@link CrudMethodsSupportedHttpMethods} for the given {@link CrudMethods}.
- *
+ *
* @param crudMethods must not be {@literal null}.
*/
public CrudMethodsSupportedHttpMethods(CrudMethods crudMethods) {
@@ -56,7 +56,7 @@ public class CrudMethodsSupportedHttpMethods implements SupportedHttpMethods {
this.exposedMethods = new DefaultExposureAwareCrudMethods(crudMethods);
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.SupportedHttpMethods#getSupportedHttpMethods(org.springframework.data.rest.core.mapping.ResourceType)
*/
@@ -108,7 +108,7 @@ public class CrudMethodsSupportedHttpMethods implements SupportedHttpMethods {
return Collections.unmodifiableSet(methods);
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.SupportedHttpMethods#getMethodsFor(org.springframework.data.mapping.PersistentProperty)
*/
@@ -144,7 +144,7 @@ public class CrudMethodsSupportedHttpMethods implements SupportedHttpMethods {
private final @NonNull CrudMethods crudMethods;
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ExposureAwareCrudMethods#exposesSave()
*/
@@ -153,7 +153,7 @@ public class CrudMethodsSupportedHttpMethods implements SupportedHttpMethods {
return exposes(crudMethods.getSaveMethod());
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ExposureAwareCrudMethods#exposesDelete()
*/
@@ -162,7 +162,7 @@ public class CrudMethodsSupportedHttpMethods implements SupportedHttpMethods {
return exposes(crudMethods.getDeleteMethod()) && crudMethods.hasFindOneMethod();
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ExposureAwareCrudMethods#exposesFindOne()
*/
@@ -171,7 +171,7 @@ public class CrudMethodsSupportedHttpMethods implements SupportedHttpMethods {
return exposes(crudMethods.getFindOneMethod());
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ExposureAwareCrudMethods#exposesFindAll()
*/
@@ -198,28 +198,28 @@ public class CrudMethodsSupportedHttpMethods implements SupportedHttpMethods {
/**
* Returns whether the repository exposes the save method.
- *
+ *
* @return
*/
boolean exposesSave();
/**
* Returns whether the repository exposes the delete method.
- *
+ *
* @return
*/
boolean exposesDelete();
/**
* Returns whether the repository exposes the method to find a single object.
- *
+ *
* @return
*/
boolean exposesFindOne();
/**
* Returns whether the repository exposes the method to find all objects.
- *
+ *
* @return
*/
boolean exposesFindAll();
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/EvoInflectorTypeBasedCollectionResourceMapping.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/EvoInflectorTypeBasedCollectionResourceMapping.java
index 5579d9158..64e14d2bd 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/EvoInflectorTypeBasedCollectionResourceMapping.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/EvoInflectorTypeBasedCollectionResourceMapping.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013 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.
@@ -21,14 +21,14 @@ import org.springframework.hateoas.RelProvider;
/**
* {@link TypeBasedCollectionResourceMapping} extension to use Evo Inflector to pluralize the simple class name by as
* default path.
- *
+ *
* @author Oliver Gierke
*/
class EvoInflectorTypeBasedCollectionResourceMapping extends TypeBasedCollectionResourceMapping {
/**
* Creates a new {@link EvoInflectorTypeBasedCollectionResourceMapping} for the given type and {@link RelProvider}.
- *
+ *
* @param type must not be {@literal null}.
* @param relProvider must not be {@literal null}.
*/
@@ -36,7 +36,7 @@ class EvoInflectorTypeBasedCollectionResourceMapping extends TypeBasedCollection
super(type, relProvider);
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.TypeBasedCollectionResourceMapping#getDefaultPathFor(java.lang.Class)
*/
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/MappingResourceMetadata.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/MappingResourceMetadata.java
index 0e601a0b0..5cc14793d 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/MappingResourceMetadata.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/MappingResourceMetadata.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2014-2015 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.
@@ -31,7 +31,7 @@ import org.springframework.util.Assert;
/**
* {@link RootResourceMetadata} based on a {@link PersistentEntity}.
- *
+ *
* @author Oliver Gierke
* @since 2.1
*/
@@ -43,7 +43,7 @@ class MappingResourceMetadata extends TypeBasedCollectionResourceMapping impleme
/**
* Creates a new {@link MappingResourceMetadata} for the given {@link PersistentEntity}.
- *
+ *
* @param entity must not be {@literal null}.
*/
public MappingResourceMetadata(PersistentEntity, ?> entity, ResourceMappings resourceMappings) {
@@ -61,7 +61,7 @@ class MappingResourceMetadata extends TypeBasedCollectionResourceMapping impleme
.orElse(false);
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResourceMetadata#getDomainType()
*/
@@ -70,7 +70,7 @@ class MappingResourceMetadata extends TypeBasedCollectionResourceMapping impleme
return entity.getType();
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResourceMetadata#isExported(org.springframework.data.mapping.PersistentProperty)
*/
@@ -79,7 +79,7 @@ class MappingResourceMetadata extends TypeBasedCollectionResourceMapping impleme
return getMappingFor(property).isExported();
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResourceMetadata#getMappingFor(org.springframework.data.mapping.PersistentProperty)
*/
@@ -88,7 +88,7 @@ class MappingResourceMetadata extends TypeBasedCollectionResourceMapping impleme
return propertyMappings.getMappingFor(property);
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResourceMetadata#getSearchResourceMappings()
*/
@@ -97,7 +97,7 @@ class MappingResourceMetadata extends TypeBasedCollectionResourceMapping impleme
return new SearchResourceMappings(Collections. emptyList());
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResourceMetadata#getSupportedHttpMethods()
*/
@@ -106,7 +106,7 @@ class MappingResourceMetadata extends TypeBasedCollectionResourceMapping impleme
return NoSupportedMethods.INSTANCE;
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.RootResourceMetadata#getProperty(java.lang.String)
*/
@@ -115,7 +115,7 @@ class MappingResourceMetadata extends TypeBasedCollectionResourceMapping impleme
return propertyMappings.getMappingFor(mappedPath);
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.TypeBasedCollectionResourceMapping#isExported()
*/
@@ -126,7 +126,7 @@ class MappingResourceMetadata extends TypeBasedCollectionResourceMapping impleme
/**
* Value object for {@link ResourceMapping}s for {@link PersistentProperty} instances.
- *
+ *
* @author Oliver Gierke
* @see 2.1
*/
@@ -137,7 +137,7 @@ class MappingResourceMetadata extends TypeBasedCollectionResourceMapping impleme
/**
* Creates a new {@link PropertyMappings} instance for the given {@link ResourceMappings}.
- *
+ *
* @param resourceMappings
*/
public PropertyMappings(ResourceMappings resourceMappings) {
@@ -148,7 +148,7 @@ class MappingResourceMetadata extends TypeBasedCollectionResourceMapping impleme
this.propertyMappings = new HashMap, PropertyAwareResourceMapping>();
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.mapping.SimpleAssociationHandler#doWithAssociation(org.springframework.data.mapping.Association)
*/
@@ -157,7 +157,7 @@ class MappingResourceMetadata extends TypeBasedCollectionResourceMapping impleme
doWithPersistentProperty(association.getInverse());
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.mapping.SimplePropertyHandler#doWithPersistentProperty(org.springframework.data.mapping.PersistentProperty)
*/
@@ -172,7 +172,7 @@ class MappingResourceMetadata extends TypeBasedCollectionResourceMapping impleme
/**
* Returns the {@link PropertyAwareResourceMapping} for the given mapped path.
- *
+ *
* @param mappedPath must not be {@literal null} or empty.
* @return the {@link PropertyAwareResourceMapping} if found, {@literal null} otherwise.
*/
@@ -191,7 +191,7 @@ class MappingResourceMetadata extends TypeBasedCollectionResourceMapping impleme
/**
* Returns the {@link ResourceMapping} for the given {@link PersistentProperty}.
- *
+ *
* @param property must not be {@literal null}.
* @return
*/
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/MethodResourceMapping.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/MethodResourceMapping.java
index cb73ed8f4..09099c6ce 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/MethodResourceMapping.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/MethodResourceMapping.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2014 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.
@@ -22,28 +22,28 @@ import java.util.Optional;
/**
* A {@link ResourceMapping} that is backed by a {@link Method}.
- *
+ *
* @author Oliver Gierke
*/
public interface MethodResourceMapping extends ResourceMapping {
/**
* Returns the {@link Method} backing the resource.
- *
+ *
* @return
*/
Method getMethod();
/**
* Returns {@link ParameterMetadata} instances for all named parameters.
- *
+ *
* @return
*/
ParametersMetadata getParametersMetadata();
/**
* Returns whether the resource is sortable.
- *
+ *
* @return
*/
boolean isSortableResource();
@@ -51,7 +51,7 @@ public interface MethodResourceMapping extends ResourceMapping {
/**
* Returns the domain type that the query method returns. This will inspect wrapper types ({@link Collection}s,
* {@link Map}s, {@link Optional}s etc.) for their element or value types.
- *
+ *
* @return will never be {@literal null}.
* @since 2.3
*/
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/ParameterMetadata.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/ParameterMetadata.java
index 2bdc39e7e..9c8c987af 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/ParameterMetadata.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/ParameterMetadata.java
@@ -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.
@@ -21,7 +21,7 @@ import org.springframework.util.Assert;
/**
* Value object to capture metadata for query method parameters.
- *
+ *
* @author Oliver Gierke
*/
public final class ParameterMetadata {
@@ -31,7 +31,7 @@ public final class ParameterMetadata {
/**
* Creates a new {@link ParameterMetadata} for the given {@link MethodParameter} and base rel.
- *
+ *
* @param name must not be {@literal null} or empty.
* @param baseRel must not be {@literal null} or empty.
*/
@@ -51,7 +51,7 @@ public final class ParameterMetadata {
/**
* Return sthe name of the method parameter.
- *
+ *
* @return the name
*/
public String getName() {
@@ -60,14 +60,14 @@ public final class ParameterMetadata {
/**
* Returns the description for the method parameter.
- *
+ *
* @return the description
*/
public ResourceDescription getDescription() {
return description;
}
- /*
+ /*
* (non-Javadoc)
* @see java.lang.Object#equals(java.lang.Object)
*/
@@ -86,7 +86,7 @@ public final class ParameterMetadata {
return this.name.equals(that.name) && this.description.equals(that.description);
}
- /*
+ /*
* (non-Javadoc)
* @see java.lang.Object#hashCode()
*/
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/ParametersMetadata.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/ParametersMetadata.java
index 4951d7dc9..1ea52c983 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/ParametersMetadata.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/ParametersMetadata.java
@@ -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.
@@ -23,7 +23,7 @@ import org.springframework.util.Assert;
/**
* Value object for a list of {@link ParameterMetadata} instances.
- *
+ *
* @author Oliver Gierke
*/
public class ParametersMetadata implements Iterable {
@@ -32,7 +32,7 @@ public class ParametersMetadata implements Iterable {
/**
* Creates a new {@link ParametersMetadata} instance for the given {@link ParameterMetadata} instances.
- *
+ *
* @param parameterMetadata must not be {@literal null}.
*/
ParametersMetadata(List parameterMetadata) {
@@ -44,7 +44,7 @@ public class ParametersMetadata implements Iterable {
/**
* Returns all parameter names.
- *
+ *
* @return
*/
public List getParameterNames() {
@@ -58,7 +58,7 @@ public class ParametersMetadata implements Iterable {
return names;
}
- /*
+ /*
* (non-Javadoc)
* @see java.lang.Iterable#iterator()
*/
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/PersistentEntitiesResourceMappings.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/PersistentEntitiesResourceMappings.java
index e2b40b349..ef2080a07 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/PersistentEntitiesResourceMappings.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/PersistentEntitiesResourceMappings.java
@@ -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.
@@ -31,7 +31,7 @@ import org.springframework.util.ClassUtils;
/**
* {@link ResourceMappings} for {@link PersistentEntities}.
- *
+ *
* @author Oliver Gierke
* @author Mark Paluch
*/
@@ -47,14 +47,14 @@ public class PersistentEntitiesResourceMappings implements ResourceMappings {
/**
* Creates a new {@link PersistentEntitiesResourceMappings} from the given {@link PersistentEntities}.
- *
+ *
* @param entities must not be {@literal null}.
*/
public PersistentEntitiesResourceMappings(PersistentEntities entities) {
this.entities = entities;
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResourceMappings#getMappingFor(java.lang.Class)
*/
@@ -77,7 +77,7 @@ public class PersistentEntitiesResourceMappings implements ResourceMappings {
/**
* Returns the {@link MappingResourceMetadata} for the given type.
- *
+ *
* @param type must not be {@literal null}.
* @return the {@link MappingResourceMetadata} if the given type is a {@link PersistentEntity}, {@literal null}
* otherwise.
@@ -104,7 +104,7 @@ public class PersistentEntitiesResourceMappings implements ResourceMappings {
}).orElse(null);
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResourceMappings#getSearchResourceMappings(java.lang.Class)
*/
@@ -113,7 +113,7 @@ public class PersistentEntitiesResourceMappings implements ResourceMappings {
return searchResourceMappings;
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResourceMappings#exportsMappingFor(java.lang.Class)
*/
@@ -128,7 +128,7 @@ public class PersistentEntitiesResourceMappings implements ResourceMappings {
return metadata.isExported();
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResourceMappings#exportsTopLevelResourceFor(java.lang.String)
*/
@@ -146,7 +146,7 @@ public class PersistentEntitiesResourceMappings implements ResourceMappings {
return false;
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResourceMappings#hasMappingFor(java.lang.Class)
*/
@@ -160,7 +160,7 @@ public class PersistentEntitiesResourceMappings implements ResourceMappings {
return false;
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResourceMetadataProvider#getMappingFor(org.springframework.data.mapping.PersistentProperty)
*/
@@ -185,7 +185,7 @@ public class PersistentEntitiesResourceMappings implements ResourceMappings {
return metadata != null && metadata.isExported();
}
- /*
+ /*
* (non-Javadoc)
* @see java.lang.Iterable#iterator()
*/
@@ -205,7 +205,7 @@ public class PersistentEntitiesResourceMappings implements ResourceMappings {
/**
* Adds the given {@link ResourceMetadata} to the cache.
- *
+ *
* @param type must not be {@literal null}.
* @param metadata can be {@literal null}.
*/
@@ -215,7 +215,7 @@ public class PersistentEntitiesResourceMappings implements ResourceMappings {
/**
* Returns whether we currently already have {@link ResourceMetadata} for the given type.
- *
+ *
* @param type must not be {@literal null}.
* @return
*/
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/PersistentPropertyResourceMapping.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/PersistentPropertyResourceMapping.java
index 96a777dfe..8fd6c5654 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/PersistentPropertyResourceMapping.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/PersistentPropertyResourceMapping.java
@@ -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.
@@ -27,7 +27,7 @@ import org.springframework.util.StringUtils;
/**
* Special resource mapping for {@link PersistentProperty} instances.
- *
+ *
* @author Oliver Gierke
*/
class PersistentPropertyResourceMapping implements PropertyAwareResourceMapping {
@@ -39,7 +39,7 @@ class PersistentPropertyResourceMapping implements PropertyAwareResourceMapping
/**
* Creates a new {@link RootPropertyResourceMapping}.
- *
+ *
* @param property must not be {@literal null}.
* @param exported whether the property is exported or not.
*/
@@ -54,7 +54,7 @@ class PersistentPropertyResourceMapping implements PropertyAwareResourceMapping
this.description = Optional.ofNullable(property.findAnnotation(Description.class));
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResourceMapping#getPath()
*/
@@ -66,7 +66,7 @@ class PersistentPropertyResourceMapping implements PropertyAwareResourceMapping
.orElseGet(() -> new Path(property.getName()));
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResourceMapping#getRel()
*/
@@ -78,7 +78,7 @@ class PersistentPropertyResourceMapping implements PropertyAwareResourceMapping
.orElseGet(() -> property.getName());
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResourceMapping#isExported()
*/
@@ -93,7 +93,7 @@ class PersistentPropertyResourceMapping implements PropertyAwareResourceMapping
return !typeMapping.isExported() ? false : annotation.map(it -> it.exported()).orElse(true);
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResourceMapping#isPagingResource()
*/
@@ -102,7 +102,7 @@ class PersistentPropertyResourceMapping implements PropertyAwareResourceMapping
return false;
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResourceMapping#getDescription()
*/
@@ -118,7 +118,7 @@ class PersistentPropertyResourceMapping implements PropertyAwareResourceMapping
.orElse(fallback);
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.PropertyAwareResourceMapping#getProperty()
*/
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/PropertyAwareResourceMapping.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/PropertyAwareResourceMapping.java
index ffc2b6c89..61c074d0b 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/PropertyAwareResourceMapping.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/PropertyAwareResourceMapping.java
@@ -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.
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/RepositoryAwareResourceMetadata.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/RepositoryAwareResourceMetadata.java
index 14fffa29e..ef7e42b60 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/RepositoryAwareResourceMetadata.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/RepositoryAwareResourceMetadata.java
@@ -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.
@@ -25,7 +25,7 @@ import org.springframework.util.Assert;
/**
* {@link ResourceMetadata} for a single repository.
- *
+ *
* @author Oliver Gierke
*/
class RepositoryAwareResourceMetadata implements ResourceMetadata {
@@ -40,7 +40,7 @@ class RepositoryAwareResourceMetadata implements ResourceMetadata {
/**
* Creates a new {@link RepositoryAwareResourceMetadata} for the given {@link CollectionResourceMapping},
* {@link ResourceMappings} and {@link RepositoryMetadata}.
- *
+ *
* @param entity must not be {@literal null}.
* @param mapping must not be {@literal null}.
* @param provider must not be {@literal null}.
@@ -63,14 +63,14 @@ class RepositoryAwareResourceMetadata implements ResourceMetadata {
/**
* Returns whether the current {@link RootResourceMetadata} instance for the repository is the primary one to be used.
* Reflects to the primary state of the bean definition.
- *
+ *
* @return
*/
public boolean isPrimary() {
return AnnotationUtils.findAnnotation(repositoryMetadata.getRepositoryInterface(), Primary.class) != null;
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResourceMetadata#getDomainType()
*/
@@ -79,7 +79,7 @@ class RepositoryAwareResourceMetadata implements ResourceMetadata {
return repositoryMetadata.getDomainType();
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.RootResourceMetadata#getProperty(java.lang.String)
*/
@@ -93,7 +93,7 @@ class RepositoryAwareResourceMetadata implements ResourceMetadata {
return mappingMetadata.getProperty(mappedPath);
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResourceMetadataProvider#getMappingFor(org.springframework.data.mapping.PersistentProperty)
*/
@@ -102,7 +102,7 @@ class RepositoryAwareResourceMetadata implements ResourceMetadata {
return provider.getMappingFor(property);
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResourceMetadataProvider#hasMappingFor(org.springframework.data.mapping.PersistentProperty)
*/
@@ -111,7 +111,7 @@ class RepositoryAwareResourceMetadata implements ResourceMetadata {
return provider.isMapped(property);
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.CollectionResourceMapping#isExported()
*/
@@ -120,7 +120,7 @@ class RepositoryAwareResourceMetadata implements ResourceMetadata {
return mapping.isExported();
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.CollectionResourceMapping#getCollectionRel()
*/
@@ -129,7 +129,7 @@ class RepositoryAwareResourceMetadata implements ResourceMetadata {
return mapping.getRel();
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.CollectionResourceMapping#getSingleResourceRel()
*/
@@ -138,7 +138,7 @@ class RepositoryAwareResourceMetadata implements ResourceMetadata {
return mapping.getItemResourceRel();
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.CollectionResourceMapping#getPath()
*/
@@ -147,7 +147,7 @@ class RepositoryAwareResourceMetadata implements ResourceMetadata {
return mapping.getPath();
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.CollectionResourceMapping#isPagingResource()
*/
@@ -156,7 +156,7 @@ class RepositoryAwareResourceMetadata implements ResourceMetadata {
return mapping.isPagingResource();
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResourceMapping#getDescription()
*/
@@ -165,7 +165,7 @@ class RepositoryAwareResourceMetadata implements ResourceMetadata {
return mapping.getDescription();
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.CollectionResourceMapping#getItemResourceDescription()
*/
@@ -174,7 +174,7 @@ class RepositoryAwareResourceMetadata implements ResourceMetadata {
return mapping.getItemResourceDescription();
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.CollectionResourceMapping#getExcerptProjection()
*/
@@ -183,7 +183,7 @@ class RepositoryAwareResourceMetadata implements ResourceMetadata {
return mapping.getExcerptProjection();
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResourceMetadata#getSearchResourceMappings()
*/
@@ -192,7 +192,7 @@ class RepositoryAwareResourceMetadata implements ResourceMetadata {
return provider.getSearchResourceMappings(repositoryMetadata.getDomainType());
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResourceMetadata#getSupportedHttpMethods()
*/
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/RepositoryCollectionResourceMapping.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/RepositoryCollectionResourceMapping.java
index b3cd7460a..c92173b2c 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/RepositoryCollectionResourceMapping.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/RepositoryCollectionResourceMapping.java
@@ -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.
@@ -32,7 +32,7 @@ import org.springframework.util.StringUtils;
* {@link CollectionResourceMapping} to be built from repository interfaces. Will inspect {@link RestResource}
* annotations on the repository interface but fall back to the mapping information of the managed domain type for
* defaults.
- *
+ *
* @author Oliver Gierke
*/
class RepositoryCollectionResourceMapping implements CollectionResourceMapping {
@@ -53,7 +53,7 @@ class RepositoryCollectionResourceMapping implements CollectionResourceMapping {
/**
* Creates a new {@link RepositoryCollectionResourceMapping} for the given repository using the given
* {@link RelProvider}.
- *
+ *
* @param strategy must not be {@literal null}.
* @param relProvider must not be {@literal null}.
* @param repositoryType must not be {@literal null}.
@@ -84,7 +84,7 @@ class RepositoryCollectionResourceMapping implements CollectionResourceMapping {
}
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResourceMapping#getPath()
*/
@@ -106,7 +106,7 @@ class RepositoryCollectionResourceMapping implements CollectionResourceMapping {
return fallback;
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResourceMapping#getRel()
*/
@@ -128,7 +128,7 @@ class RepositoryCollectionResourceMapping implements CollectionResourceMapping {
return fallback;
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.CollectionResourceMapping#getSingleResourceRel()
*/
@@ -145,7 +145,7 @@ class RepositoryCollectionResourceMapping implements CollectionResourceMapping {
return fallback;
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResourceMapping#isExported()
*/
@@ -154,7 +154,7 @@ class RepositoryCollectionResourceMapping implements CollectionResourceMapping {
return repositoryExported;
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.CollectionResourceMapping#isPagingResource()
*/
@@ -163,7 +163,7 @@ class RepositoryCollectionResourceMapping implements CollectionResourceMapping {
return metadata.isPagingRepository();
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResourceMapping#getDescription()
*/
@@ -179,7 +179,7 @@ class RepositoryCollectionResourceMapping implements CollectionResourceMapping {
return fallback;
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.CollectionResourceMapping#getItemResourceDescription()
*/
@@ -195,7 +195,7 @@ class RepositoryCollectionResourceMapping implements CollectionResourceMapping {
return fallback;
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.CollectionResourceMapping#getExcerptProjection()
*/
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/RepositoryDetectionStrategy.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/RepositoryDetectionStrategy.java
index 9868373ad..fe4199735 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/RepositoryDetectionStrategy.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/RepositoryDetectionStrategy.java
@@ -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.
@@ -24,7 +24,7 @@ import org.springframework.data.rest.core.annotation.RestResource;
/**
* The strategy to determine whether a given repository is to be exported by Spring Data REST.
- *
+ *
* @author Oliver Gierke
* @since 2.5
* @soundtrack Katinka - Ausverkauf
@@ -33,7 +33,7 @@ public interface RepositoryDetectionStrategy {
/**
* Returns whether the repository described by the given {@link RepositoryMetadata} is exported or not.
- *
+ *
* @param metadata must not be {@literal null}.
* @return
*/
@@ -61,7 +61,7 @@ public interface RepositoryDetectionStrategy {
/**
* Exposes public interfaces or ones explicitly annotated with {@link RepositoryRestResource}.
- *
+ *
* @see #VISIBILITY
* @see #ANNOTATED
*/
@@ -101,7 +101,7 @@ public interface RepositoryDetectionStrategy {
/**
* Returns whether the given type was explicitly exported using {@link RepositoryRestResource} or
* {@link RestResource}. In case no decision can be made based on the annotations, the fallback will be used.
- *
+ *
* @param type must not be {@literal null}.
* @param fallback
* @return
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/RepositoryMethodResourceMapping.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/RepositoryMethodResourceMapping.java
index dd931149c..f885702d8 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/RepositoryMethodResourceMapping.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/RepositoryMethodResourceMapping.java
@@ -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.
@@ -37,7 +37,7 @@ import org.springframework.util.StringUtils;
/**
* A {@link RepositoryMethodResourceMapping} created from a {@link Method}.
- *
+ *
* @author Oliver Gierke
*/
class RepositoryMethodResourceMapping implements MethodResourceMapping {
@@ -58,7 +58,7 @@ class RepositoryMethodResourceMapping implements MethodResourceMapping {
/**
* Creates a new {@link RepositoryMethodResourceMapping} for the given {@link Method}.
- *
+ *
* @param method must not be {@literal null}.
* @param resourceMapping must not be {@literal null}.
*/
@@ -98,7 +98,7 @@ class RepositoryMethodResourceMapping implements MethodResourceMapping {
return Collections.unmodifiableList(result);
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResourceMapping#isExported()
*/
@@ -107,7 +107,7 @@ class RepositoryMethodResourceMapping implements MethodResourceMapping {
return isExported;
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResourceMapping#getRel()
*/
@@ -116,7 +116,7 @@ class RepositoryMethodResourceMapping implements MethodResourceMapping {
return rel;
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResourceMapping#getPath()
*/
@@ -125,7 +125,7 @@ class RepositoryMethodResourceMapping implements MethodResourceMapping {
return path;
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.MethodResourceMapping#getMethod()
*/
@@ -134,7 +134,7 @@ class RepositoryMethodResourceMapping implements MethodResourceMapping {
return method;
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.MethodResourceMapping#getParameterMetadata()
*/
@@ -143,7 +143,7 @@ class RepositoryMethodResourceMapping implements MethodResourceMapping {
return new ParametersMetadata(parameterMetadata);
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResourceMapping#isPagingResource()
*/
@@ -152,7 +152,7 @@ class RepositoryMethodResourceMapping implements MethodResourceMapping {
return paging;
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.MethodResourceMapping#isSortableResource()
*/
@@ -161,7 +161,7 @@ class RepositoryMethodResourceMapping implements MethodResourceMapping {
return sorting;
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResourceMapping#getDescription()
*/
@@ -170,7 +170,7 @@ class RepositoryMethodResourceMapping implements MethodResourceMapping {
return null;
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.MethodResourceMapping#getProjectionSourceType()
*/
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/RepositoryResourceMappings.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/RepositoryResourceMappings.java
index e136f1ce6..5128ed99d 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/RepositoryResourceMappings.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/RepositoryResourceMappings.java
@@ -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.
@@ -34,7 +34,7 @@ import org.springframework.util.Assert;
/**
* Central abstraction obtain {@link ResourceMetadata} and {@link ResourceMapping} instances for domain types and
* repositories.
- *
+ *
* @author Oliver Gierke
*/
public class RepositoryResourceMappings extends PersistentEntitiesResourceMappings {
@@ -45,7 +45,7 @@ public class RepositoryResourceMappings extends PersistentEntitiesResourceMappin
/**
* Creates a new {@link RepositoryResourceMappings} using the given {@link Repositories} and
* {@link PersistentEntities}.
- *
+ *
* @param repositories must not be {@literal null}.
* @param entities must not be {@literal null}.
* @param strategy must not be {@literal null}.
@@ -58,7 +58,7 @@ public class RepositoryResourceMappings extends PersistentEntitiesResourceMappin
/**
* Creates a new {@link RepositoryResourceMappings} from the given {@link RepositoryRestConfiguration},
* {@link Repositories} and {@link RelProvider}.
- *
+ *
* @param repositories must not be {@literal null}.
* @param entities must not be {@literal null}.
* @param strategy must not be {@literal null}.
@@ -98,7 +98,7 @@ public class RepositoryResourceMappings extends PersistentEntitiesResourceMappin
}
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResourceMappings#getSearchResourceMappings(java.lang.Class)
*/
@@ -130,7 +130,7 @@ public class RepositoryResourceMappings extends PersistentEntitiesResourceMappin
return searchResourceMappings;
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResourceMappings#hasMappingFor(java.lang.Class)
*/
@@ -148,7 +148,7 @@ public class RepositoryResourceMappings extends PersistentEntitiesResourceMappin
return false;
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.PersistentEntitiesResourceMappings#isMapped(org.springframework.data.mapping.PersistentProperty)
*/
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/ResolvableResourceDescriptionSupport.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/ResolvableResourceDescriptionSupport.java
index f26d99ef7..9aed3a312 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/ResolvableResourceDescriptionSupport.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/ResolvableResourceDescriptionSupport.java
@@ -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.
@@ -19,12 +19,12 @@ import org.springframework.context.MessageSourceResolvable;
/**
* Adapter class for the {@link MessageSourceResolvable} part of a {@link ResourceDescription}.
- *
+ *
* @author Oliver Gierke
*/
public abstract class ResolvableResourceDescriptionSupport implements ResourceDescription {
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.context.MessageSourceResolvable#getArguments()
*/
@@ -33,7 +33,7 @@ public abstract class ResolvableResourceDescriptionSupport implements ResourceDe
return new Object[0];
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.context.MessageSourceResolvable#getDefaultMessage()
*/
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/ResourceDescription.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/ResourceDescription.java
index 3463e45aa..712240786 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/ResourceDescription.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/ResourceDescription.java
@@ -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.
@@ -21,7 +21,7 @@ import org.springframework.http.MediaType;
/**
* A description of a resource. Resolvable to plain text by using a {@link MessageSource}.
- *
+ *
* @author Oliver Gierke
*/
public interface ResourceDescription extends MessageSourceResolvable {
@@ -29,14 +29,14 @@ public interface ResourceDescription extends MessageSourceResolvable {
/**
* Returns the description. This can be a message source code or a custom text format. Prefer resolving the
* {@link ResourceDescription} using a {@link MessageSource}.
- *
+ *
* @return
*/
String getMessage();
/**
* Returns whether this is the default description.
- *
+ *
* @return
*/
boolean isDefault();
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/ResourceMapping.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/ResourceMapping.java
index bfb869dbe..edf248afb 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/ResourceMapping.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/ResourceMapping.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2014 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.
@@ -19,42 +19,42 @@ import org.springframework.data.rest.core.Path;
/**
* Mapping information for components to be exported as REST resources.
- *
+ *
* @author Oliver Gierke
*/
public interface ResourceMapping {
/**
* Returns whether the component shall be exported at all.
- *
+ *
* @return will never be {@literal null}.
*/
boolean isExported();
/**
* Returns the relation for the resource exported.
- *
+ *
* @return will never be {@literal null}.
*/
String getRel();
/**
* Returns the path the resource is exposed under.
- *
+ *
* @return will never be {@literal null}.
*/
Path getPath();
/**
* Returns whether the resource is paging one.
- *
+ *
* @return
*/
boolean isPagingResource();
/**
* Returns the resource's description.
- *
+ *
* @return
*/
ResourceDescription getDescription();
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/ResourceMappings.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/ResourceMappings.java
index bd34e6133..0e1090c3d 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/ResourceMappings.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/ResourceMappings.java
@@ -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.
@@ -24,7 +24,7 @@ public interface ResourceMappings extends Streamable {
/**
* Returns a {@link ResourceMetadata} for the given type if available.
- *
+ *
* @param type must not be {@literal null}.
* @return the {@link ResourceMetadata} if available or {@literal null} otherwise.
*/
@@ -32,7 +32,7 @@ public interface ResourceMappings extends Streamable {
/**
* Returns the {@link ResourceMapping}s for the search resources of the given type.
- *
+ *
* @param type must not be {@literal null}.
* @return will never be {@literal null}.
*/
@@ -40,7 +40,7 @@ public interface ResourceMappings extends Streamable {
/**
* Returns whether we have a {@link ResourceMapping} for the given type and it is exported.
- *
+ *
* @param type
* @return
*/
@@ -48,7 +48,7 @@ public interface ResourceMappings extends Streamable {
/**
* Returns whether we export a top-level resource for the given path.
- *
+ *
* @param path must not be {@literal null} or empty.
* @return
*/
@@ -56,7 +56,7 @@ public interface ResourceMappings extends Streamable {
/**
* Returns whether we have a {@link ResourceMapping} for the given type.
- *
+ *
* @param type must not be {@literal null}.
* @return
*/
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/ResourceMetadata.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/ResourceMetadata.java
index fa10c8783..4e89d245d 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/ResourceMetadata.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/ResourceMetadata.java
@@ -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.
@@ -20,21 +20,21 @@ import org.springframework.http.HttpMethod;
/**
* Interface for metadata of resources exposed through the system.
- *
+ *
* @author Oliver Gierke
*/
public interface ResourceMetadata extends CollectionResourceMapping {
/**
* Returns the domain type that is exposed through the resource.
- *
+ *
* @return
*/
Class> getDomainType();
/**
* Returns whether the given {@link PersistentProperty} is a managed resource and in fact exported.
- *
+ *
* @param property must not be {@literal null}.
* @return
*/
@@ -42,7 +42,7 @@ public interface ResourceMetadata extends CollectionResourceMapping {
/**
* Returns the {@link PropertyAwareResourceMapping} for the given mapped path.
- *
+ *
* @param mappedPath must not be {@literal null} or empty.
* @return the {@link PropertyAwareResourceMapping} for the given path or {@literal null} if none found.
*/
@@ -50,7 +50,7 @@ public interface ResourceMetadata extends CollectionResourceMapping {
/**
* Returns the {@link ResourceMapping} for the given {@link PersistentProperty} or {@literal null} if not managed.
- *
+ *
* @param property must not be {@literal null}.
* @return
*/
@@ -59,14 +59,14 @@ public interface ResourceMetadata extends CollectionResourceMapping {
/**
* Returns the {@link SearchResourceMappings}, i.e. the mappings for the search resource exposed for the current
* resource.
- *
+ *
* @return
*/
SearchResourceMappings getSearchResourceMappings();
/**
* Returns the supported {@link HttpMethod}s for the given {@link ResourceType}.
- *
+ *
* @param resourcType must not be {@literal null}.
* @return
*/
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/ResourceType.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/ResourceType.java
index 63e7f3809..fad4c91a0 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/ResourceType.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/ResourceType.java
@@ -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.
@@ -17,7 +17,7 @@ package org.springframework.data.rest.core.mapping;
/**
* An enum listing all supported resource types.
- *
+ *
* @author Oliver Gierke
*/
public enum ResourceType {
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/SearchResourceMappings.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/SearchResourceMappings.java
index d0adfd913..4351267d0 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/SearchResourceMappings.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/SearchResourceMappings.java
@@ -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.
@@ -28,7 +28,7 @@ import org.springframework.util.Assert;
/**
* {@link ResourceMapping} for all search resources.
- *
+ *
* @author Oliver Gierke
*/
public class SearchResourceMappings implements Iterable, ResourceMapping {
@@ -43,7 +43,7 @@ public class SearchResourceMappings implements Iterable,
/**
* Creates a new {@link SearchResourceMappings} from the given
- *
+ *
* @param mappings
*/
public SearchResourceMappings(List mappings) {
@@ -67,7 +67,7 @@ public class SearchResourceMappings implements Iterable,
/**
* Returns the method mapped to the given path.
- *
+ *
* @param path must not be {@literal null} or empty.
* @return
*/
@@ -81,7 +81,7 @@ public class SearchResourceMappings implements Iterable,
/**
* Returns the mappings for all exported query methods.
- *
+ *
* @return
* @since 2.3
*/
@@ -100,7 +100,7 @@ public class SearchResourceMappings implements Iterable,
/**
* Returns the {@link MappingResourceMetadata} for the given relation name.
- *
+ *
* @param rel must not be {@literal null} or empty.
* @return
* @since 2.3
@@ -121,7 +121,7 @@ public class SearchResourceMappings implements Iterable,
/**
* Returns the {@link MethodResourceMapping} for the given path.
- *
+ *
* @param path must not be {@literal null} or empty.
* @return
* @since 2.4
@@ -140,7 +140,7 @@ public class SearchResourceMappings implements Iterable,
return null;
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResourceMapping#getPath()
*/
@@ -149,7 +149,7 @@ public class SearchResourceMappings implements Iterable,
return PATH;
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResourceMapping#getRel()
*/
@@ -158,7 +158,7 @@ public class SearchResourceMappings implements Iterable,
return REL;
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResourceMapping#isExported()
*/
@@ -167,7 +167,7 @@ public class SearchResourceMappings implements Iterable,
return !mappings.isEmpty();
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResourceMapping#isPagingResource()
*/
@@ -176,7 +176,7 @@ public class SearchResourceMappings implements Iterable,
return false;
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResourceMapping#getDescription()
*/
@@ -185,7 +185,7 @@ public class SearchResourceMappings implements Iterable,
return null;
}
- /*
+ /*
* (non-Javadoc)
* @see java.lang.Iterable#iterator()
*/
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/SimpleResourceDescription.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/SimpleResourceDescription.java
index 05e8ab2ee..c0ec1bcb8 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/SimpleResourceDescription.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/SimpleResourceDescription.java
@@ -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.
@@ -32,7 +32,7 @@ public class SimpleResourceDescription extends ResolvableResourceDescriptionSupp
/**
* Creates a new {@link SimpleResourceDescription} with the given message and {@link MediaType}.
- *
+ *
* @param message must not be {@literal null} or empty.
* @param mediaType must not be {@literal null} or empty.
*/
@@ -73,7 +73,7 @@ public class SimpleResourceDescription extends ResolvableResourceDescriptionSupp
return StringUtils.hasText(message) && message.startsWith(DEFAULT_KEY_PREFIX);
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.context.MessageSourceResolvable#getCodes()
*/
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/SupportedHttpMethods.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/SupportedHttpMethods.java
index 487fe4b0b..15c42bfd1 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/SupportedHttpMethods.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/SupportedHttpMethods.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2014-2015 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.
@@ -23,14 +23,14 @@ import org.springframework.http.HttpMethod;
/**
* An API to discover the {@link HttpMethod}s supported on a given {@link ResourceType}.
- *
+ *
* @author Oliver Gierke
*/
public interface SupportedHttpMethods {
/**
* Returns the supported {@link HttpMethod}s for the given {@link ResourceType}.
- *
+ *
* @param type must not be {@literal null}.
* @return
*/
@@ -38,7 +38,7 @@ public interface SupportedHttpMethods {
/**
* Returns the supported {@link HttpMethod}s for the given {@link PersistentProperty}.
- *
+ *
* @param property must not be {@literal null}.
* @return
*/
@@ -53,7 +53,7 @@ public interface SupportedHttpMethods {
INSTANCE;
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.SupportedHttpMethods#getSupportedHttpMethods(org.springframework.data.rest.core.mapping.ResourceType)
*/
@@ -62,7 +62,7 @@ public interface SupportedHttpMethods {
return Collections.emptySet();
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.SupportedHttpMethods#getMethodsFor(org.springframework.data.mapping.PersistentProperty)
*/
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/TypeBasedCollectionResourceMapping.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/TypeBasedCollectionResourceMapping.java
index 9392fefd8..717aae49c 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/TypeBasedCollectionResourceMapping.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/TypeBasedCollectionResourceMapping.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2014 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.
@@ -29,7 +29,7 @@ import org.springframework.util.StringUtils;
/**
* {@link CollectionResourceMapping} based on a type. Will derive default relation types and pathes from the type but
* inspect it for {@link RestResource} annotations for customization.
- *
+ *
* @author Oliver Gierke
*/
class TypeBasedCollectionResourceMapping implements CollectionResourceMapping {
@@ -41,7 +41,7 @@ class TypeBasedCollectionResourceMapping implements CollectionResourceMapping {
/**
* Creates a new {@link TypeBasedCollectionResourceMapping} using the given type.
- *
+ *
* @param type must not be {@literal null}.
*/
public TypeBasedCollectionResourceMapping(Class> type) {
@@ -50,7 +50,7 @@ class TypeBasedCollectionResourceMapping implements CollectionResourceMapping {
/**
* Creates a new {@link TypeBasedCollectionResourceMapping} using the given type and {@link RelProvider}.
- *
+ *
* @param type must not be {@literal null}.
* @param relProvider must not be {@literal null}.
*/
@@ -65,7 +65,7 @@ class TypeBasedCollectionResourceMapping implements CollectionResourceMapping {
this.description = AnnotationUtils.findAnnotation(type, Description.class);
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResourceMapping#getPath()
*/
@@ -77,7 +77,7 @@ class TypeBasedCollectionResourceMapping implements CollectionResourceMapping {
return new Path(path);
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResourceMapping#isExported()
*/
@@ -86,7 +86,7 @@ class TypeBasedCollectionResourceMapping implements CollectionResourceMapping {
return annotation != null ? annotation.exported() : Modifier.isPublic(type.getModifiers());
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResourceMapping#getRel()
*/
@@ -100,7 +100,7 @@ class TypeBasedCollectionResourceMapping implements CollectionResourceMapping {
return annotation.rel();
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.CollectionResourceMapping#getSingleResourceRel()
*/
@@ -109,7 +109,7 @@ class TypeBasedCollectionResourceMapping implements CollectionResourceMapping {
return relProvider.getItemResourceRelFor(type);
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.CollectionResourceMapping#isPagingResource()
*/
@@ -118,7 +118,7 @@ class TypeBasedCollectionResourceMapping implements CollectionResourceMapping {
return false;
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResourceMapping#getDescription()
*/
@@ -138,7 +138,7 @@ class TypeBasedCollectionResourceMapping implements CollectionResourceMapping {
return fallback;
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.CollectionResourceMapping#getItemResourceDescription()
*/
@@ -158,7 +158,7 @@ class TypeBasedCollectionResourceMapping implements CollectionResourceMapping {
return fallback;
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.CollectionResourceMapping#getExcerptProjection()
*/
@@ -169,7 +169,7 @@ class TypeBasedCollectionResourceMapping implements CollectionResourceMapping {
/**
* Returns the default path to be used if the path is not configured manually.
- *
+ *
* @param type must not be {@literal null}.
* @return
*/
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/TypedResourceDescription.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/TypedResourceDescription.java
index fd0eba424..c3bdce95c 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/TypedResourceDescription.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/mapping/TypedResourceDescription.java
@@ -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.
@@ -25,7 +25,7 @@ import org.springframework.util.StringUtils;
* {@link SimpleResourceDescription} that additionally captures a type to be able to potentially create a reasonable
* default message. The implementation will do so for enum types by rendering the available values as default message
* and also provide them as arguments for message resolution.
- *
+ *
* @author Oliver Gierke
*/
public class TypedResourceDescription extends SimpleResourceDescription {
@@ -34,7 +34,7 @@ public class TypedResourceDescription extends SimpleResourceDescription {
/**
* Creates a new {@link TypedResourceDescription} for the given message, {@link MediaType} and type.
- *
+ *
* @param message must not be {@literal null} or empty.
* @param mediaType must not be {@literal null} or empty.
* @param type can be {@literal null}, defaults to {@link Object}.
@@ -62,7 +62,7 @@ public class TypedResourceDescription extends SimpleResourceDescription {
return new TypedResourceDescription(message, DEFAULT_MEDIA_TYPE, type);
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResolvableResourceDescriptionSupport#getArguments()
*/
@@ -71,7 +71,7 @@ public class TypedResourceDescription extends SimpleResourceDescription {
return type.isEnum() ? new Object[] { getEnumValues(type) } : new Object[0];
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.core.mapping.ResolvableResourceDescriptionSupport#getDefaultMessage()
*/
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/projection/ProjectionDefinitions.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/projection/ProjectionDefinitions.java
index 709736c06..1155847aa 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/projection/ProjectionDefinitions.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/projection/ProjectionDefinitions.java
@@ -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.
@@ -18,14 +18,14 @@ package org.springframework.data.rest.core.projection;
/**
* Interface to allow the lookup of a projection interface by source type and name. This allows the definition of
* projections with the same name for different source types.
- *
+ *
* @author Oliver Gierke
*/
public interface ProjectionDefinitions {
/**
* Returns the projection type for the given source type and name.
- *
+ *
* @param sourceType must not be {@literal null}.
* @param name must not be {@literal null} or empty.
* @return
@@ -34,7 +34,7 @@ public interface ProjectionDefinitions {
/**
* Returns whether we have a projection registered for the given source type.
- *
+ *
* @param sourceType must not be {@literal null}.
* @return
*/
@@ -42,7 +42,7 @@ public interface ProjectionDefinitions {
/**
* Returns the request parameter to be used to expose the projection to the web.
- *
+ *
* @return the parameterName will never be {@literal null} or empty.
*/
String getParameterName();
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/support/DefaultSelfLinkProvider.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/support/DefaultSelfLinkProvider.java
index 3961bb3fd..e880745c2 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/support/DefaultSelfLinkProvider.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/support/DefaultSelfLinkProvider.java
@@ -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.
@@ -26,7 +26,7 @@ import org.springframework.util.Assert;
/**
* Default implementation of SelfLinkProvider that uses an {@link EntityLinks} instance to create self links. Considers
* the configured {@link EntityLookup}s to use the returned resource identifier to eventually create the link.
- *
+ *
* @author Oliver Gierke
* @since 2.5
* @soundtrack Trio Rotation - Travis
@@ -40,7 +40,7 @@ public class DefaultSelfLinkProvider implements SelfLinkProvider {
/**
* Creates a new {@link DefaultSelfLinkProvider} from the {@link PersistentEntities}, {@link EntityLinks} and
* {@link EntityLookup}s.
- *
+ *
* @param entities must not be {@literal null}.
* @param entityLinks must not be {@literal null}.
* @param lookups must not be {@literal null}.
@@ -70,7 +70,7 @@ public class DefaultSelfLinkProvider implements SelfLinkProvider {
/**
* Returns the identifier to be used to create the self link URI.
- *
+ *
* @param instance must not be {@literal null}.
* @return
*/
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/support/DomainObjectMerger.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/support/DomainObjectMerger.java
index 3ccf07f28..f804e881a 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/support/DomainObjectMerger.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/support/DomainObjectMerger.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012-2015 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.
@@ -32,7 +32,7 @@ import org.springframework.util.ObjectUtils;
/**
* Component to be able to merge the first level of two objects.
- *
+ *
* @author Jon Brisbin
* @author Oliver Gierke
* @author Willie Wheeler
@@ -44,7 +44,7 @@ public class DomainObjectMerger {
/**
* Creates a new {@link DomainObjectMerger} for the given {@link Repositories} and {@link ConversionService}.
- *
+ *
* @param repositories must not be {@literal null}.
* @param conversionService must not be {@literal null}.
*/
@@ -60,7 +60,7 @@ public class DomainObjectMerger {
/**
* Merges the given target object into the source one.
- *
+ *
* @param from can be {@literal null}.
* @param target can be {@literal null}.
* @param nullPolicy how to handle {@literal null} values in the source object.
@@ -126,7 +126,7 @@ public class DomainObjectMerger {
/**
* Returns whether the given source is {@literal null} or considered empty, which means it's an {@link Iterable} or
* array and doesn't have any elements.
- *
+ *
* @param source can be {@literal null}.
* @return
*/
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/support/EntityLookup.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/support/EntityLookup.java
index 4be1502d3..504b4ab9f 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/support/EntityLookup.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/support/EntityLookup.java
@@ -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.
@@ -23,7 +23,7 @@ import org.springframework.plugin.core.Plugin;
* SPI to customize which property of an entity is used as unique identifier and how the entity instance is looked up
* from the backend. Prefer to extend {@link EntityLookupSupport} to let the generics declaration be used for the
* {@link #supports(Object)} method automatically.
- *
+ *
* @author Oliver Gierke
* @see EntityLookupSupport
* @see DefaultSelfLinkProvider
@@ -37,7 +37,7 @@ public interface EntityLookup extends Plugin> {
* Returns the property of the given entity that shall be used to uniquely identify it. If no {@link EntityLookup} is
* defined for a particular type, a standard identifier lookup mechanism (i.e. the datastore identifier) will be used
* to eventually create an identifying URI.
- *
+ *
* @param entity will never be {@literal null}.
* @return must not be {@literal null}.
*/
@@ -50,7 +50,7 @@ public interface EntityLookup extends Plugin> {
*
* Implementations are free to return {@literal null} to indicate absence of a value or wrap the result into any
* generally supported {@code Optional} type.
- *
+ *
* @param id will never be {@literal null}.
* @return can be {@literal null}.
*/
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/support/EntityLookupSupport.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/support/EntityLookupSupport.java
index a1f8d75b4..09ec18b63 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/support/EntityLookupSupport.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/support/EntityLookupSupport.java
@@ -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.
@@ -19,7 +19,7 @@ import org.springframework.core.GenericTypeResolver;
/**
* {@link EntityLookup} implementation base class to derive the supported domain type from the generics signature.
- *
+ *
* @author Oliver Gierke
* @since 2.5
* @soundtrack Elephants Crossing - The New (Live at Stadtfest Dresden -
@@ -36,7 +36,7 @@ public abstract class EntityLookupSupport implements EntityLookup {
this.domainType = GenericTypeResolver.resolveTypeArgument(getClass(), EntityLookup.class);
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.plugin.core.Plugin#supports(java.lang.Object)
*/
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/support/RepositoryRelProvider.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/support/RepositoryRelProvider.java
index 9cf52ae70..a7fd6a531 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/support/RepositoryRelProvider.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/support/RepositoryRelProvider.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2014 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.Assert;
/**
* A {@link RelProvider} based on the {@link ResourceMappings} for the registered repositories.
- *
+ *
* @author Oliver Gierke
*/
@Order(Ordered.LOWEST_PRECEDENCE + 10)
@@ -34,7 +34,7 @@ public class RepositoryRelProvider implements RelProvider {
/**
* Creates a new {@link RepositoryRelProvider} for the given {@link ResourceMappings}.
- *
+ *
* @param mappings must not be {@literal null}.
*/
public RepositoryRelProvider(ObjectFactory mappings) {
@@ -43,7 +43,7 @@ public class RepositoryRelProvider implements RelProvider {
this.mappings = mappings;
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.hateoas.RelProvider#getCollectionResourceRelFor(java.lang.Class)
*/
@@ -52,7 +52,7 @@ public class RepositoryRelProvider implements RelProvider {
return mappings.getObject().getMetadataFor(type).getRel();
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.hateoas.RelProvider#getItemResourceRelFor(java.lang.Class)
*/
@@ -61,7 +61,7 @@ public class RepositoryRelProvider implements RelProvider {
return mappings.getObject().getMetadataFor(type).getItemResourceRel();
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.plugin.core.Plugin#supports(java.lang.Object)
*/
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/support/ResourceMappingUtils.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/support/ResourceMappingUtils.java
index 213a7a9da..94bdc1ce8 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/support/ResourceMappingUtils.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/support/ResourceMappingUtils.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012-2013 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.
@@ -30,7 +30,7 @@ import org.springframework.data.rest.core.config.ResourceMapping;
/**
* Helper methods to get the default rel and path values or to use values supplied by annotations.
- *
+ *
* @author Jon Brisbin
* @author Florent Biville
* @author Oliver Gierke
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/support/ResourceStringUtils.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/support/ResourceStringUtils.java
index 6d3040f13..03e432d38 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/support/ResourceStringUtils.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/support/ResourceStringUtils.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013 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.
@@ -17,7 +17,7 @@ package org.springframework.data.rest.core.support;
/**
* Helper methods aiming at handling String representations of resources.
- *
+ *
* @author Florent Biville
*/
public class ResourceStringUtils {
@@ -25,7 +25,7 @@ public class ResourceStringUtils {
/**
* Checks whether the given input contains actual text (slash excluded). This is a specializing variant of
* {@link org.springframework.util.StringUtils )}#hasText.
- *
+ *
* @param input
*/
public static boolean hasTextExceptSlash(CharSequence input) {
@@ -43,7 +43,7 @@ public class ResourceStringUtils {
/**
* Returns a string without the leading slash, if any.
- *
+ *
* @param path
*/
public static String removeLeadingSlash(String path) {
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/support/SelfLinkProvider.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/support/SelfLinkProvider.java
index cef33ebe6..b77ddbbb2 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/support/SelfLinkProvider.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/support/SelfLinkProvider.java
@@ -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.
@@ -19,7 +19,7 @@ import org.springframework.hateoas.Link;
/**
* Component to create self links for entity instances.
- *
+ *
* @author Oliver Gierke
* @since 2.5
* @soundtrack Trio Rotation - Rotation
@@ -28,7 +28,7 @@ public interface SelfLinkProvider {
/**
* Returns the self link for the given entity instance.
- *
+ *
* @param instance must never be {@literal null}.
* @return will never be {@literal null}.
*/
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/support/SimpleRelProvider.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/support/SimpleRelProvider.java
index 4a8a72c08..599525f88 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/support/SimpleRelProvider.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/support/SimpleRelProvider.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013 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.
@@ -23,7 +23,7 @@ import org.springframework.util.StringUtils;
*/
public class SimpleRelProvider implements RelProvider {
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.plugin.core.Plugin#supports(java.lang.Object)
*/
@@ -32,7 +32,7 @@ public class SimpleRelProvider implements RelProvider {
return true;
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.hateoas.RelProvider#getItemResourceRelFor(java.lang.Class)
*/
@@ -43,7 +43,7 @@ public class SimpleRelProvider implements RelProvider {
return String.format("%s.%s", collectionRel, collectionRel);
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.hateoas.RelProvider#getCollectionResourceRelFor(java.lang.Class)
*/
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/support/UnwrappingRepositoryInvokerFactory.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/support/UnwrappingRepositoryInvokerFactory.java
index 09e38d940..8f7227fa3 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/support/UnwrappingRepositoryInvokerFactory.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/support/UnwrappingRepositoryInvokerFactory.java
@@ -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.
@@ -37,7 +37,7 @@ import org.springframework.util.MultiValueMap;
/**
* {@link RepositoryInvokerFactory} that wraps the {@link RepositoryInvokerFactory} returned by the delegate with one
* that automatically unwraps JDK 8 {@link Optional} and Guava {@link com.google.common.base.Optional}s.
- *
+ *
* @author Oliver Gierke
*/
public class UnwrappingRepositoryInvokerFactory implements RepositoryInvokerFactory {
@@ -59,7 +59,7 @@ public class UnwrappingRepositoryInvokerFactory implements RepositoryInvokerFact
this.lookups = Java8PluginRegistry.of(lookups);
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.repository.support.RepositoryInvokerFactory#getInvokerFor(java.lang.Class)
*/
@@ -74,7 +74,7 @@ public class UnwrappingRepositoryInvokerFactory implements RepositoryInvokerFact
/**
* {@link RepositoryInvoker} that post-processes invocations of {@link RepositoryInvoker#invokeFindOne(Serializable)}
* and {@link #invokeQueryMethod(Method, MultiValueMap, Pageable, Sort)} using the given {@link Converter}s.
- *
+ *
* @author Oliver Gierke
*/
@RequiredArgsConstructor
@@ -97,7 +97,7 @@ public class UnwrappingRepositoryInvokerFactory implements RepositoryInvokerFact
return Optionals.firstNonEmpty(viaLookup, fallback);
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.repository.support.RepositoryInvoker#invokeQueryMethod(java.lang.reflect.Method, org.springframework.util.MultiValueMap, org.springframework.data.domain.Pageable, org.springframework.data.domain.Sort)
*/
@@ -107,7 +107,7 @@ public class UnwrappingRepositoryInvokerFactory implements RepositoryInvokerFact
return delegate.invokeQueryMethod(method, parameters, pageable, sort);
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.repository.support.RepositoryInvocationInformation#hasDeleteMethod()
*/
@@ -116,7 +116,7 @@ public class UnwrappingRepositoryInvokerFactory implements RepositoryInvokerFact
return delegate.hasDeleteMethod();
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.repository.support.RepositoryInvocationInformation#hasFindAllMethod()
*/
@@ -125,7 +125,7 @@ public class UnwrappingRepositoryInvokerFactory implements RepositoryInvokerFact
return delegate.hasFindAllMethod();
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.repository.support.RepositoryInvocationInformation#hasFindOneMethod()
*/
@@ -134,7 +134,7 @@ public class UnwrappingRepositoryInvokerFactory implements RepositoryInvokerFact
return delegate.hasFindOneMethod();
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.repository.support.RepositoryInvocationInformation#hasSaveMethod()
*/
@@ -152,7 +152,7 @@ public class UnwrappingRepositoryInvokerFactory implements RepositoryInvokerFact
delegate.invokeDeleteById(id);
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.repository.support.RepositoryInvoker#invokeFindAll(org.springframework.data.domain.Pageable)
*/
@@ -161,7 +161,7 @@ public class UnwrappingRepositoryInvokerFactory implements RepositoryInvokerFact
return delegate.invokeFindAll(pageable);
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.repository.support.RepositoryInvoker#invokeFindAll(org.springframework.data.domain.Sort)
*/
@@ -170,7 +170,7 @@ public class UnwrappingRepositoryInvokerFactory implements RepositoryInvokerFact
return delegate.invokeFindAll(sort);
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.repository.support.RepositoryInvoker#invokeSave(java.lang.Object)
*/
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/util/Java8PluginRegistry.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/util/Java8PluginRegistry.java
index a6f31bccb..917c70969 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/util/Java8PluginRegistry.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/util/Java8PluginRegistry.java
@@ -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.
diff --git a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/util/MapUtils.java b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/util/MapUtils.java
index da186f12d..2b784d7e3 100644
--- a/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/util/MapUtils.java
+++ b/spring-data-rest-core/src/main/java/org/springframework/data/rest/core/util/MapUtils.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013 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.
@@ -26,14 +26,14 @@ import org.springframework.util.MultiValueMap;
/**
* Helper methods to work with {@link Map}s.
- *
+ *
* @author Oliver Gierke
*/
public interface MapUtils {
/**
* Turns a {@link MultiValueMap} into its {@link Map} equivalent.
- *
+ *
* @param map must not be {@literal null}.
* @return
*/
diff --git a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/AbstractIntegrationTests.java b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/AbstractIntegrationTests.java
index a7b10143b..15d87934c 100755
--- a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/AbstractIntegrationTests.java
+++ b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/AbstractIntegrationTests.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2016 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.
@@ -26,7 +26,7 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
/**
* Base class for integration tests loading {@link RepositoryTestsConfig} and populating the {@link PersonRepository}
* with a {@link Person}.
- *
+ *
* @author Oliver Gierke
*/
@RunWith(SpringJUnit4ClassRunner.class)
diff --git a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/PathUnitTests.java b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/PathUnitTests.java
index bfc54acf5..a7df312c7 100755
--- a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/PathUnitTests.java
+++ b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/PathUnitTests.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2017 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.
@@ -21,7 +21,7 @@ import org.junit.Test;
/**
* Unit tests for {@link Path}.
- *
+ *
* @author Oliver Gierke
*/
public class PathUnitTests {
diff --git a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/RepositoryRestConfigurationIntegrationTests.java b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/RepositoryRestConfigurationIntegrationTests.java
index 32bb4564a..573e58d8f 100755
--- a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/RepositoryRestConfigurationIntegrationTests.java
+++ b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/RepositoryRestConfigurationIntegrationTests.java
@@ -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.
@@ -25,7 +25,7 @@ import org.springframework.data.rest.core.domain.ConfiguredPersonRepository;
/**
* Tests to check that {@link ResourceMapping}s are handled correctly.
- *
+ *
* @author Jon Brisbin
* @author Oliver Gierke
*/
diff --git a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/RepositoryRestConfigurationUnitTests.java b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/RepositoryRestConfigurationUnitTests.java
index d6d3a7b60..c807dc7ec 100755
--- a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/RepositoryRestConfigurationUnitTests.java
+++ b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/RepositoryRestConfigurationUnitTests.java
@@ -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.
@@ -34,7 +34,7 @@ import org.springframework.web.cors.CorsConfiguration;
/**
* Unit tests for {@link RepositoryRestConfiguration}.
- *
+ *
* @author Oliver Gierke
* @author Mark Paluch
* @soundtrack Adam F - Circles (Colors)
diff --git a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/RepositoryTestsConfig.java b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/RepositoryTestsConfig.java
index 7bcdca6d8..abe8cfe5d 100644
--- a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/RepositoryTestsConfig.java
+++ b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/RepositoryTestsConfig.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012-2016 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.
diff --git a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/UriToEntityConverterUnitTests.java b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/UriToEntityConverterUnitTests.java
index b6a2ad6ea..71e192a2a 100755
--- a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/UriToEntityConverterUnitTests.java
+++ b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/UriToEntityConverterUnitTests.java
@@ -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.
@@ -44,7 +44,7 @@ import org.springframework.data.util.Streamable;
/**
* Unit tests for {@link UriToEntityConverter}.
- *
+ *
* @author Oliver Gierke
*/
@RunWith(MockitoJUnitRunner.class)
diff --git a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/ValidationErrorsUnitTests.java b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/ValidationErrorsUnitTests.java
index 7e6a07c40..119f8b29b 100755
--- a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/ValidationErrorsUnitTests.java
+++ b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/ValidationErrorsUnitTests.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2016-2017 original author or authors.
+ * Copyright 2016-2018 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.
@@ -30,7 +30,7 @@ import org.springframework.validation.Errors;
/**
* Unit tests for {@link ValidationErrors}.
- *
+ *
* @author Oliver Gierke
*/
public class ValidationErrorsUnitTests {
diff --git a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/config/ProjectionDefinitionConfigurationUnitTests.java b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/config/ProjectionDefinitionConfigurationUnitTests.java
index 8533f524e..419e04eb2 100755
--- a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/config/ProjectionDefinitionConfigurationUnitTests.java
+++ b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/config/ProjectionDefinitionConfigurationUnitTests.java
@@ -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.
@@ -24,7 +24,7 @@ import org.springframework.data.rest.core.config.ProjectionDefinitionConfigurati
/**
* Unit tests for {@link ProjectionDefinitionConfiguration}.
- *
+ *
* @author Oliver Gierke
*/
public class ProjectionDefinitionConfigurationUnitTests {
diff --git a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/config/ResourceMappingUnitTests.java b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/config/ResourceMappingUnitTests.java
index 0dbdbe224..8a2efef01 100755
--- a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/config/ResourceMappingUnitTests.java
+++ b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/config/ResourceMappingUnitTests.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012-2016 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.
@@ -32,7 +32,7 @@ import org.springframework.hateoas.core.EvoInflectorRelProvider;
/**
* Ensure the {@link ResourceMapping} components convey the correct information.
- *
+ *
* @author Jon Brisbin
*/
@SuppressWarnings("deprecation")
diff --git a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/context/RepositoryEventIntegrationTests.java b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/context/RepositoryEventIntegrationTests.java
index c0a80edec..df42ec50d 100755
--- a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/context/RepositoryEventIntegrationTests.java
+++ b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/context/RepositoryEventIntegrationTests.java
@@ -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.
@@ -45,7 +45,7 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
/**
* Tests around the {@link org.springframework.context.ApplicationEvent} handling abstractions.
- *
+ *
* @author Jon Brisbin
* @author Oliver Gierke
*/
diff --git a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/context/ValidatorIntegrationTests.java b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/context/ValidatorIntegrationTests.java
index e403cb3bc..ae137b15a 100755
--- a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/context/ValidatorIntegrationTests.java
+++ b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/context/ValidatorIntegrationTests.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012-2016 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.
@@ -37,7 +37,7 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
/**
* Tests to check the {@link org.springframework.validation.Validator} integration.
- *
+ *
* @author Jon Brisbin
* @author Oliver Gierke
*/
diff --git a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/AnnotatedPersonEventHandler.java b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/AnnotatedPersonEventHandler.java
index 6f0aea12e..b95614db5 100644
--- a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/AnnotatedPersonEventHandler.java
+++ b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/AnnotatedPersonEventHandler.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012-2016 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.
@@ -29,7 +29,7 @@ import org.springframework.data.rest.core.annotation.RepositoryEventHandler;
/**
* Sample annotation-based event handler.
- *
+ *
* @author Jon Brisbin
* @author Oliver Gierke
*/
diff --git a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/AnnotatedPersonRepository.java b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/AnnotatedPersonRepository.java
index 04b9a6be9..ddfab97c0 100644
--- a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/AnnotatedPersonRepository.java
+++ b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/AnnotatedPersonRepository.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012-2016 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.
@@ -21,7 +21,7 @@ import org.springframework.data.rest.core.annotation.RestResource;
/**
* A repository to manage {@link org.springframework.data.rest.core.domain.Person}s.
- *
+ *
* @author Jon Brisbin
*/
@RestResource(rel = "people", exported = false)
diff --git a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/Author.java b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/Author.java
index 04c590fd8..0fb780c46 100644
--- a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/Author.java
+++ b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/Author.java
@@ -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.
diff --git a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/AuthorRepository.java b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/AuthorRepository.java
index 8f491a03a..1072ceed6 100644
--- a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/AuthorRepository.java
+++ b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/AuthorRepository.java
@@ -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.
diff --git a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/CreditCard.java b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/CreditCard.java
index 4c49a001f..d321cb8bf 100644
--- a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/CreditCard.java
+++ b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/CreditCard.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2016 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.
diff --git a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/CreditCardRepository.java b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/CreditCardRepository.java
index a5e547a68..add168fe1 100644
--- a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/CreditCardRepository.java
+++ b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/CreditCardRepository.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2016 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.
diff --git a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/EventHandlerInvokedException.java b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/EventHandlerInvokedException.java
index ac6f45cb2..91ea36b38 100644
--- a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/EventHandlerInvokedException.java
+++ b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/EventHandlerInvokedException.java
@@ -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.
diff --git a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/JpaRepositoryConfig.java b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/JpaRepositoryConfig.java
index c30e0ca16..a8ac37238 100644
--- a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/JpaRepositoryConfig.java
+++ b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/JpaRepositoryConfig.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012-2016 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.
diff --git a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/Order.java b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/Order.java
index b997ff2f2..bf2075321 100644
--- a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/Order.java
+++ b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/Order.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2016 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.
diff --git a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/OrderRepository.java b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/OrderRepository.java
index be28f896e..2a74c1808 100644
--- a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/OrderRepository.java
+++ b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/OrderRepository.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2016 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.
@@ -25,7 +25,7 @@ import org.springframework.data.repository.CrudRepository;
*/
public interface OrderRepository extends CrudRepository {
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.repository.CrudRepository#save(java.lang.Object)
*/
diff --git a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/Person.java b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/Person.java
index ce6c7ad13..fbb0802e8 100644
--- a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/Person.java
+++ b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/Person.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2016 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.
@@ -29,7 +29,7 @@ import org.springframework.data.rest.core.annotation.RestResource;
/**
* An entity that represents a person.
- *
+ *
* @author Jon Brisbin
* @author Oliver Gierke
*/
diff --git a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/PersonBeforeSaveHandler.java b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/PersonBeforeSaveHandler.java
index 0c61ab4f6..a6a2d8eaa 100644
--- a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/PersonBeforeSaveHandler.java
+++ b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/PersonBeforeSaveHandler.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012-2016 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.
diff --git a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/PersonRepository.java b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/PersonRepository.java
index 1965574f9..b2d38933a 100644
--- a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/PersonRepository.java
+++ b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/PersonRepository.java
@@ -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.data.rest.core.annotation.RestResource;
/**
* A repository to manage {@link Person}s.
- *
+ *
* @author Jon Brisbin
* @author Oliver Gierke
*/
diff --git a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/PlainPersonRepository.java b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/PlainPersonRepository.java
index 32c91b64a..8dfbbb7ad 100644
--- a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/PlainPersonRepository.java
+++ b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/PlainPersonRepository.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012-2016 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.
@@ -20,7 +20,7 @@ import org.springframework.data.repository.NoRepositoryBean;
/**
* A repository to manage {@link Person}s.
- *
+ *
* @author Jon Brisbin
*/
@NoRepositoryBean
diff --git a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/Profile.java b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/Profile.java
index b6f864df9..d8c090785 100644
--- a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/Profile.java
+++ b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/Profile.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012-2016 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.
diff --git a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/ProfileLoader.java b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/ProfileLoader.java
index c388349b1..7e1578bd7 100644
--- a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/ProfileLoader.java
+++ b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/ProfileLoader.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012-2016 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.
diff --git a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/ProfileRepository.java b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/ProfileRepository.java
index d08590c46..2ad0998b2 100644
--- a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/ProfileRepository.java
+++ b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/domain/ProfileRepository.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012-2016 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.
@@ -21,7 +21,7 @@ import org.springframework.data.repository.CrudRepository;
/**
* Repository for managing {@link Profile}s.
- *
+ *
* @author Jon Brisbin
* @author Oliver Gierke
*/
diff --git a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/event/AnnotatedEventHandlerInvokerUnitTests.java b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/event/AnnotatedEventHandlerInvokerUnitTests.java
index 692f66d0f..38a59f414 100755
--- a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/event/AnnotatedEventHandlerInvokerUnitTests.java
+++ b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/event/AnnotatedEventHandlerInvokerUnitTests.java
@@ -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.
diff --git a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/mapping/CrudMethodsSupportedHttpMethodsUnitTests.java b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/mapping/CrudMethodsSupportedHttpMethodsUnitTests.java
index 483b9de1f..d66f22f29 100755
--- a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/mapping/CrudMethodsSupportedHttpMethodsUnitTests.java
+++ b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/mapping/CrudMethodsSupportedHttpMethodsUnitTests.java
@@ -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.
@@ -41,7 +41,7 @@ import org.springframework.http.HttpMethod;
/**
* Unit tests for {@link CrudMethodsSupportedHttpMethods}.
- *
+ *
* @author Oliver Gierke
*/
@RunWith(MockitoJUnitRunner.class)
diff --git a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/mapping/MappingResourceMetadataUnitTests.java b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/mapping/MappingResourceMetadataUnitTests.java
index 7f7209039..65fafc2f2 100755
--- a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/mapping/MappingResourceMetadataUnitTests.java
+++ b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/mapping/MappingResourceMetadataUnitTests.java
@@ -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.
@@ -31,7 +31,7 @@ import org.springframework.data.rest.core.annotation.RestResource;
/**
* Unit tests for {@link MappingResourceMetadata}.
- *
+ *
* @author Oliver Gierke
*/
@RunWith(MockitoJUnitRunner.class)
diff --git a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/mapping/PersistentPropertyResourceMappingUnitTests.java b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/mapping/PersistentPropertyResourceMappingUnitTests.java
index dd1e31f30..5e5c7425c 100755
--- a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/mapping/PersistentPropertyResourceMappingUnitTests.java
+++ b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/mapping/PersistentPropertyResourceMappingUnitTests.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2017 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.
@@ -34,7 +34,7 @@ import org.springframework.data.rest.core.annotation.RestResource;
/**
* Unit tests for {@link PersistentPropertyResourceMapping}.
- *
+ *
* @author Oliver Gierke
*/
@RunWith(MockitoJUnitRunner.class)
diff --git a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/mapping/RepositoryCollectionResourceMappingUnitTests.java b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/mapping/RepositoryCollectionResourceMappingUnitTests.java
index b099e24fa..c0198e404 100755
--- a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/mapping/RepositoryCollectionResourceMappingUnitTests.java
+++ b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/mapping/RepositoryCollectionResourceMappingUnitTests.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2017 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.
@@ -30,7 +30,7 @@ import org.springframework.data.rest.core.mapping.RepositoryDetectionStrategy.Re
/**
* Unit tests for {@link RepositoryCollectionResourceMapping}.
- *
+ *
* @author Oliver Gierke
*/
public class RepositoryCollectionResourceMappingUnitTests {
diff --git a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/mapping/RepositoryDetectionStrategiesUnitTests.java b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/mapping/RepositoryDetectionStrategiesUnitTests.java
index 1c41ec313..7c656c018 100755
--- a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/mapping/RepositoryDetectionStrategiesUnitTests.java
+++ b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/mapping/RepositoryDetectionStrategiesUnitTests.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2015-2017 original author or authors.
+ * Copyright 2015-2018 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.
@@ -30,7 +30,7 @@ import org.springframework.data.rest.core.mapping.RepositoryDetectionStrategy.Re
/**
* Unit tests for {@link RepositoryDetectionStrategies}.
- *
+ *
* @author Oliver Gierke
* @soundtrack Katinka - Ausverkauf
*/
diff --git a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/mapping/RepositoryMethodResourceMappingUnitTests.java b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/mapping/RepositoryMethodResourceMappingUnitTests.java
index 08c4eedc1..5c85ce12f 100755
--- a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/mapping/RepositoryMethodResourceMappingUnitTests.java
+++ b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/mapping/RepositoryMethodResourceMappingUnitTests.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2017 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.
@@ -33,7 +33,7 @@ import org.springframework.data.rest.core.mapping.RepositoryDetectionStrategy.Re
/**
* Unit tests for {@link RepositoryMethodResourceMapping}.
- *
+ *
* @author Oliver Gierke
*/
public class RepositoryMethodResourceMappingUnitTests {
diff --git a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/mapping/RepositoryResourceMappingsIntegrationTests.java b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/mapping/RepositoryResourceMappingsIntegrationTests.java
index 779f6d312..97d9e3dc3 100755
--- a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/mapping/RepositoryResourceMappingsIntegrationTests.java
+++ b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/mapping/RepositoryResourceMappingsIntegrationTests.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2017 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.
@@ -44,7 +44,7 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
/**
* Integration tests for {@link RepositoryResourceMappings}.
- *
+ *
* @author Oliver Gierke
* @author Greg Turnquist
*/
diff --git a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/mapping/TypeBasedCollectionResourceMappingUnitTests.java b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/mapping/TypeBasedCollectionResourceMappingUnitTests.java
index 12d37d9d9..26480ce83 100755
--- a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/mapping/TypeBasedCollectionResourceMappingUnitTests.java
+++ b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/mapping/TypeBasedCollectionResourceMappingUnitTests.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2017 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.
@@ -23,7 +23,7 @@ import org.springframework.data.rest.core.annotation.RestResource;
/**
* Unit tests for {@link TypeBasedCollectionResourceMapping}.
- *
+ *
* @author Oliver Gierke
*/
public class TypeBasedCollectionResourceMappingUnitTests {
diff --git a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/support/DefaultSelfLinkProviderUnitTests.java b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/support/DefaultSelfLinkProviderUnitTests.java
index 7cf009323..db3f80021 100755
--- a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/support/DefaultSelfLinkProviderUnitTests.java
+++ b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/support/DefaultSelfLinkProviderUnitTests.java
@@ -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.
@@ -40,7 +40,7 @@ import org.springframework.hateoas.Link;
/**
* Unit tests for {@link DefaultSelfLinkProvider}.
- *
+ *
* @author Oliver Gierke
* @soundtrack Trio Rotation - Triopane
*/
diff --git a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/support/DomainObjectMergerTests.java b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/support/DomainObjectMergerTests.java
index d2e237dca..7735942dc 100755
--- a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/support/DomainObjectMergerTests.java
+++ b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/support/DomainObjectMergerTests.java
@@ -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.
@@ -34,7 +34,7 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
/**
* Integration tests for {@link DomainObjectMerger}.
- *
+ *
* @author Greg Turnquist
* @author Oliver Gierke
*/
diff --git a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/support/DomainObjectMergerUnitTests.java b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/support/DomainObjectMergerUnitTests.java
index b28e2dc09..628f77627 100755
--- a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/support/DomainObjectMergerUnitTests.java
+++ b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/support/DomainObjectMergerUnitTests.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2014-2017 original author or authors.
+ * Copyright 2014-2018 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.junit.Test;
/**
* Unit tests for {@link DomainObjectMerger}.
- *
+ *
* @author Oliver Gierke
*/
public class DomainObjectMergerUnitTests {
diff --git a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/support/ResourceStringUtilsTests.java b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/support/ResourceStringUtilsTests.java
index 056a3c740..8426096b4 100755
--- a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/support/ResourceStringUtilsTests.java
+++ b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/support/ResourceStringUtilsTests.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013 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.
@@ -27,7 +27,7 @@ import org.junit.runners.Parameterized.Parameters;
/**
* Ensures proper detection and removal of leading slash in strings.
- *
+ *
* @author Florent Biville
*/
@RunWith(Parameterized.class)
diff --git a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/support/UnwrappingRepositoryInvokerFactoryUnitTests.java b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/support/UnwrappingRepositoryInvokerFactoryUnitTests.java
index 622cf06cd..0f158b316 100755
--- a/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/support/UnwrappingRepositoryInvokerFactoryUnitTests.java
+++ b/spring-data-rest-core/src/test/java/org/springframework/data/rest/core/support/UnwrappingRepositoryInvokerFactoryUnitTests.java
@@ -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.
@@ -38,7 +38,7 @@ import org.springframework.data.rest.core.domain.Profile;
/**
* Unit tests for {@link UnwrappingRepositoryInvokerFactory}.
- *
+ *
* @author Oliver Gierke
*/
@RunWith(Parameterized.class)
diff --git a/spring-data-rest-hal-browser/src/main/java/org/springframework/data/rest/webmvc/halbrowser/HalBrowser.java b/spring-data-rest-hal-browser/src/main/java/org/springframework/data/rest/webmvc/halbrowser/HalBrowser.java
index 992a13f8a..0b495da1f 100644
--- a/spring-data-rest-hal-browser/src/main/java/org/springframework/data/rest/webmvc/halbrowser/HalBrowser.java
+++ b/spring-data-rest-hal-browser/src/main/java/org/springframework/data/rest/webmvc/halbrowser/HalBrowser.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2015-2016 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 org.springframework.web.util.UriComponents;
/**
* Controller with a few convenience redirects to expose the HAL browser shipped as static content.
- *
+ *
* @author Oliver Gierke
* @soundtrack Miles Davis - So what (Kind of blue)
*/
@@ -40,7 +40,7 @@ public class HalBrowser {
/**
* Redirects requests to the API root asking for HTML to the HAL browser.
- *
+ *
* @return
*/
@RequestMapping(value = { "/", "" }, method = RequestMethod.GET, produces = MediaType.TEXT_HTML_VALUE)
@@ -50,7 +50,7 @@ public class HalBrowser {
/**
* Redirects to the actual {@code index.html}.
- *
+ *
* @return
*/
@RequestMapping(value = "/browser", method = RequestMethod.GET)
@@ -60,7 +60,7 @@ public class HalBrowser {
/**
* Returns the View to redirect to to access the HAL browser.
- *
+ *
* @param request must not be {@literal null}.
* @param browserRelative
* @return
diff --git a/spring-data-rest-hal-browser/src/test/java/org/springframework/data/rest/webmvc/halbrowser/HalBrowserIntegrationTests.java b/spring-data-rest-hal-browser/src/test/java/org/springframework/data/rest/webmvc/halbrowser/HalBrowserIntegrationTests.java
index 446588d45..48b79eafd 100755
--- a/spring-data-rest-hal-browser/src/test/java/org/springframework/data/rest/webmvc/halbrowser/HalBrowserIntegrationTests.java
+++ b/spring-data-rest-hal-browser/src/test/java/org/springframework/data/rest/webmvc/halbrowser/HalBrowserIntegrationTests.java
@@ -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.
diff --git a/spring-data-rest-hal-browser/src/test/java/org/springframework/data/rest/webmvc/halbrowser/HalBrowserUnitTests.java b/spring-data-rest-hal-browser/src/test/java/org/springframework/data/rest/webmvc/halbrowser/HalBrowserUnitTests.java
index 796d6d9d3..8c3b6db62 100755
--- a/spring-data-rest-hal-browser/src/test/java/org/springframework/data/rest/webmvc/halbrowser/HalBrowserUnitTests.java
+++ b/spring-data-rest-hal-browser/src/test/java/org/springframework/data/rest/webmvc/halbrowser/HalBrowserUnitTests.java
@@ -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.web.util.UriComponentsBuilder;
/**
* Unit tests for {@link HalBrowser}.
- *
+ *
* @author Oliver Gierke
* @soundtrack Nils Wülker - Homeless Diamond (feat. Lauren Flynn)
*/
diff --git a/spring-data-rest-tests/spring-data-rest-tests-core/src/test/java/org/springframework/data/rest/tests/AbstractControllerIntegrationTests.java b/spring-data-rest-tests/spring-data-rest-tests-core/src/test/java/org/springframework/data/rest/tests/AbstractControllerIntegrationTests.java
index 342ca02cc..ab41781ac 100755
--- a/spring-data-rest-tests/spring-data-rest-tests-core/src/test/java/org/springframework/data/rest/tests/AbstractControllerIntegrationTests.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-core/src/test/java/org/springframework/data/rest/tests/AbstractControllerIntegrationTests.java
@@ -1,6 +1,6 @@
package org.springframework.data.rest.tests;
/*
- * Copyright 2013-2016 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.
@@ -49,7 +49,7 @@ import org.springframework.web.context.request.WebRequest;
/**
* Base class to write integration tests for controllers.
- *
+ *
* @author Oliver Gierke
*/
@RunWith(SpringJUnit4ClassRunner.class)
@@ -87,7 +87,7 @@ public abstract class AbstractControllerIntegrationTests {
/**
* Returns a {@link RootResourceInformation} for the given domain type.
- *
+ *
* @param domainType must not be {@literal null}.
* @return
*/
diff --git a/spring-data-rest-tests/spring-data-rest-tests-core/src/test/java/org/springframework/data/rest/tests/AbstractWebIntegrationTests.java b/spring-data-rest-tests/spring-data-rest-tests-core/src/test/java/org/springframework/data/rest/tests/AbstractWebIntegrationTests.java
index c4aa7c430..2cce55df1 100755
--- a/spring-data-rest-tests/spring-data-rest-tests-core/src/test/java/org/springframework/data/rest/tests/AbstractWebIntegrationTests.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-core/src/test/java/org/springframework/data/rest/tests/AbstractWebIntegrationTests.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2017 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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-core/src/test/java/org/springframework/data/rest/tests/CommonWebTests.java b/spring-data-rest-tests/spring-data-rest-tests-core/src/test/java/org/springframework/data/rest/tests/CommonWebTests.java
index 5f8c13fad..2d59d0e80 100755
--- a/spring-data-rest-tests/spring-data-rest-tests-core/src/test/java/org/springframework/data/rest/tests/CommonWebTests.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-core/src/test/java/org/springframework/data/rest/tests/CommonWebTests.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2017 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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-core/src/test/java/org/springframework/data/rest/tests/RepositoryTestsConfig.java b/spring-data-rest-tests/spring-data-rest-tests-core/src/test/java/org/springframework/data/rest/tests/RepositoryTestsConfig.java
index 5586e1f5a..65333eee5 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-core/src/test/java/org/springframework/data/rest/tests/RepositoryTestsConfig.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-core/src/test/java/org/springframework/data/rest/tests/RepositoryTestsConfig.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012-2016 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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-core/src/test/java/org/springframework/data/rest/tests/RequestParameters.java b/spring-data-rest-tests/spring-data-rest-tests-core/src/test/java/org/springframework/data/rest/tests/RequestParameters.java
index e21f9a6a6..54ea88cab 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-core/src/test/java/org/springframework/data/rest/tests/RequestParameters.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-core/src/test/java/org/springframework/data/rest/tests/RequestParameters.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2016 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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-core/src/test/java/org/springframework/data/rest/tests/ResourceTester.java b/spring-data-rest-tests/spring-data-rest-tests-core/src/test/java/org/springframework/data/rest/tests/ResourceTester.java
index 98bb6bb76..02e23a65d 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-core/src/test/java/org/springframework/data/rest/tests/ResourceTester.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-core/src/test/java/org/springframework/data/rest/tests/ResourceTester.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2016 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.
@@ -30,7 +30,7 @@ import org.springframework.web.util.UriTemplate;
/**
* Simple wrapper for {@link Resource}s to allow easy assertions on it.
- *
+ *
* @author Oliver Gierke
*/
public class ResourceTester {
@@ -44,7 +44,7 @@ public class ResourceTester {
/**
* Creates a new {@link ResourceTester} for the given {@link ResourceSupport}.
- *
+ *
* @param resource must not be {@literal null}.
*/
private ResourceTester(ResourceSupport resource) {
@@ -54,7 +54,7 @@ public class ResourceTester {
/**
* Asserts that the {@link Resource} contains the given number of {@link Link}s.
- *
+ *
* @param number
*/
public void assertNumberOfLinks(int number) {
@@ -63,7 +63,7 @@ public class ResourceTester {
/**
* Asserts that the {@link Resource} has a link with the given rel and href.
- *
+ *
* @param rel must not be {@literal null}.
* @param href can be {@literal null}, if so, only the presence of a {@link Link} with the given rel is checked.
*/
@@ -73,7 +73,7 @@ public class ResourceTester {
/**
* Asserts that the {@link Resource} has a link with the given rel and ending with the given href.
- *
+ *
* @param rel must not be {@literal null}.
* @param href can be {@literal null}, if so, only the presence of a {@link Link} with the given rel is checked.
*/
diff --git a/spring-data-rest-tests/spring-data-rest-tests-core/src/test/java/org/springframework/data/rest/tests/TestMvcClient.java b/spring-data-rest-tests/spring-data-rest-tests-core/src/test/java/org/springframework/data/rest/tests/TestMvcClient.java
index f5da14dd4..5d298cfea 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-core/src/test/java/org/springframework/data/rest/tests/TestMvcClient.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-core/src/test/java/org/springframework/data/rest/tests/TestMvcClient.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2016 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.
@@ -43,7 +43,7 @@ import org.springframework.web.context.request.ServletRequestAttributes;
/**
* Helper methods for web integration testing.
- *
+ *
* @author Oliver Gierke
* @author Greg Turnquist
*/
@@ -56,7 +56,7 @@ public class TestMvcClient {
/**
* Creates a new {@link TestMvcClient} for the given {@link MockMvc} and {@link LinkDiscoverers}.
- *
+ *
* @param mvc must not be {@literal null}.
* @param discoverers must not be {@literal null}.
*/
@@ -191,7 +191,7 @@ public class TestMvcClient {
/**
* Follow URL supplied as a string with a specific Accept header.
- *
+ *
* @param href
* @param accept
* @return
@@ -214,7 +214,7 @@ public class TestMvcClient {
/**
* Discover single URI associated with a rel, starting at the root node ("/")
- *
+ *
* @param rel
* @return
* @throws Exception
@@ -228,7 +228,7 @@ public class TestMvcClient {
/**
* Traverses the given link relations from the root.
- *
+ *
* @param rels
* @return
* @throws Exception
diff --git a/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/main/java/org/springframework/data/rest/tests/gemfire/AbstractPersistentEntity.java b/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/main/java/org/springframework/data/rest/tests/gemfire/AbstractPersistentEntity.java
index 3152e9e45..fc6505055 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/main/java/org/springframework/data/rest/tests/gemfire/AbstractPersistentEntity.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/main/java/org/springframework/data/rest/tests/gemfire/AbstractPersistentEntity.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012-2016 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.
@@ -19,7 +19,7 @@ import org.springframework.data.annotation.Id;
/**
* Base class for persistent classes.
- *
+ *
* @author Oliver Gierke
* @author David Turanski
*/
@@ -29,7 +29,7 @@ public class AbstractPersistentEntity {
/**
* Returns the identifier of the entity.
- *
+ *
* @return the id
*/
public Long getId() {
@@ -44,7 +44,7 @@ public class AbstractPersistentEntity {
this.id = null;
}
- /*
+ /*
* (non-Javadoc)
* @see java.lang.Object#equals(java.lang.Object)
*/
@@ -64,7 +64,7 @@ public class AbstractPersistentEntity {
return this.id.equals(that.getId());
}
- /*
+ /*
* (non-Javadoc)
* @see java.lang.Object#hashCode()
*/
diff --git a/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/main/java/org/springframework/data/rest/tests/gemfire/Address.java b/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/main/java/org/springframework/data/rest/tests/gemfire/Address.java
index 71b8b6b3f..0d2461565 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/main/java/org/springframework/data/rest/tests/gemfire/Address.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/main/java/org/springframework/data/rest/tests/gemfire/Address.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012-2016 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.
@@ -19,7 +19,7 @@ import org.springframework.util.Assert;
/**
* An address.
- *
+ *
* @author Oliver Gierke
*/
public class Address {
@@ -28,7 +28,7 @@ public class Address {
/**
* Creates a new {@link Address} from the given street, city and country.
- *
+ *
* @param street must not be {@literal null} or empty.
* @param city must not be {@literal null} or empty.
* @param country must not be {@literal null} or empty.
@@ -46,7 +46,7 @@ public class Address {
/**
* Returns a copy of the current {@link Address} instance which is a new entity in terms of persistence.
- *
+ *
* @return
*/
public Address getCopy() {
@@ -55,7 +55,7 @@ public class Address {
/**
* Returns the street.
- *
+ *
* @return
*/
public String getStreet() {
@@ -64,7 +64,7 @@ public class Address {
/**
* Returns the city.
- *
+ *
* @return
*/
public String getCity() {
@@ -73,7 +73,7 @@ public class Address {
/**
* Returns the country.
- *
+ *
* @return
*/
public String getCountry() {
diff --git a/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/main/java/org/springframework/data/rest/tests/gemfire/Customer.java b/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/main/java/org/springframework/data/rest/tests/gemfire/Customer.java
index 71105e817..e10b78ddf 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/main/java/org/springframework/data/rest/tests/gemfire/Customer.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/main/java/org/springframework/data/rest/tests/gemfire/Customer.java
@@ -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.
@@ -24,7 +24,7 @@ import org.springframework.util.Assert;
/**
* A customer.
- *
+ *
* @author Oliver Gierke
* @author David Turanski
* @author Mark Paluch
@@ -37,7 +37,7 @@ public class Customer extends AbstractPersistentEntity {
/**
* Creates a new {@link Customer} from the given parameters.
- *
+ *
* @param id the unique id;
* @param emailAddress must not be {@literal null} or empty.
* @param firstname must not be {@literal null} or empty.
@@ -58,7 +58,7 @@ public class Customer extends AbstractPersistentEntity {
/**
* Adds the given {@link Address} to the {@link Customer}.
- *
+ *
* @param address must not be {@literal null}.
*/
public void add(Address address) {
@@ -69,7 +69,7 @@ public class Customer extends AbstractPersistentEntity {
/**
* Returns the firstname of the {@link Customer}.
- *
+ *
* @return
*/
public String getFirstname() {
@@ -78,7 +78,7 @@ public class Customer extends AbstractPersistentEntity {
/**
* Sets the firstname of the {@link Customer}.
- *
+ *
* @param firstname
*/
public void setFirstname(String firstname) {
@@ -87,7 +87,7 @@ public class Customer extends AbstractPersistentEntity {
/**
* Returns the lastname of the {@link Customer}.
- *
+ *
* @return
*/
public String getLastname() {
@@ -96,7 +96,7 @@ public class Customer extends AbstractPersistentEntity {
/**
* Sets the lastname of the {@link Customer}.
- *
+ *
* @param lastname
*/
public void setLastname(String lastname) {
@@ -105,7 +105,7 @@ public class Customer extends AbstractPersistentEntity {
/**
* Returns the {@link EmailAddress} of the {@link Customer}.
- *
+ *
* @return
*/
public EmailAddress getEmailAddress() {
@@ -114,7 +114,7 @@ public class Customer extends AbstractPersistentEntity {
/**
* Sets the emailAddress of the {@link Customer}.
- *
+ *
* @param emailAddress
*/
public void setEmailAddress(EmailAddress emailAddress) {
@@ -123,7 +123,7 @@ public class Customer extends AbstractPersistentEntity {
/**
* Return the {@link Customer}'s addresses.
- *
+ *
* @return
*/
public Set getAddresses() {
diff --git a/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/main/java/org/springframework/data/rest/tests/gemfire/CustomerRepository.java b/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/main/java/org/springframework/data/rest/tests/gemfire/CustomerRepository.java
index 8d8c59314..855d475f0 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/main/java/org/springframework/data/rest/tests/gemfire/CustomerRepository.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/main/java/org/springframework/data/rest/tests/gemfire/CustomerRepository.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012-2016 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.
@@ -22,7 +22,7 @@ import org.springframework.data.repository.query.Param;
/**
* Repository interface to access {@link Customer}s.
- *
+ *
* @author Oliver Gierke
* @author David Turanski
*/
@@ -30,7 +30,7 @@ public interface CustomerRepository extends CrudRepository {
/**
* Finds all {@link Customer}s with the given lastname.
- *
+ *
* @param lastname
* @return
*/
@@ -38,7 +38,7 @@ public interface CustomerRepository extends CrudRepository {
/**
* Finds the Customer with the given {@link EmailAddress}.
- *
+ *
* @param emailAddress
* @return
*/
diff --git a/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/main/java/org/springframework/data/rest/tests/gemfire/EmailAddress.java b/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/main/java/org/springframework/data/rest/tests/gemfire/EmailAddress.java
index d51d68646..e644c88fd 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/main/java/org/springframework/data/rest/tests/gemfire/EmailAddress.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/main/java/org/springframework/data/rest/tests/gemfire/EmailAddress.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012-2016 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.
@@ -28,7 +28,7 @@ import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
/**
* Value object to represent email addresses.
- *
+ *
* @author Oliver Gierke
*/
@JsonSerialize(using = ToStringSerializer.class)
@@ -40,7 +40,7 @@ public final class EmailAddress {
/**
* Creates a new {@link EmailAddress} from the given {@link String} representation.
- *
+ *
* @param emailAddress must not be {@literal null} or empty.
*/
@JsonCreator
@@ -52,7 +52,7 @@ public final class EmailAddress {
/**
* Returns whether the given {@link String} is a valid {@link EmailAddress} which means you can safely instantiate the
* class.
- *
+ *
* @param candidate
* @return
*/
diff --git a/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/main/java/org/springframework/data/rest/tests/gemfire/LineItem.java b/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/main/java/org/springframework/data/rest/tests/gemfire/LineItem.java
index f0aa32d0f..20edff6c5 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/main/java/org/springframework/data/rest/tests/gemfire/LineItem.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/main/java/org/springframework/data/rest/tests/gemfire/LineItem.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012-2016 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.
@@ -30,7 +30,7 @@ public class LineItem {
/**
* Creates a new {@link LineItem} for the given {@link Product}.
- *
+ *
* @param product must not be {@literal null}.
*/
public LineItem(Product product) {
@@ -39,7 +39,7 @@ public class LineItem {
/**
* Creates a new {@link LineItem} for the given {@link Product} and amount.
- *
+ *
* @param product must not be {@literal null}.
* @param amount
*/
@@ -56,7 +56,7 @@ public class LineItem {
/**
* Returns the id of the {@link Product} the {@link LineItem} refers to.
- *
+ *
* @return
*/
public Long getProductId() {
@@ -65,7 +65,7 @@ public class LineItem {
/**
* Returns the amount of {@link Product}s to be ordered.
- *
+ *
* @return
*/
public int getAmount() {
@@ -74,7 +74,7 @@ public class LineItem {
/**
* Returns the price a single unit of the {@link LineItem}'s product.
- *
+ *
* @return the price
*/
public BigDecimal getUnitPrice() {
@@ -83,7 +83,7 @@ public class LineItem {
/**
* Returns the total for the {@link LineItem}.
- *
+ *
* @return
*/
public BigDecimal getTotal() {
diff --git a/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/main/java/org/springframework/data/rest/tests/gemfire/Order.java b/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/main/java/org/springframework/data/rest/tests/gemfire/Order.java
index 92ffcf181..b8cc41209 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/main/java/org/springframework/data/rest/tests/gemfire/Order.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/main/java/org/springframework/data/rest/tests/gemfire/Order.java
@@ -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.
@@ -38,7 +38,7 @@ public class Order extends AbstractPersistentEntity {
/**
* Creates a new {@link Order} for the given {@link org.springframework.data.rest.tests.gemfire.Customer}.
- *
+ *
* @param id order ID
* @param customerId must not be {@literal null}.
* @param shippingAddress must not be {@literal null}.
@@ -56,7 +56,7 @@ public class Order extends AbstractPersistentEntity {
/**
* Adds the given {@link LineItem} to the {@link Order}.
- *
+ *
* @param lineItem
*/
public void add(LineItem lineItem) {
@@ -66,7 +66,7 @@ public class Order extends AbstractPersistentEntity {
/**
* Returns the id of the {@link org.springframework.data.rest.tests.gemfire.Customer} who placed the
* {@link Order}.
- *
+ *
* @return
*/
public Long getCustomerId() {
@@ -75,7 +75,7 @@ public class Order extends AbstractPersistentEntity {
/**
* Returns the billing {@link Address} for this order.
- *
+ *
* @return
*/
public Address getBillingAddress() {
@@ -84,7 +84,7 @@ public class Order extends AbstractPersistentEntity {
/**
* Returns the shipping {@link Address} for this order;
- *
+ *
* @return
*/
public Address getShippingAddress() {
@@ -93,7 +93,7 @@ public class Order extends AbstractPersistentEntity {
/**
* Returns all {@link LineItem}s currently belonging to the {@link Order}.
- *
+ *
* @return
*/
public Set getLineItems() {
@@ -102,7 +102,7 @@ public class Order extends AbstractPersistentEntity {
/**
* Returns the total of the {@link Order}.
- *
+ *
* @return
*/
public BigDecimal getTotal() {
diff --git a/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/main/java/org/springframework/data/rest/tests/gemfire/OrderRepository.java b/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/main/java/org/springframework/data/rest/tests/gemfire/OrderRepository.java
index 1d28a5efe..8e402f791 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/main/java/org/springframework/data/rest/tests/gemfire/OrderRepository.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/main/java/org/springframework/data/rest/tests/gemfire/OrderRepository.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012-2016 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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/main/java/org/springframework/data/rest/tests/gemfire/Product.java b/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/main/java/org/springframework/data/rest/tests/gemfire/Product.java
index 0835a464e..4ed0b73b6 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/main/java/org/springframework/data/rest/tests/gemfire/Product.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/main/java/org/springframework/data/rest/tests/gemfire/Product.java
@@ -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.
@@ -26,7 +26,7 @@ import org.springframework.util.Assert;
/**
* A product.
- *
+ *
* @author Oliver Gierke
* @author David Turanski
* @author Mark Paluch
@@ -40,7 +40,7 @@ public class Product extends AbstractPersistentEntity {
/**
* Creates a new {@link Product} with the given name.
- *
+ *
* @param id a unique Id
* @param name must not be {@literal null} or empty.
* @param price must not be {@literal null} or less than or equal to zero.
@@ -51,7 +51,7 @@ public class Product extends AbstractPersistentEntity {
/**
* Creates a new {@link Product} from the given name and description.
- *
+ *
* @param id a unique Id
* @param name must not be {@literal null} or empty.
* @param price must not be {@literal null} or less than or equal to zero.
@@ -72,7 +72,7 @@ public class Product extends AbstractPersistentEntity {
/**
* Sets the attribute with the given name to the given value.
- *
+ *
* @param name must not be {@literal null} or empty.
* @param value
*/
@@ -89,7 +89,7 @@ public class Product extends AbstractPersistentEntity {
/**
* Returns the {@link Product}'s name.
- *
+ *
* @return
*/
public String getName() {
@@ -98,7 +98,7 @@ public class Product extends AbstractPersistentEntity {
/**
* Returns the {@link Product}'s description.
- *
+ *
* @return
*/
public String getDescription() {
@@ -107,7 +107,7 @@ public class Product extends AbstractPersistentEntity {
/**
* Returns all the custom attributes of the {@link Product}.
- *
+ *
* @return
*/
public Map getAttributes() {
@@ -116,7 +116,7 @@ public class Product extends AbstractPersistentEntity {
/**
* Returns the price of the {@link Product}.
- *
+ *
* @return
*/
public BigDecimal getPrice() {
diff --git a/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/main/java/org/springframework/data/rest/tests/gemfire/ProductRepository.java b/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/main/java/org/springframework/data/rest/tests/gemfire/ProductRepository.java
index 1e0223c27..e0440a722 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/main/java/org/springframework/data/rest/tests/gemfire/ProductRepository.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/main/java/org/springframework/data/rest/tests/gemfire/ProductRepository.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012-2016 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.
@@ -22,7 +22,7 @@ import org.springframework.data.repository.CrudRepository;
/**
* Repository interface to access {@link Product}s.
- *
+ *
* @author Oliver Gierke
* @author David Turanski
*/
@@ -30,7 +30,7 @@ public interface ProductRepository extends CrudRepository {
/**
* Returns a list of {@link Product}s having a description which contains the given snippet.
- *
+ *
* @param the search string
* @return
*/
@@ -38,7 +38,7 @@ public interface ProductRepository extends CrudRepository {
/**
* Returns all {@link Product}s having the given attribute value.
- *
+ *
* @param attribute
* @param value
* @return
diff --git a/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/test/java/org/springframework/data/rest/tests/gemfire/GemfireRepositoryConfig.java b/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/test/java/org/springframework/data/rest/tests/gemfire/GemfireRepositoryConfig.java
index 5eb2db4b8..534cfa83e 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/test/java/org/springframework/data/rest/tests/gemfire/GemfireRepositoryConfig.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/test/java/org/springframework/data/rest/tests/gemfire/GemfireRepositoryConfig.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012-2016 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.
@@ -25,7 +25,7 @@ import org.springframework.data.util.AnnotatedTypeScanner;
/**
* Spring JavaConfig configuration class to setup a Spring container and infrastructure components.
- *
+ *
* @author Oliver Gierke
* @author David Turanski
*/
diff --git a/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/test/java/org/springframework/data/rest/tests/gemfire/GemfireWebTests.java b/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/test/java/org/springframework/data/rest/tests/gemfire/GemfireWebTests.java
index 4bfd988e6..6c0afa233 100755
--- a/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/test/java/org/springframework/data/rest/tests/gemfire/GemfireWebTests.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-gemfire/src/test/java/org/springframework/data/rest/tests/gemfire/GemfireWebTests.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2016 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.
@@ -26,7 +26,7 @@ import org.springframework.test.context.ContextConfiguration;
@ContextConfiguration(classes = GemfireRepositoryConfig.class)
public class GemfireWebTests extends CommonWebTests {
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.webmvc.AbstractWebIntegrationTests#expectedRootLinkRels()
*/
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Address.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Address.java
index c696f3a07..e0f431a97 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Address.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Address.java
@@ -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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/AddressRepository.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/AddressRepository.java
index 5370fed4e..665b04932 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/AddressRepository.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/AddressRepository.java
@@ -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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Author.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Author.java
index a8cd88cc3..acc119ff9 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Author.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Author.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2016 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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/AuthorRepository.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/AuthorRepository.java
index 87f7744a5..2a844f66b 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/AuthorRepository.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/AuthorRepository.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2016 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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/AuthorsController.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/AuthorsController.java
index b9434d553..746e36551 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/AuthorsController.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/AuthorsController.java
@@ -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.
@@ -26,7 +26,7 @@ import org.springframework.web.bind.annotation.RequestMethod;
/**
* Sample custom controller to test the ability to override
- *
+ *
* @author Oliver Gierke
*/
@RepositoryRestController
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Book.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Book.java
index 5f6d6d8f0..1c5e02025 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Book.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Book.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2017 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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/BookExcerpt.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/BookExcerpt.java
index dc01b80c3..9a72e32b7 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/BookExcerpt.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/BookExcerpt.java
@@ -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.
@@ -19,7 +19,7 @@ import org.springframework.data.rest.core.config.Projection;
/**
* Interface for an excerpt projection for {@link Book}s.
- *
+ *
* @author Oliver Gierke
*/
@Projection(name = "excerpt", types = Book.class)
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/BookIdConverter.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/BookIdConverter.java
index 451dac17b..36d03329f 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/BookIdConverter.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/BookIdConverter.java
@@ -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.
@@ -24,12 +24,12 @@ import org.springframework.util.StringUtils;
/**
* {@link BackendIdConverter} artificially transforming the actual book id into some magic {@link String} and back.
- *
+ *
* @author Oliver Gierke
*/
public class BookIdConverter implements BackendIdConverter {
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.webmvc.support.BackendIdConverter#fromRequestId(java.lang.String, java.lang.Class)
*/
@@ -38,7 +38,7 @@ public class BookIdConverter implements BackendIdConverter {
return Long.parseLong(id.substring(0, id.indexOf('-')));
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.webmvc.support.BackendIdConverter#toRequestId(java.lang.Object, java.lang.Class)
*/
@@ -55,7 +55,7 @@ public class BookIdConverter implements BackendIdConverter {
return StringUtils.collectionToDelimitedString(ids, "-");
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.plugin.core.Plugin#supports(java.lang.Object)
*/
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/BookRepository.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/BookRepository.java
index eb4040745..6ad866940 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/BookRepository.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/BookRepository.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2016 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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/CreditCard.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/CreditCard.java
index 0c9da6e08..4a0dc113f 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/CreditCard.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/CreditCard.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2016 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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/CreditCardRepository.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/CreditCardRepository.java
index 086316c0e..70a5243e3 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/CreditCardRepository.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/CreditCardRepository.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2016 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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Dinner.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Dinner.java
index e994cdf22..5b563724d 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Dinner.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Dinner.java
@@ -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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Guest.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Guest.java
index dfc2e4ed3..c2d5c5576 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Guest.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Guest.java
@@ -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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Item.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Item.java
index 1a5c1e8a5..6371b97b1 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Item.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Item.java
@@ -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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/ItemRepository.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/ItemRepository.java
index 206d3fda7..8c1447f35 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/ItemRepository.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/ItemRepository.java
@@ -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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/LineItem.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/LineItem.java
index fcd508e8c..78069bea8 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/LineItem.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/LineItem.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2016 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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Meal.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Meal.java
index 3dd2cd4d0..c2ce0e371 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Meal.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Meal.java
@@ -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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Order.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Order.java
index 1b66c1b65..ba1fbcc68 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Order.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Order.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2016 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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/OrderRepository.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/OrderRepository.java
index d2b529df6..a042b2a30 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/OrderRepository.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/OrderRepository.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2016 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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/OrderSummary.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/OrderSummary.java
index d38ae6961..20f0e76be 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/OrderSummary.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/OrderSummary.java
@@ -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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Person.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Person.java
index de7553a31..0570eba2f 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Person.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Person.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012-2016 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.
@@ -36,7 +36,7 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
/**
* An entity that represents a person.
- *
+ *
* @author Jon Brisbin
*/
@Entity
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/PersonRepository.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/PersonRepository.java
index c8d3a6558..86f7f3a56 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/PersonRepository.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/PersonRepository.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2016 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.
@@ -31,7 +31,7 @@ import org.springframework.format.annotation.DateTimeFormat.ISO;
/**
* A repository to manage {@link Person}s.
- *
+ *
* @author Jon Brisbin
* @author Oliver Gierke
*/
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/PersonSummary.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/PersonSummary.java
index a7af5e60c..9efe693e9 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/PersonSummary.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/PersonSummary.java
@@ -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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Receipt.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Receipt.java
index 981b8d188..b34f7df6b 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Receipt.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Receipt.java
@@ -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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/ReceiptRepository.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/ReceiptRepository.java
index fb42e7188..0a26ab8c9 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/ReceiptRepository.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/ReceiptRepository.java
@@ -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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Room.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Room.java
index 3a3802599..7d3a87d45 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Room.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Room.java
@@ -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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Suite.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Suite.java
index de53ab687..640488e9c 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Suite.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Suite.java
@@ -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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Type.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Type.java
index a221edf7b..941e6609e 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Type.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/Type.java
@@ -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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/User.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/User.java
index 25a1ef92c..41bb619a0 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/User.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/User.java
@@ -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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/UserExcerpt.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/UserExcerpt.java
index 3200c17ff..c932d565c 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/UserExcerpt.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/UserExcerpt.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2015-2016 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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/UserRepository.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/UserRepository.java
index ef8d949b6..d0772dcc1 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/UserRepository.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/main/java/org/springframework/data/rest/webmvc/jpa/UserRepository.java
@@ -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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/RepositoryControllerIntegrationTests.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/RepositoryControllerIntegrationTests.java
index 956ca7ebd..3431b56be 100755
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/RepositoryControllerIntegrationTests.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/RepositoryControllerIntegrationTests.java
@@ -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.
@@ -30,7 +30,7 @@ import org.springframework.transaction.annotation.Transactional;
/**
* Integration tests for {@link RepositoryController}.
- *
+ *
* @author Oliver Gierke
* @author Greg Turnquist
*/
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/RepositoryEntityControllerIntegrationTests.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/RepositoryEntityControllerIntegrationTests.java
index e4ca20906..492839da8 100755
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/RepositoryEntityControllerIntegrationTests.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/RepositoryEntityControllerIntegrationTests.java
@@ -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.
@@ -55,7 +55,7 @@ import org.springframework.web.HttpRequestMethodNotSupportedException;
/**
* Integration tests for {@link RepositoryEntityController}.
- *
+ *
* @author Oliver Gierke
* @author Jeremy Rickard
*/
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/RepositoryPropertyReferenceControllerIntegrationTests.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/RepositoryPropertyReferenceControllerIntegrationTests.java
index cebe784f7..5876d6141 100755
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/RepositoryPropertyReferenceControllerIntegrationTests.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/RepositoryPropertyReferenceControllerIntegrationTests.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2015-2016 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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/RepositorySearchControllerIntegrationTests.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/RepositorySearchControllerIntegrationTests.java
index d60a721d8..41e9e5490 100755
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/RepositorySearchControllerIntegrationTests.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/RepositorySearchControllerIntegrationTests.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2017 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.
@@ -50,7 +50,7 @@ import org.springframework.util.MultiValueMap;
/**
* Integration tests for the {@link RepositorySearchController}.
- *
+ *
* @author Oliver Gierke
*/
@ContextConfiguration(classes = JpaRepositoryConfig.class)
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/RootResourceInformationIntegrationTests.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/RootResourceInformationIntegrationTests.java
index 57b04f1dd..393b36c27 100755
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/RootResourceInformationIntegrationTests.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/RootResourceInformationIntegrationTests.java
@@ -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.
@@ -31,7 +31,7 @@ import org.springframework.transaction.annotation.Transactional;
/**
* Integration tests for {@link RootResourceInformation}.
- *
+ *
* @author Oliver Gierke
*/
@RunWith(SpringJUnit4ClassRunner.class)
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/alps/AlpsControllerIntegrationTests.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/alps/AlpsControllerIntegrationTests.java
index 3472e8740..5da1287e6 100755
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/alps/AlpsControllerIntegrationTests.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/alps/AlpsControllerIntegrationTests.java
@@ -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.
@@ -52,7 +52,7 @@ import com.jayway.jsonpath.JsonPath;
/**
* Integration tests for {@link AlpsController}.
- *
+ *
* @author Oliver Gierke
* @author Greg Turnquist
*/
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/jpa/CorsIntegrationTests.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/jpa/CorsIntegrationTests.java
index f70636ebc..45c64eba9 100755
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/jpa/CorsIntegrationTests.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/jpa/CorsIntegrationTests.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2016-2017 original author or authors.
+ * Copyright 2016-2018 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.
@@ -39,7 +39,7 @@ import org.springframework.web.bind.annotation.RequestMethod;
/**
* Web integration tests specific to Cross-origin resource sharing.
- *
+ *
* @author Mark Paluch
* @soundtrack 2 Unlimited - No Limit
*/
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/jpa/DataRest262Tests.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/jpa/DataRest262Tests.java
index 497ab601a..32bdf4cc8 100755
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/jpa/DataRest262Tests.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/jpa/DataRest262Tests.java
@@ -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.
@@ -52,7 +52,7 @@ import com.jayway.jsonpath.JsonPath;
/**
* Integration tests for DATAREST-262, checking serialization and deserialization of associations within embeddables.
- *
+ *
* @author Oliver Gierke
*/
@RunWith(SpringJUnit4ClassRunner.class)
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/jpa/DataRest363Tests.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/jpa/DataRest363Tests.java
index e1e14fb3e..820cf6123 100755
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/jpa/DataRest363Tests.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/jpa/DataRest363Tests.java
@@ -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.
@@ -43,7 +43,7 @@ import org.springframework.web.context.WebApplicationContext;
/**
* Integration tests for DATAREST-363.
- *
+ *
* @author Greg Turnquist
* @author Oliver Gierke
*/
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/jpa/JpaDefaultPageableWebTests.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/jpa/JpaDefaultPageableWebTests.java
index 25c55755f..688dac9ba 100755
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/jpa/JpaDefaultPageableWebTests.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/jpa/JpaDefaultPageableWebTests.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2016-2017 original author or authors.
+ * Copyright 2016-2018 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.
@@ -47,7 +47,7 @@ import org.springframework.web.bind.annotation.ResponseBody;
/**
* Web integration tests specific to default {@link Pageable} handling.
- *
+ *
* @author Mark Paluch
*/
@RunWith(SpringJUnit4ClassRunner.class)
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/jpa/JpaInfrastructureConfig.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/jpa/JpaInfrastructureConfig.java
index 18147b101..1f7b093d8 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/jpa/JpaInfrastructureConfig.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/jpa/JpaInfrastructureConfig.java
@@ -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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/jpa/JpaRepositoryConfig.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/jpa/JpaRepositoryConfig.java
index 970598535..6fae7991b 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/jpa/JpaRepositoryConfig.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/jpa/JpaRepositoryConfig.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012-2016 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.
@@ -31,7 +31,7 @@ import org.springframework.web.bind.annotation.RequestMethod;
/**
* Test configuration for JPA.
- *
+ *
* @author Jon Brisbin
* @author Oliver Gierke
* @author Mark Paluch
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/jpa/JpaWebTests.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/jpa/JpaWebTests.java
index b0ed04164..79392b040 100755
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/jpa/JpaWebTests.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/jpa/JpaWebTests.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2017 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.
@@ -56,7 +56,7 @@ import com.jayway.jsonpath.JsonPath;
/**
* Web integration tests specific to JPA.
- *
+ *
* @author Oliver Gierke
* @author Greg Turnquist
* @author Mark Paluch
@@ -74,7 +74,7 @@ public class JpaWebTests extends CommonWebTests {
ObjectMapper mapper = new ObjectMapper();
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.webmvc.AbstractWebIntegrationTests#setUp()
*/
@@ -85,7 +85,7 @@ public class JpaWebTests extends CommonWebTests {
super.setUp();
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.webmvc.AbstractWebIntegrationTests#expectedRootLinkRels()
*/
@@ -94,7 +94,7 @@ public class JpaWebTests extends CommonWebTests {
return Arrays.asList("people", "authors", "books");
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.webmvc.AbstractWebIntegrationTests#getPayloadToPost()
*/
@@ -103,7 +103,7 @@ public class JpaWebTests extends CommonWebTests {
return Collections.singletonMap("people", readFileFromClasspath("person.json"));
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.webmvc.AbstractWebIntegrationTests#getRootAndLinkedResources()
*/
@@ -399,7 +399,7 @@ public class JpaWebTests extends CommonWebTests {
/**
* Checks, that the server only returns the properties contained in the projection requested.
- *
+ *
* @see OrderSummary
*/
@Test // DATAREST-221
@@ -674,7 +674,7 @@ public class JpaWebTests extends CommonWebTests {
/**
* Asserts the {@link Person} resource the given link points to contains siblings with the given names.
- *
+ *
* @param link
* @param siblingNames
* @throws Exception
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/jpa/ProfileIntegrationTests.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/jpa/ProfileIntegrationTests.java
index dc5aa5769..f3a2f7772 100755
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/jpa/ProfileIntegrationTests.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/jpa/ProfileIntegrationTests.java
@@ -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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/jpa/TestDataPopulator.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/jpa/TestDataPopulator.java
index 0dfbe7ff6..953096195 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/jpa/TestDataPopulator.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/jpa/TestDataPopulator.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2017 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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/jpa/groovy/SimulatedGroovyDomainClass.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/jpa/groovy/SimulatedGroovyDomainClass.java
index 6d1161181..cfd822f56 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/jpa/groovy/SimulatedGroovyDomainClass.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/jpa/groovy/SimulatedGroovyDomainClass.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2016-2017 original author or authors.
+ * Copyright 2016-2018 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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/jpa/groovy/SimulatedGroovyDomainClassRepository.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/jpa/groovy/SimulatedGroovyDomainClassRepository.java
index 1ef51679e..40d745aec 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/jpa/groovy/SimulatedGroovyDomainClassRepository.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/jpa/groovy/SimulatedGroovyDomainClassRepository.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2016-2017 original author or authors.
+ * Copyright 2016-2018 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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/json/Jackson2DatatypeHelperIntegrationTests.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/json/Jackson2DatatypeHelperIntegrationTests.java
index 66f2bb1ec..1a536bc00 100755
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/json/Jackson2DatatypeHelperIntegrationTests.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/json/Jackson2DatatypeHelperIntegrationTests.java
@@ -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.
@@ -41,7 +41,7 @@ import com.fasterxml.jackson.databind.ObjectMapper;
/**
* Integration tests for {@link Jackson2DatatypeHelper}.
- *
+ *
* @author Oliver Gierke
*/
@RunWith(SpringJUnit4ClassRunner.class)
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/json/PersistentEntitySerializationTests.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/json/PersistentEntitySerializationTests.java
index c6f98e340..deb15c9aa 100755
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/json/PersistentEntitySerializationTests.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/json/PersistentEntitySerializationTests.java
@@ -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.
@@ -72,7 +72,7 @@ import com.jayway.jsonpath.JsonPath;
/**
* Integration tests for entity (de)serialization.
- *
+ *
* @author Jon Brisbin
* @author Greg Turnquist
* @author Oliver Gierke
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/json/RepositoryTestsConfig.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/json/RepositoryTestsConfig.java
index 2f8a13e1f..8d7d2475b 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/json/RepositoryTestsConfig.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/json/RepositoryTestsConfig.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012-2016 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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/support/BackendIdConverterHandlerMethodArgumentResolverIntegrationTests.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/support/BackendIdConverterHandlerMethodArgumentResolverIntegrationTests.java
index 82b93642a..5b152222e 100755
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/support/BackendIdConverterHandlerMethodArgumentResolverIntegrationTests.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/support/BackendIdConverterHandlerMethodArgumentResolverIntegrationTests.java
@@ -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.
@@ -34,7 +34,7 @@ import org.springframework.web.context.request.ServletWebRequest;
/**
* Integration tests for {@link BackendIdHandlerMethodArgumentResolver}.
- *
+ *
* @author Oliver Gierke
*/
@ContextConfiguration(classes = JpaRepositoryConfig.class)
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/support/ExceptionHandlingCustomizationIntegrationTests.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/support/ExceptionHandlingCustomizationIntegrationTests.java
index 241bf4344..dcd9b6906 100755
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/support/ExceptionHandlingCustomizationIntegrationTests.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/support/ExceptionHandlingCustomizationIntegrationTests.java
@@ -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.
@@ -36,7 +36,7 @@ import org.springframework.web.bind.annotation.ExceptionHandler;
/**
* Integration tests for customization of Spring Data REST's exception handling.
- *
+ *
* @author Thibaud Lepretre
* @author Oliver Gierke
*/
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/support/RepositoryEntityLinksIntegrationTests.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/support/RepositoryEntityLinksIntegrationTests.java
index c24365eef..e886bb122 100755
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/support/RepositoryEntityLinksIntegrationTests.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/support/RepositoryEntityLinksIntegrationTests.java
@@ -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.
@@ -38,7 +38,7 @@ import org.springframework.web.util.UriComponentsBuilder;
/**
* Integration tests for {@link RepositoryEntityLinks}.
- *
+ *
* @author Oliver Gierke
*/
@ContextConfiguration(classes = JpaRepositoryConfig.class)
diff --git a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/util/TestUtils.java b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/util/TestUtils.java
index 600f5a357..efc29bfd9 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/util/TestUtils.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-jpa/src/test/java/org/springframework/data/rest/webmvc/util/TestUtils.java
@@ -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.
@@ -23,7 +23,7 @@ import org.springframework.data.rest.webmvc.jpa.JpaWebTests;
/**
* Test helper methods.
- *
+ *
* @author Oliver Gierke
* @author Christoph Strobl
*/
diff --git a/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/main/java/org/springframework/data/rest/tests/mongodb/Address.java b/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/main/java/org/springframework/data/rest/tests/mongodb/Address.java
index 73f3a4c8d..1bac49ae4 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/main/java/org/springframework/data/rest/tests/mongodb/Address.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/main/java/org/springframework/data/rest/tests/mongodb/Address.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2016 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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/main/java/org/springframework/data/rest/tests/mongodb/Profile.java b/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/main/java/org/springframework/data/rest/tests/mongodb/Profile.java
index e264fe28e..0b96de86c 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/main/java/org/springframework/data/rest/tests/mongodb/Profile.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/main/java/org/springframework/data/rest/tests/mongodb/Profile.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012-2016 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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/main/java/org/springframework/data/rest/tests/mongodb/ProfileRepository.java b/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/main/java/org/springframework/data/rest/tests/mongodb/ProfileRepository.java
index 9e986ce44..2064ec7dc 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/main/java/org/springframework/data/rest/tests/mongodb/ProfileRepository.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/main/java/org/springframework/data/rest/tests/mongodb/ProfileRepository.java
@@ -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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/main/java/org/springframework/data/rest/tests/mongodb/Receipt.java b/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/main/java/org/springframework/data/rest/tests/mongodb/Receipt.java
index 4b5d3b961..c6e1e7731 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/main/java/org/springframework/data/rest/tests/mongodb/Receipt.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/main/java/org/springframework/data/rest/tests/mongodb/Receipt.java
@@ -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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/main/java/org/springframework/data/rest/tests/mongodb/ReceiptRepository.java b/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/main/java/org/springframework/data/rest/tests/mongodb/ReceiptRepository.java
index 38af7b45a..8231d97de 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/main/java/org/springframework/data/rest/tests/mongodb/ReceiptRepository.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/main/java/org/springframework/data/rest/tests/mongodb/ReceiptRepository.java
@@ -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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/main/java/org/springframework/data/rest/tests/mongodb/User.java b/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/main/java/org/springframework/data/rest/tests/mongodb/User.java
index 73d46ff09..cf4568bbb 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/main/java/org/springframework/data/rest/tests/mongodb/User.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/main/java/org/springframework/data/rest/tests/mongodb/User.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2016 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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/main/java/org/springframework/data/rest/tests/mongodb/UserRepository.java b/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/main/java/org/springframework/data/rest/tests/mongodb/UserRepository.java
index 39cf5c666..0a2dd0ee5 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/main/java/org/springframework/data/rest/tests/mongodb/UserRepository.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/main/java/org/springframework/data/rest/tests/mongodb/UserRepository.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2016 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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/main/java/org/springframework/data/rest/tests/mongodb/UserSummary.java b/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/main/java/org/springframework/data/rest/tests/mongodb/UserSummary.java
index 3cde1cee0..d39665b94 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/main/java/org/springframework/data/rest/tests/mongodb/UserSummary.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/main/java/org/springframework/data/rest/tests/mongodb/UserSummary.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2015-2016 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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/main/java/org/springframework/data/rest/tests/mongodb/groovy/SimulatedGroovyDomainClass.java b/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/main/java/org/springframework/data/rest/tests/mongodb/groovy/SimulatedGroovyDomainClass.java
index f4dfba3b6..80a926120 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/main/java/org/springframework/data/rest/tests/mongodb/groovy/SimulatedGroovyDomainClass.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/main/java/org/springframework/data/rest/tests/mongodb/groovy/SimulatedGroovyDomainClass.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2016-2017 original author or authors.
+ * Copyright 2016-2018 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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/main/java/org/springframework/data/rest/tests/mongodb/groovy/SimulatedGroovyDomainClassRepository.java b/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/main/java/org/springframework/data/rest/tests/mongodb/groovy/SimulatedGroovyDomainClassRepository.java
index 364bcf73a..7aae97c1b 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/main/java/org/springframework/data/rest/tests/mongodb/groovy/SimulatedGroovyDomainClassRepository.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/main/java/org/springframework/data/rest/tests/mongodb/groovy/SimulatedGroovyDomainClassRepository.java
@@ -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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/tests/mongodb/MongoDbRepositoryConfig.java b/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/tests/mongodb/MongoDbRepositoryConfig.java
index fb7ac4497..20a3960db 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/tests/mongodb/MongoDbRepositoryConfig.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/tests/mongodb/MongoDbRepositoryConfig.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012-2016 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.
@@ -31,7 +31,7 @@ import com.mongodb.MongoClient;
@EnableMongoAuditing
public class MongoDbRepositoryConfig extends AbstractMongoConfiguration {
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.mongodb.config.AbstractMongoConfiguration#getDatabaseName()
*/
@@ -40,7 +40,7 @@ public class MongoDbRepositoryConfig extends AbstractMongoConfiguration {
return "spring-data-rest-sample";
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.mongodb.config.AbstractMongoConfiguration#getMappingBasePackage()
*/
@@ -49,7 +49,7 @@ public class MongoDbRepositoryConfig extends AbstractMongoConfiguration {
return "";
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.mongodb.config.AbstractMongoConfiguration#mongo()
*/
diff --git a/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/tests/mongodb/MongoWebTests.java b/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/tests/mongodb/MongoWebTests.java
index ac6b5811d..b78e89d37 100755
--- a/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/tests/mongodb/MongoWebTests.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/tests/mongodb/MongoWebTests.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2017 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.
@@ -45,7 +45,7 @@ import com.jayway.jsonpath.JsonPath;
/**
* Integration tests for MongoDB repositories.
- *
+ *
* @author Oliver Gierke
* @author Greg Turnquist
*/
@@ -101,7 +101,7 @@ public class MongoWebTests extends CommonWebTests {
userRepository.deleteAll();
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.webmvc.AbstractWebIntegrationTests#expectedRootLinkRels()
*/
diff --git a/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/tests/mongodb/TestUtils.java b/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/tests/mongodb/TestUtils.java
index 40d46e52e..530edd32c 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/tests/mongodb/TestUtils.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/tests/mongodb/TestUtils.java
@@ -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.
@@ -23,7 +23,7 @@ import org.springframework.util.Assert;
/**
* Test helper methods.
- *
+ *
* @author Oliver Gierke
* @author Christoph Strobl
*/
@@ -33,7 +33,7 @@ public class TestUtils {
/**
* Returns the given {@link String} as {@link InputStream}.
- *
+ *
* @param source must not be {@literal null}.
* @return
*/
diff --git a/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/webmvc/PersistentEntityResourceAssemblerIntegrationTests.java b/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/webmvc/PersistentEntityResourceAssemblerIntegrationTests.java
index 983fe8040..3ba22a857 100755
--- a/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/webmvc/PersistentEntityResourceAssemblerIntegrationTests.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/webmvc/PersistentEntityResourceAssemblerIntegrationTests.java
@@ -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.
@@ -43,7 +43,7 @@ import com.fasterxml.jackson.databind.ObjectMapper;
/**
* Integration tests for {@link PersistentEntityResourceAssembler}.
- *
+ *
* @author Oliver Gierke
*/
@ContextConfiguration(classes = { TestConfiguration.class, MongoDbRepositoryConfig.class })
diff --git a/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/webmvc/RepositoryRestHandlerMappingIntegrationTests.java b/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/webmvc/RepositoryRestHandlerMappingIntegrationTests.java
index 994b41dcb..f0a0924d4 100755
--- a/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/webmvc/RepositoryRestHandlerMappingIntegrationTests.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/webmvc/RepositoryRestHandlerMappingIntegrationTests.java
@@ -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.
@@ -29,7 +29,7 @@ import org.springframework.web.servlet.HandlerExecutionChain;
/**
* Integration tests for {@link BasePathAwareHandlerMapping}.
- *
+ *
* @author Oliver Gierke
* @soundtrack Elephants Crossing - Echo (Irrelephant)
*/
diff --git a/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/webmvc/config/AbstractRepositoryRestMvcConfigurationIntegrationTests.java b/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/webmvc/config/AbstractRepositoryRestMvcConfigurationIntegrationTests.java
index b907c12d4..93bd93db8 100755
--- a/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/webmvc/config/AbstractRepositoryRestMvcConfigurationIntegrationTests.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/webmvc/config/AbstractRepositoryRestMvcConfigurationIntegrationTests.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2016 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.
@@ -26,7 +26,7 @@ import org.springframework.web.context.WebApplicationContext;
/**
* Base class for integration tests that are run against a particular configuration defined by the subclass.
- *
+ *
* @author Oliver Gierke
*/
@RunWith(SpringJUnit4ClassRunner.class)
diff --git a/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/webmvc/config/JsonPatchHandlerUnitTests.java b/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/webmvc/config/JsonPatchHandlerUnitTests.java
index 154798d0f..f3ba2b166 100755
--- a/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/webmvc/config/JsonPatchHandlerUnitTests.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/webmvc/config/JsonPatchHandlerUnitTests.java
@@ -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.
@@ -44,7 +44,7 @@ import com.fasterxml.jackson.databind.ObjectMapper;
/**
* Unit tests for {@link JsonPatchHandler}.
- *
+ *
* @author Oliver Gierke
*/
@RunWith(MockitoJUnitRunner.class)
diff --git a/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/webmvc/config/LegacyRepresentationConfigIntegrationTests.java b/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/webmvc/config/LegacyRepresentationConfigIntegrationTests.java
index 2829db5d9..77cf5f3c4 100755
--- a/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/webmvc/config/LegacyRepresentationConfigIntegrationTests.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/webmvc/config/LegacyRepresentationConfigIntegrationTests.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2017 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.
@@ -31,7 +31,7 @@ import org.springframework.test.context.ContextConfiguration;
/**
* Integration tests to check the legacy representation is rendered if HAL is not the default media type.
- *
+ *
* @author Oliver Gierke
*/
@ContextConfiguration
diff --git a/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/webmvc/config/QuerydslAwareRootResourceInformationHandlerMethodArgumentResolverUnitTests.java b/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/webmvc/config/QuerydslAwareRootResourceInformationHandlerMethodArgumentResolverUnitTests.java
index 0731f7e66..63e1aff1d 100755
--- a/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/webmvc/config/QuerydslAwareRootResourceInformationHandlerMethodArgumentResolverUnitTests.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/webmvc/config/QuerydslAwareRootResourceInformationHandlerMethodArgumentResolverUnitTests.java
@@ -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.
@@ -51,7 +51,7 @@ import com.querydsl.core.types.Predicate;
/**
* Unit tests for {@link QuerydslAwareRootResourceInformationHandlerMethodArgumentResolver}.
- *
+ *
* @author Oliver Gierke
*/
@RunWith(MockitoJUnitRunner.class)
diff --git a/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/webmvc/json/PersistentEntitySerializationTests.java b/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/webmvc/json/PersistentEntitySerializationTests.java
index 5e198bc06..72ef0b8c1 100755
--- a/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/webmvc/json/PersistentEntitySerializationTests.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/webmvc/json/PersistentEntitySerializationTests.java
@@ -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.
@@ -57,7 +57,7 @@ import com.jayway.jsonpath.JsonPath;
/**
* Integration tests for entity (de)serialization.
- *
+ *
* @author Jon Brisbin
* @author Greg Turnquist
* @author Oliver Gierke
diff --git a/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/webmvc/json/PersistentEntityToJsonSchemaConverterUnitTests.java b/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/webmvc/json/PersistentEntityToJsonSchemaConverterUnitTests.java
index 8ca23faf6..c8d1168cd 100755
--- a/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/webmvc/json/PersistentEntityToJsonSchemaConverterUnitTests.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/webmvc/json/PersistentEntityToJsonSchemaConverterUnitTests.java
@@ -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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/webmvc/support/RepositoryLinkBuildUnitTests.java b/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/webmvc/support/RepositoryLinkBuildUnitTests.java
index 1f68fa878..e69e32890 100755
--- a/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/webmvc/support/RepositoryLinkBuildUnitTests.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-mongodb/src/test/java/org/springframework/data/rest/webmvc/support/RepositoryLinkBuildUnitTests.java
@@ -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.
@@ -31,7 +31,7 @@ import org.springframework.hateoas.Link;
/**
* Unit tests for {@link RepositoryLinkBuilder}.
- *
+ *
* @author Oliver Gierke
*/
public class RepositoryLinkBuildUnitTests {
diff --git a/spring-data-rest-tests/spring-data-rest-tests-security/src/main/java/org/springframework/data/rest/tests/security/Order.java b/spring-data-rest-tests/spring-data-rest-tests-security/src/main/java/org/springframework/data/rest/tests/security/Order.java
index 734d6e959..4134cdcb1 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-security/src/main/java/org/springframework/data/rest/tests/security/Order.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-security/src/main/java/org/springframework/data/rest/tests/security/Order.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2016 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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-security/src/main/java/org/springframework/data/rest/tests/security/Person.java b/spring-data-rest-tests/spring-data-rest-tests-security/src/main/java/org/springframework/data/rest/tests/security/Person.java
index 71d89866d..445cd3beb 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-security/src/main/java/org/springframework/data/rest/tests/security/Person.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-security/src/main/java/org/springframework/data/rest/tests/security/Person.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2016 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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-security/src/test/java/org/springframework/data/rest/tests/security/PreAuthorizedOrderRepository.java b/spring-data-rest-tests/spring-data-rest-tests-security/src/test/java/org/springframework/data/rest/tests/security/PreAuthorizedOrderRepository.java
index 7f1a10237..5c6a0e12e 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-security/src/test/java/org/springframework/data/rest/tests/security/PreAuthorizedOrderRepository.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-security/src/test/java/org/springframework/data/rest/tests/security/PreAuthorizedOrderRepository.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2016 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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-security/src/test/java/org/springframework/data/rest/tests/security/SecuredPersonRepository.java b/spring-data-rest-tests/spring-data-rest-tests-security/src/test/java/org/springframework/data/rest/tests/security/SecuredPersonRepository.java
index 6a3bfe0ff..b4c6bf656 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-security/src/test/java/org/springframework/data/rest/tests/security/SecuredPersonRepository.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-security/src/test/java/org/springframework/data/rest/tests/security/SecuredPersonRepository.java
@@ -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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-security/src/test/java/org/springframework/data/rest/tests/security/SecurityConfiguration.java b/spring-data-rest-tests/spring-data-rest-tests-security/src/test/java/org/springframework/data/rest/tests/security/SecurityConfiguration.java
index 7560e2773..63e6422b6 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-security/src/test/java/org/springframework/data/rest/tests/security/SecurityConfiguration.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-security/src/test/java/org/springframework/data/rest/tests/security/SecurityConfiguration.java
@@ -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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-security/src/test/java/org/springframework/data/rest/tests/security/SecurityIntegrationTests.java b/spring-data-rest-tests/spring-data-rest-tests-security/src/test/java/org/springframework/data/rest/tests/security/SecurityIntegrationTests.java
index 57a1861d5..997de7573 100755
--- a/spring-data-rest-tests/spring-data-rest-tests-security/src/test/java/org/springframework/data/rest/tests/security/SecurityIntegrationTests.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-security/src/test/java/org/springframework/data/rest/tests/security/SecurityIntegrationTests.java
@@ -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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/Address.java b/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/Address.java
index 1abfc2a1f..a2b3a2bd9 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/Address.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/Address.java
@@ -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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/Customer.java b/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/Customer.java
index bae23d2ab..6bcfb5d49 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/Customer.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/Customer.java
@@ -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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/CustomerExcerpt.java b/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/CustomerExcerpt.java
index 72120b6f3..8a226a6c6 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/CustomerExcerpt.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/CustomerExcerpt.java
@@ -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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/CustomerRepository.java b/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/CustomerRepository.java
index 6c2c3bdd1..ea742491f 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/CustomerRepository.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/CustomerRepository.java
@@ -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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/LineItem.java b/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/LineItem.java
index 50a47b289..507bd7c78 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/LineItem.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/LineItem.java
@@ -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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/LineItemType.java b/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/LineItemType.java
index 8a358d9d5..e712e8def 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/LineItemType.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/LineItemType.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2016 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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/LineItemTypeRepository.java b/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/LineItemTypeRepository.java
index a2b196a4e..f4e0a2c85 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/LineItemTypeRepository.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/LineItemTypeRepository.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2016 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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/Order.java b/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/Order.java
index 0b66fad7a..a1e3025c2 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/Order.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/Order.java
@@ -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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/OrderRepository.java b/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/OrderRepository.java
index c1c96d143..10881f237 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/OrderRepository.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/OrderRepository.java
@@ -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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/Product.java b/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/Product.java
index 6ba8487ea..a4ec8b905 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/Product.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/Product.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2016 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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/ProductExcerpt.java b/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/ProductExcerpt.java
index 28aa5fef6..fc6e5eb45 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/ProductExcerpt.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/ProductExcerpt.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2016 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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/ProductRepository.java b/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/ProductRepository.java
index b320f0093..dd0584120 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/ProductRepository.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-shop/src/main/java/org/springframework/data/rest/tests/shop/ProductRepository.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2016 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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-shop/src/test/java/org/springframework/data/rest/tests/shop/ShopConfiguration.java b/spring-data-rest-tests/spring-data-rest-tests-shop/src/test/java/org/springframework/data/rest/tests/shop/ShopConfiguration.java
index 9b2f4443f..9b9458f87 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-shop/src/test/java/org/springframework/data/rest/tests/shop/ShopConfiguration.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-shop/src/test/java/org/springframework/data/rest/tests/shop/ShopConfiguration.java
@@ -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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-shop/src/test/java/org/springframework/data/rest/tests/shop/ShopIntegrationTests.java b/spring-data-rest-tests/spring-data-rest-tests-shop/src/test/java/org/springframework/data/rest/tests/shop/ShopIntegrationTests.java
index c21388aa4..3c1871617 100755
--- a/spring-data-rest-tests/spring-data-rest-tests-shop/src/test/java/org/springframework/data/rest/tests/shop/ShopIntegrationTests.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-shop/src/test/java/org/springframework/data/rest/tests/shop/ShopIntegrationTests.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2016-2017 original author or authors.
+ * Copyright 2016-2018 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 com.jayway.jsonpath.JsonPath;
/**
* Integration tests for projections.
- *
+ *
* @author Oliver Gierke
* @author Craig Andrews
*/
diff --git a/spring-data-rest-tests/spring-data-rest-tests-solr/src/test/java/org/springframework/data/rest/webmvc/solr/Product.java b/spring-data-rest-tests/spring-data-rest-tests-solr/src/test/java/org/springframework/data/rest/webmvc/solr/Product.java
index b71e02108..1614edc58 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-solr/src/test/java/org/springframework/data/rest/webmvc/solr/Product.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-solr/src/test/java/org/springframework/data/rest/webmvc/solr/Product.java
@@ -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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-solr/src/test/java/org/springframework/data/rest/webmvc/solr/ProductRepository.java b/spring-data-rest-tests/spring-data-rest-tests-solr/src/test/java/org/springframework/data/rest/webmvc/solr/ProductRepository.java
index 27452a662..a3c9c3f10 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-solr/src/test/java/org/springframework/data/rest/webmvc/solr/ProductRepository.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-solr/src/test/java/org/springframework/data/rest/webmvc/solr/ProductRepository.java
@@ -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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-solr/src/test/java/org/springframework/data/rest/webmvc/solr/SolrInfrastructureConfig.java b/spring-data-rest-tests/spring-data-rest-tests-solr/src/test/java/org/springframework/data/rest/webmvc/solr/SolrInfrastructureConfig.java
index 9ec2c3041..48984ee68 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-solr/src/test/java/org/springframework/data/rest/webmvc/solr/SolrInfrastructureConfig.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-solr/src/test/java/org/springframework/data/rest/webmvc/solr/SolrInfrastructureConfig.java
@@ -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.
@@ -111,7 +111,7 @@ public class SolrInfrastructureConfig {
*
* To prevent error messages popping up we register a {@link CloseHook} re adding the index directory and removing it
* after {@link SolrCore#close()}.
- *
+ *
* @param factory
*/
private void attachCloseHook(SolrClientFactory factory) {
diff --git a/spring-data-rest-tests/spring-data-rest-tests-solr/src/test/java/org/springframework/data/rest/webmvc/solr/SolrTestBase.java b/spring-data-rest-tests/spring-data-rest-tests-solr/src/test/java/org/springframework/data/rest/webmvc/solr/SolrTestBase.java
index f43c4922b..53e678c07 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-solr/src/test/java/org/springframework/data/rest/webmvc/solr/SolrTestBase.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-solr/src/test/java/org/springframework/data/rest/webmvc/solr/SolrTestBase.java
@@ -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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-solr/src/test/java/org/springframework/data/rest/webmvc/solr/SolrWebTests.java b/spring-data-rest-tests/spring-data-rest-tests-solr/src/test/java/org/springframework/data/rest/webmvc/solr/SolrWebTests.java
index a9a822117..bbd637474 100755
--- a/spring-data-rest-tests/spring-data-rest-tests-solr/src/test/java/org/springframework/data/rest/webmvc/solr/SolrWebTests.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-solr/src/test/java/org/springframework/data/rest/webmvc/solr/SolrWebTests.java
@@ -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.
diff --git a/spring-data-rest-tests/spring-data-rest-tests-solr/src/test/java/org/springframework/data/rest/webmvc/solr/TestUtils.java b/spring-data-rest-tests/spring-data-rest-tests-solr/src/test/java/org/springframework/data/rest/webmvc/solr/TestUtils.java
index 73c3de702..12ed751c2 100644
--- a/spring-data-rest-tests/spring-data-rest-tests-solr/src/test/java/org/springframework/data/rest/webmvc/solr/TestUtils.java
+++ b/spring-data-rest-tests/spring-data-rest-tests-solr/src/test/java/org/springframework/data/rest/webmvc/solr/TestUtils.java
@@ -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.
@@ -28,7 +28,7 @@ import org.springframework.util.StringUtils;
/**
* Test helper methods.
- *
+ *
* @author Oliver Gierke
* @author Christoph Strobl
*/
@@ -38,7 +38,7 @@ class TestUtils {
/**
* Filters the given {@link Resource} by replacing values within.
- *
+ *
* @param source must not be {@literal null}.
* @param replacements
* @return {@link Resource} with replaced values.
diff --git a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/AbstractRepositoryRestController.java b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/AbstractRepositoryRestController.java
index 48167a1fa..634f0e727 100644
--- a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/AbstractRepositoryRestController.java
+++ b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/AbstractRepositoryRestController.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012-2015 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.
@@ -49,7 +49,7 @@ class AbstractRepositoryRestController {
/**
* Creates a new {@link AbstractRepositoryRestController} for the given {@link PagedResourcesAssembler} and
* {@link AuditableBeanWrapperFactory}.
- *
+ *
* @param pagedResourcesAssembler must not be {@literal null}.
*/
public AbstractRepositoryRestController(PagedResourcesAssembler
- *
+ *
* @author Craig Walls
*/
interface LateObjectEvaluator {
diff --git a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/patch/MoveOperation.java b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/patch/MoveOperation.java
index 5ad076e15..88d2429a8 100644
--- a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/patch/MoveOperation.java
+++ b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/patch/MoveOperation.java
@@ -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.
@@ -29,7 +29,7 @@ import lombok.RequiredArgsConstructor;
* on the values of each item in the list. When the same list resource is retrieved again later, the order will again be
* decided by the query, effectively undoing any previous move operation.
*
- *
+ *
* @author Craig Walls
* @author Oliver Gierke
*/
@@ -39,7 +39,7 @@ class MoveOperation extends PatchOperation {
/**
* Constructs the move operation.
- *
+ *
* @param path The path to move the source value to. (e.g., '/foo/bar/4')
* @param from The source path from which a value will be moved. (e.g., '/foo/bar/5')
*/
diff --git a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/patch/Patch.java b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/patch/Patch.java
index d0ad2c587..9d5d0d04e 100644
--- a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/patch/Patch.java
+++ b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/patch/Patch.java
@@ -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 java.util.List;
* This class (and {@link PatchOperation} capture the definition of a patch, but are not coupled to any specific patch
* representation.
*
- *
+ *
* @author Craig Walls
* @author Oliver Gierke
*/
@@ -51,7 +51,7 @@ public class Patch {
/**
* Applies the Patch to a given Object graph. Makes a copy of the given object so that it will remain unchanged after
* application of the patch and in case any errors occur while performing the patch.
- *
+ *
* @param in The object graph to apply the patch to.
* @param type The object type.
* @param the object type.
@@ -70,7 +70,7 @@ public class Patch {
/**
* Applies the Patch to a given List of objects. Makes a copy of the given list so that it will remain unchanged after
* application of the patch and in case any errors occur while performing the patch.
- *
+ *
* @param in The list to apply the patch to.
* @param type The list's generic type.
* @param the list's generic type.
diff --git a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/patch/PatchConverter.java b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/patch/PatchConverter.java
index 71994eae5..8ba6019b1 100644
--- a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/patch/PatchConverter.java
+++ b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/patch/PatchConverter.java
@@ -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.
@@ -27,7 +27,7 @@ import com.fasterxml.jackson.databind.JsonNode;
* For example, if the {@link Patch} is to be represented as JSON Patch, the representation type could be
* {@link JsonNode} or some other JSON library's type that holds a JSON document.
*
- *
+ *
* @author Craig Walls
* @author Oliver Gierke
* @param A type holding a representation of the patch. For example, a JsonNode if working with JSON Patch.
@@ -36,7 +36,7 @@ public interface PatchConverter {
/**
* Convert a patch document representation to a {@link Patch}.
- *
+ *
* @param patchRepresentation the representation of a patch.
* @return the {@link Patch} object that the document represents.
*/
diff --git a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/patch/PatchException.java b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/patch/PatchException.java
index 9f902afab..93c128c3c 100644
--- a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/patch/PatchException.java
+++ b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/patch/PatchException.java
@@ -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.
@@ -17,7 +17,7 @@ package org.springframework.data.rest.webmvc.json.patch;
/**
* Exception thrown if an error occurs in the course of applying a Patch.
- *
+ *
* @author Craig Walls
* @author Oliver Gierke
*/
diff --git a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/patch/PatchOperation.java b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/patch/PatchOperation.java
index 8f26e085f..bea039bec 100644
--- a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/patch/PatchOperation.java
+++ b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/patch/PatchOperation.java
@@ -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.
@@ -20,7 +20,7 @@ import lombok.RequiredArgsConstructor;
/**
* Abstract base class representing and providing support methods for patch operations.
- *
+ *
* @author Craig Walls
* @author Mathias Düsterhöft
* @author Oliver Gierke
@@ -34,7 +34,7 @@ public abstract class PatchOperation {
/**
* Constructs the operation.
- *
+ *
* @param op the operation name. (e.g., 'move')
* @param path the path to perform the operation on. (e.g., '/1/description')
*/
@@ -44,7 +44,7 @@ public abstract class PatchOperation {
/**
* Performs late-value evaluation on the operation value if the value is a {@link LateObjectEvaluator}.
- *
+ *
* @param targetObject the target object, used as assistance in determining the evaluated object's type.
* @param entityType the entityType
* @param the entity type
@@ -61,7 +61,7 @@ public abstract class PatchOperation {
/**
* Perform the operation in the given target object.
- *
+ *
* @param target the target of the operation, must not be {@literal null}.
* @param type must not be {@literal null}.
*/
diff --git a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/patch/RemoveOperation.java b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/patch/RemoveOperation.java
index b48ce13f0..0081698ed 100644
--- a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/patch/RemoveOperation.java
+++ b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/patch/RemoveOperation.java
@@ -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.
@@ -18,7 +18,7 @@ package org.springframework.data.rest.webmvc.json.patch;
/**
* Operation that removes the value at the given path. Will throw a {@link PatchException} if the given path isn't valid
* or if the path is non-nullable.
- *
+ *
* @author Craig Walls
* @author Oliver Gierke
*/
@@ -26,7 +26,7 @@ class RemoveOperation extends PatchOperation {
/**
* Constructs the remove operation
- *
+ *
* @param path The path of the value to be removed. (e.g., '/foo/bar/4')
*/
private RemoveOperation(SpelPath path) {
diff --git a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/patch/ReplaceOperation.java b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/patch/ReplaceOperation.java
index 3debd7f32..76b8d78ac 100644
--- a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/patch/ReplaceOperation.java
+++ b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/patch/ReplaceOperation.java
@@ -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.
@@ -20,7 +20,7 @@ import lombok.RequiredArgsConstructor;
/**
* Operation that replaces the value at the given path with a new value.
- *
+ *
* @author Craig Walls
* @author Oliver Gierke
*/
@@ -28,7 +28,7 @@ class ReplaceOperation extends PatchOperation {
/**
* Constructs the replace operation
- *
+ *
* @param path The path whose value is to be replaced. (e.g., '/foo/bar/4')
* @param value The value that will replace the current path value.
*/
diff --git a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/patch/SpelPath.java b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/patch/SpelPath.java
index acfa32781..e3be1c275 100644
--- a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/patch/SpelPath.java
+++ b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/patch/SpelPath.java
@@ -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.
@@ -41,7 +41,7 @@ import org.springframework.util.ConcurrentReferenceHashMap;
/**
* Value object to represent a SpEL-backed patch path.
- *
+ *
* @author Oliver Gierke
*/
@RequiredArgsConstructor(access = AccessLevel.PRIVATE)
@@ -64,7 +64,7 @@ class SpelPath {
/**
* Returns a {@link SpelPath} for the given source.
- *
+ *
* @param source must not be {@literal null}.
* @return
*/
@@ -74,7 +74,7 @@ class SpelPath {
/**
* Returns a {@link TypedSpelPath} binding the expression to the given type.
- *
+ *
* @param type must not be {@literal null}.
* @return
*/
@@ -87,7 +87,7 @@ class SpelPath {
/**
* Returns the leaf type of the underlying expression or the given type
- *
+ *
* @param type
* @return
*/
@@ -100,7 +100,7 @@ class SpelPath {
/**
* Returns whether the current path represents an append path, i.e. is supposed to append to collection.
- *
+ *
* @return
*/
public boolean isAppend() {
@@ -111,7 +111,7 @@ class SpelPath {
return SpelPath.of(path.substring(0, path.lastIndexOf('/')));
}
- /*
+ /*
* (non-Javadoc)
* @see java.lang.Object#toString()
*/
@@ -120,7 +120,7 @@ class SpelPath {
return path;
}
- /*
+ /*
* (non-Javadoc)
* @see java.lang.Object#equals(java.lang.Object)
*/
@@ -140,7 +140,7 @@ class SpelPath {
return this.path.equals(that.path);
}
- /*
+ /*
* (non-Javadoc)
* @see java.lang.Object#hashCode()
*/
@@ -229,7 +229,7 @@ class SpelPath {
/**
* Returns the {@link TypedSpelPath} for the given {@link SpelPath} and type.
- *
+ *
* @param path must not be {@literal null}.
* @param type must not be {@literal null}.
* @return
@@ -244,7 +244,7 @@ class SpelPath {
/**
* Returns the value pointed to by the current path with the given target object.
- *
+ *
* @param target must not be {@literal null}.
* @return can be {@literal null}.
*/
@@ -262,7 +262,7 @@ class SpelPath {
/**
* Sets the given value on the given target object.
- *
+ *
* @param target must not be {@literal null}.
* @param value can be {@literal null}.
*/
@@ -275,7 +275,7 @@ class SpelPath {
/**
* Returns the type of the expression target based on the given root.
- *
+ *
* @param root must not be {@literal null}.
* @return
*/
@@ -288,7 +288,7 @@ class SpelPath {
/**
* Copies the value pointed to by the given path within the given source object to the current expression target.
- *
+ *
* @param path the {@link SpelPath} to look the value up from, must not be {@literal null}.
* @param source the source object to look the value up from, must not be {@literal null}.
* @return
@@ -305,7 +305,7 @@ class SpelPath {
/**
* Moves the value pointed to by the given path within the given source object to the current expression target and
* removes the value from its original position.
- *
+ *
* @param path the {@link SpelPath} to look the value up from, must not be {@literal null}.
* @param source the source object to look the value up from, must not be {@literal null}.
* @return
@@ -320,7 +320,7 @@ class SpelPath {
/**
* Removes the value pointed to by the current path within the given target.
- *
+ *
* @param target must not be {@literal null}.
* @return the original value that was just removed.
*/
@@ -351,7 +351,7 @@ class SpelPath {
/**
* Adds a value to the operation's path. If the path references a list index, the value is added to the list at the
* given index. If the path references an object property, the property is set to the value.
- *
+ *
* @param target The target object.
* @param value The value to add.
*/
@@ -410,7 +410,7 @@ class SpelPath {
/**
* Verifies that the given path exists on the given type. Skips collection index parts and append characters.
- *
+ *
* @param path must not be {@literal null} or empty.
* @param type must not be {@literal null}.
* @return the {@link PropertyPath} if the path could be resolved or {@link Optional#empty()} in case an empty path
diff --git a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/patch/TestOperation.java b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/patch/TestOperation.java
index a16c137c1..27ea802c3 100644
--- a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/patch/TestOperation.java
+++ b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/patch/TestOperation.java
@@ -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.
@@ -31,7 +31,7 @@ import org.springframework.util.ObjectUtils;
* If the value given matches the value given at the path, the operation completes as a no-op. On the other hand, if the
* values do not match or if there are any errors interpreting the path, a {@link PatchException} will be thrown.
*
- *
+ *
* @author Craig Walls
* @author Oliver Gierke
*/
@@ -39,7 +39,7 @@ class TestOperation extends PatchOperation {
/**
* Constructs the test operation
- *
+ *
* @param path The path to test. (e.g., '/foo/bar/4')
* @param value The value to test the path against.
*/
diff --git a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/mapping/Associations.java b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/mapping/Associations.java
index 55359e0ee..9d59a7b51 100644
--- a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/mapping/Associations.java
+++ b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/mapping/Associations.java
@@ -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.
@@ -82,7 +82,7 @@ public class Associations {
/**
* Returns the {@link ResourceMetadata} for the given type.
- *
+ *
* @param type must not be {@literal null}.
* @return
*/
@@ -95,7 +95,7 @@ public class Associations {
/**
* Returns whether the type of the given {@link PersistentProperty} is configured as lookup type.
- *
+ *
* @param property must not be {@literal null}.
* @return
*/
@@ -112,7 +112,7 @@ public class Associations {
/**
* Returns whether the given {@link Association} is linkable.
- *
+ *
* @param association must not be {@literal null}.
* @return
*/
@@ -125,7 +125,7 @@ public class Associations {
/**
* Returns whether the given property is an association that is linkable.
- *
+ *
* @param property must not be {@literal null}.
* @return
*/
diff --git a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/mapping/LinkCollectingAssociationHandler.java b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/mapping/LinkCollectingAssociationHandler.java
index f2bcc4ad7..87c6096f7 100644
--- a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/mapping/LinkCollectingAssociationHandler.java
+++ b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/mapping/LinkCollectingAssociationHandler.java
@@ -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.
@@ -30,7 +30,7 @@ import org.springframework.util.Assert;
/**
* {@link SimpleAssociationHandler} that will collect {@link Link}s for all linkable associations.
- *
+ *
* @author Oliver Gierke
* @since 2.1
*/
@@ -48,7 +48,7 @@ public class LinkCollectingAssociationHandler implements SimpleAssociationHandle
/**
* Creates a new {@link LinkCollectingAssociationHandler} for the given {@link PersistentEntities}, {@link Path} and
* {@link Associations}.
- *
+ *
* @param entities must not be {@literal null}.
* @param path must not be {@literal null}.
* @param associations must not be {@literal null}.
@@ -78,14 +78,14 @@ public class LinkCollectingAssociationHandler implements SimpleAssociationHandle
/**
* Returns the links collected after the {@link Association} has been traversed.
- *
+ *
* @return the links
*/
public List getLinks() {
return links;
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.mapping.SimpleAssociationHandler#doWithAssociation(org.springframework.data.mapping.Association)
*/
diff --git a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/mapping/LinkCollector.java b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/mapping/LinkCollector.java
index e9ffc26f4..5fece6833 100644
--- a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/mapping/LinkCollector.java
+++ b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/mapping/LinkCollector.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2016 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.
diff --git a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/mapping/NestedLinkCollectingAssociationHandler.java b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/mapping/NestedLinkCollectingAssociationHandler.java
index eabe6f2ae..646b98de7 100644
--- a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/mapping/NestedLinkCollectingAssociationHandler.java
+++ b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/mapping/NestedLinkCollectingAssociationHandler.java
@@ -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.
@@ -48,7 +48,7 @@ public class NestedLinkCollectingAssociationHandler implements SimpleAssociation
private final @Getter List links = new ArrayList();
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.mapping.SimpleAssociationHandler#doWithAssociation(org.springframework.data.mapping.Association)
*/
diff --git a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/spi/BackendIdConverter.java b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/spi/BackendIdConverter.java
index fe8dccfec..9d52fcc2e 100644
--- a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/spi/BackendIdConverter.java
+++ b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/spi/BackendIdConverter.java
@@ -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.
@@ -21,14 +21,14 @@ import org.springframework.plugin.core.Plugin;
/**
* SPI to allow the customization of how entity ids are exposed in URIs generated.
- *
+ *
* @author Oliver Gierke
*/
public interface BackendIdConverter extends Plugin> {
/**
* Returns the id of the entity to be looked up eventually.
- *
+ *
* @param id the source id as it was parsed from the incoming request, will never be {@literal null}.
* @param entityType the type of the object to be resolved, will never be {@literal null}.
* @return must not be {@literal null}.
@@ -37,7 +37,7 @@ public interface BackendIdConverter extends Plugin> {
/**
* Returns the id to be used in the URI generated to point to an entity of the given type with the given id.
- *
+ *
* @param id the entity's id, will never be {@literal null}.
* @param entityType the type of the entity to expose.
* @return
@@ -46,14 +46,14 @@ public interface BackendIdConverter extends Plugin> {
/**
* The default {@link BackendIdConverter} that will simply use ids as they are.
- *
+ *
* @author Oliver Gierke
*/
public enum DefaultIdConverter implements BackendIdConverter {
INSTANCE;
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.webmvc.support.BackendIdConverter#fromRequestId(java.lang.String, java.lang.Class)
*/
@@ -62,7 +62,7 @@ public interface BackendIdConverter extends Plugin> {
return id;
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.webmvc.support.BackendIdConverter#toRequestId(java.lang.Object, java.lang.Class)
*/
@@ -71,7 +71,7 @@ public interface BackendIdConverter extends Plugin> {
return id.toString();
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.plugin.core.Plugin#supports(java.lang.Object)
*/
diff --git a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/BackendId.java b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/BackendId.java
index ee3139361..1bc11a10b 100644
--- a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/BackendId.java
+++ b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/BackendId.java
@@ -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.
@@ -22,7 +22,7 @@ import java.lang.annotation.Target;
/**
* Annotation to bind the backend id of an entity.
- *
+ *
* @author Oliver Gierke
*/
@Retention(RetentionPolicy.RUNTIME)
diff --git a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/BackendIdHandlerMethodArgumentResolver.java b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/BackendIdHandlerMethodArgumentResolver.java
index 457d2d08a..501020fd9 100644
--- a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/BackendIdHandlerMethodArgumentResolver.java
+++ b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/BackendIdHandlerMethodArgumentResolver.java
@@ -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.
@@ -34,7 +34,7 @@ import org.springframework.web.method.support.ModelAndViewContainer;
/**
* {@link HandlerMethodArgumentResolver} to resolve entity ids for injection int handler method arguments annotated with
* {@link BackendId}.
- *
+ *
* @author Oliver Gierke
*/
public class BackendIdHandlerMethodArgumentResolver implements HandlerMethodArgumentResolver {
@@ -46,7 +46,7 @@ public class BackendIdHandlerMethodArgumentResolver implements HandlerMethodArgu
/**
* Creates a new {@link BackendIdHandlerMethodArgumentResolver} for the given {@link BackendIdConverter}s and
* {@link ResourceMetadataHandlerMethodArgumentResolver}.
- *
+ *
* @param idConverters the {@link BackendIdConverter}s registered in the system, must not be {@literal null}..
* @param resourceMetadataResolver the resolver to obtain {@link ResourceMetadata} from, must not be {@literal null}.
* @param baseUri must not be {@literal null}.
@@ -63,7 +63,7 @@ public class BackendIdHandlerMethodArgumentResolver implements HandlerMethodArgu
this.baseUri = baseUri;
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.web.method.support.HandlerMethodArgumentResolver#supportsParameter(org.springframework.core.MethodParameter)
*/
@@ -72,7 +72,7 @@ public class BackendIdHandlerMethodArgumentResolver implements HandlerMethodArgu
return parameter.hasParameterAnnotation(BackendId.class);
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.web.method.support.HandlerMethodArgumentResolver#resolveArgument(org.springframework.core.MethodParameter, org.springframework.web.method.support.ModelAndViewContainer, org.springframework.web.context.request.NativeWebRequest, org.springframework.web.bind.support.WebDataBinderFactory)
*/
diff --git a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/DefaultExcerptProjector.java b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/DefaultExcerptProjector.java
index ef92b2822..dda8e799b 100644
--- a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/DefaultExcerptProjector.java
+++ b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/DefaultExcerptProjector.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2016 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.
@@ -25,7 +25,7 @@ import org.springframework.util.Assert;
/**
* {@link DefaultedPageable} implementation of {@link ExcerptProjector} that uses the given {@link ProjectionFactory}
* and considers the given {@link ResourceMappings}.
- *
+ *
* @author Oliver Gierke
* @since 2.5
*/
diff --git a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/DefaultedPageable.java b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/DefaultedPageable.java
index de4558e29..ee27c4d75 100644
--- a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/DefaultedPageable.java
+++ b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/DefaultedPageable.java
@@ -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.
@@ -19,7 +19,7 @@ import org.springframework.data.domain.Pageable;
/**
* Value object to capture a {@link Pageable} as well it is the default one configured.
- *
+ *
* @author Oliver Gierke
*/
public class DefaultedPageable {
@@ -29,7 +29,7 @@ public class DefaultedPageable {
/**
* Creates a new {@link DefaultedPageable} with the given {@link Pageable} and default flag.
- *
+ *
* @param pageable can be {@literal null}.
* @param isDefault
*/
@@ -41,7 +41,7 @@ public class DefaultedPageable {
/**
* Returns the delegate {@link Pageable}.
- *
+ *
* @return can be {@literal null}.
*/
public Pageable getPageable() {
@@ -50,7 +50,7 @@ public class DefaultedPageable {
/**
* Returns whether the contained {@link Pageable} is the default one configured.
- *
+ *
* @return the isDefault
*/
public boolean isDefault() {
diff --git a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/DefaultedPageableHandlerMethodArgumentResolver.java b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/DefaultedPageableHandlerMethodArgumentResolver.java
index a595bc644..c73ca3e28 100644
--- a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/DefaultedPageableHandlerMethodArgumentResolver.java
+++ b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/DefaultedPageableHandlerMethodArgumentResolver.java
@@ -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.
@@ -28,7 +28,7 @@ import org.springframework.web.method.support.ModelAndViewContainer;
* {@link HandlerMethodArgumentResolver} to resolve {@link DefaultedPageable} if requested. Allows to find out whether
* the resolved {@link Pageable} is logically identical to the fallback on configured on the delegate
* {@link PageableHandlerMethodArgumentResolver}.
- *
+ *
* @author Oliver Gierke
*/
public class DefaultedPageableHandlerMethodArgumentResolver implements HandlerMethodArgumentResolver {
@@ -38,7 +38,7 @@ public class DefaultedPageableHandlerMethodArgumentResolver implements HandlerMe
/**
* Creates a new {@link DefaultedPageableHandlerMethodArgumentResolver} delegating to the given
* {@link PageableHandlerMethodArgumentResolver}.
- *
+ *
* @param resolver must not be {@literal null}.
*/
public DefaultedPageableHandlerMethodArgumentResolver(PageableHandlerMethodArgumentResolver resolver) {
@@ -47,7 +47,7 @@ public class DefaultedPageableHandlerMethodArgumentResolver implements HandlerMe
this.resolver = resolver;
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.web.method.support.HandlerMethodArgumentResolver#resolveArgument(org.springframework.core.MethodParameter, org.springframework.web.method.support.ModelAndViewContainer, org.springframework.web.context.request.NativeWebRequest, org.springframework.web.bind.support.WebDataBinderFactory)
*/
@@ -59,7 +59,7 @@ public class DefaultedPageableHandlerMethodArgumentResolver implements HandlerMe
return new DefaultedPageable(pageable, resolver.isFallbackPageable(pageable));
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.web.method.support.HandlerMethodArgumentResolver#supportsParameter(org.springframework.core.MethodParameter)
*/
diff --git a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/DelegatingHandlerMapping.java b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/DelegatingHandlerMapping.java
index 6d34a391d..cea73c78f 100644
--- a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/DelegatingHandlerMapping.java
+++ b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/DelegatingHandlerMapping.java
@@ -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.
@@ -32,7 +32,7 @@ import org.springframework.web.servlet.HandlerMapping;
/**
* A {@link HandlerMapping} that considers a {@link List} of delegates. It will keep on traversing the delegates in case
* an {@link HttpMediaTypeNotAcceptableException} is thrown while trying to lookup the handler on a particular delegate.
- *
+ *
* @author Oliver Gierke
* @soundtrack Benny Greb - Stabila (Moving Parts)
*/
@@ -42,7 +42,7 @@ public class DelegatingHandlerMapping implements HandlerMapping, Ordered {
/**
* Creates a new {@link DelegatingHandlerMapping} for the given delegates.
- *
+ *
* @param delegates must not be {@literal null}.
*/
public DelegatingHandlerMapping(List delegates) {
@@ -52,7 +52,7 @@ public class DelegatingHandlerMapping implements HandlerMapping, Ordered {
this.delegates = delegates;
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.core.Ordered#getOrder()
*/
@@ -61,7 +61,7 @@ public class DelegatingHandlerMapping implements HandlerMapping, Ordered {
return Ordered.LOWEST_PRECEDENCE - 100;
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.web.servlet.HandlerMapping#getHandler(javax.servlet.http.HttpServletRequest)
*/
diff --git a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/DomainClassResolver.java b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/DomainClassResolver.java
index c8c1e3204..2aef9a4dd 100644
--- a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/DomainClassResolver.java
+++ b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/DomainClassResolver.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2016 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.
diff --git a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/ETag.java b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/ETag.java
index 5b5929bc9..16bee9aca 100644
--- a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/ETag.java
+++ b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/ETag.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2014-2015 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.
@@ -30,7 +30,7 @@ import org.springframework.util.Assert;
/**
* A value object to represent ETags.
- *
+ *
* @author Oliver Gierke
*/
@EqualsAndHashCode
@@ -42,7 +42,7 @@ public final class ETag {
/**
* Creates a new {@link ETag} from the given value.
- *
+ *
* @param value can be {@literal null}.
*/
private ETag(String value) {
@@ -52,7 +52,7 @@ public final class ETag {
/**
* Creates a new {@link ETag} for the given {@link String} value. Falls back to {@link #NO_ETAG} in case
* {@literal null} is provided.
- *
+ *
* @param value the source ETag value, must not be {@literal null}.
* @return
*/
@@ -66,7 +66,7 @@ public final class ETag {
/**
* Creates a new {@link ETag} for the given {@link PersistentEntityResource}.
- *
+ *
* @param resource must not be {@literal null}.
* @return
*/
@@ -79,7 +79,7 @@ public final class ETag {
/**
* Creates a new {@link ETag} from the given {@link PersistentEntity} and target bean.
- *
+ *
* @param entity must not be {@literal null}.
* @param bean must not be {@literal null}.
* @return
@@ -91,7 +91,7 @@ public final class ETag {
/**
* Verifies the ETag to be created for the given target bean with the current one and raises a
* {@link ETagDoesntMatchException} in case they don't match.
- *
+ *
* @param entity must not be {@literal null}.
* @param target can be {@literal null}.
* @throws ETagDoesntMatchException in case the calculated {@link ETag} for the given bean does not match the current
@@ -111,7 +111,7 @@ public final class ETag {
/**
* Returns whether the {@link ETag} matches the given {@link PersistentEntity} and target. A more dissenting way of
* checking matches as it does not match if the ETag is {@link #NO_ETAG}.
- *
+ *
* @param entity must not be {@literal null}.
* @param target can be {@literal null}.
* @return
@@ -127,7 +127,7 @@ public final class ETag {
/**
* Adds the current {@link ETag} to the given headers.
- *
+ *
* @param headers must not be {@literal null}.
* @return the {@link HttpHeaders} with the ETag header been set if the current {@link ETag} instance is not
* {@link #NO_ETAG}.
@@ -145,7 +145,7 @@ public final class ETag {
return headers;
}
- /*
+ /*
* (non-Javadoc)
* @see java.lang.Object#toString()
*/
diff --git a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/ETagArgumentResolver.java b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/ETagArgumentResolver.java
index 9ba48eac6..bd343a54f 100644
--- a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/ETagArgumentResolver.java
+++ b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/ETagArgumentResolver.java
@@ -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.
@@ -28,13 +28,13 @@ import org.springframework.web.method.support.ModelAndViewContainer;
/**
* {@link HandlerMethodArgumentResolver} to resolve If-Match headers for optimistic locking handling {@link IfMatch}.
- *
+ *
* @author Pablo Lozano
* @author Oliver Gierke
*/
public class ETagArgumentResolver implements HandlerMethodArgumentResolver {
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.web.method.support.HandlerMethodArgumentResolver#supportsParameter(org.springframework.core.MethodParameter)
*/
@@ -43,7 +43,7 @@ public class ETagArgumentResolver implements HandlerMethodArgumentResolver {
return parameter.getParameterType().equals(ETag.class);
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.web.method.support.HandlerMethodArgumentResolver#resolveArgument(org.springframework.core.MethodParameter, org.springframework.web.method.support.ModelAndViewContainer, org.springframework.web.context.request.NativeWebRequest, org.springframework.web.bind.support.WebDataBinderFactory)
*/
diff --git a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/ETagDoesntMatchException.java b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/ETagDoesntMatchException.java
index 70471ebbb..999baecfe 100644
--- a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/ETagDoesntMatchException.java
+++ b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/ETagDoesntMatchException.java
@@ -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.
@@ -19,7 +19,7 @@ import org.springframework.util.Assert;
/**
* An exception being thrown in case the {@link ETag} calculated for a particular object does not match an expected one.
- *
+ *
* @author Oliver Gierke
* @see ETag#verify(org.springframework.data.mapping.PersistentEntity, Object)
*/
@@ -33,7 +33,7 @@ public class ETagDoesntMatchException extends RuntimeException {
/**
* Creates a new {@link ETagDoesntMatchException} for the given bean as well as the {@link ETag} it was expected to
* match.
- *
+ *
* @param bean must not be {@literal null}.
* @param expected must not be {@literal null}.
*/
@@ -48,7 +48,7 @@ public class ETagDoesntMatchException extends RuntimeException {
/**
* Returns the bean not matching the {@link ETag}.
- *
+ *
* @return the bean
*/
public Object getBean() {
@@ -57,7 +57,7 @@ public class ETagDoesntMatchException extends RuntimeException {
/**
* Returns the {@link ETag} the bean was expected to match.
- *
+ *
* @return the expected
*/
public ETag getExpectedETag() {
diff --git a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/ExcerptProjector.java b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/ExcerptProjector.java
index 54753025a..675f2eb4a 100644
--- a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/ExcerptProjector.java
+++ b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/ExcerptProjector.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2016 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.
@@ -17,7 +17,7 @@ package org.springframework.data.rest.webmvc.support;
/**
* Interface for a component that can provide excerpt projections.
- *
+ *
* @author Oliver Gierke
* @since 2.5
*/
@@ -27,7 +27,7 @@ public interface ExcerptProjector {
* Creates a excerpt projection for the given source. If no excerpt projection is available, the call will fall back
* to the behavior of {@link #project(Object)}. If you completely wish to skip handling the object, check for the
* presence of an excerpt projection using {@link #hasExcerptProjection(Class)}.
- *
+ *
* @param source must not be {@literal null}.
* @return
*/
@@ -35,7 +35,7 @@ public interface ExcerptProjector {
/**
* Returns whether an excerpt projection has been registered for the given type.
- *
+ *
* @param type must not be {@literal null}.
* @return
*/
diff --git a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/HttpMethodHandlerMethodArgumentResolver.java b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/HttpMethodHandlerMethodArgumentResolver.java
index 3cfca17e9..a63ce0bf7 100644
--- a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/HttpMethodHandlerMethodArgumentResolver.java
+++ b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/HttpMethodHandlerMethodArgumentResolver.java
@@ -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,14 +27,14 @@ import org.springframework.web.method.support.ModelAndViewContainer;
/**
* {@link HandlerMethodArgumentResolver} to provide {@link HttpMethod} instances for innjection into MVC controller
* methods.
- *
+ *
* @author Oliver Gierke
*/
public enum HttpMethodHandlerMethodArgumentResolver implements HandlerMethodArgumentResolver {
INSTANCE;
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.web.method.support.HandlerMethodArgumentResolver#supportsParameter(org.springframework.core.MethodParameter)
*/
@@ -43,7 +43,7 @@ public enum HttpMethodHandlerMethodArgumentResolver implements HandlerMethodArgu
return HttpMethod.class.equals(parameter.getParameterType());
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.web.method.support.HandlerMethodArgumentResolver#resolveArgument(org.springframework.core.MethodParameter, org.springframework.web.method.support.ModelAndViewContainer, org.springframework.web.context.request.NativeWebRequest, org.springframework.web.bind.support.WebDataBinderFactory)
*/
diff --git a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/PagingAndSortingTemplateVariables.java b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/PagingAndSortingTemplateVariables.java
index 22f4f402e..d54530a35 100644
--- a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/PagingAndSortingTemplateVariables.java
+++ b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/PagingAndSortingTemplateVariables.java
@@ -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 org.springframework.web.util.UriComponents;
/**
* Interface to abstract the access of {@link TemplateVariables} for pagination and sorting.
- *
+ *
* @author Oliver Gierke
* @since 2.3
*/
@@ -30,7 +30,7 @@ public interface PagingAndSortingTemplateVariables extends UriComponentsContribu
/**
* Returns the {@link TemplateVariables} for pagination.
- *
+ *
* @param parameter can be {@literal null}.
* @param components must not be {@literal null}.
* @return
@@ -39,7 +39,7 @@ public interface PagingAndSortingTemplateVariables extends UriComponentsContribu
/**
* Returns the {@link TemplateVariables} for sorting.
- *
+ *
* @param parameter can be {@literal null}.
* @param components must not be {@literal null}.
* @return
diff --git a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/PersistentEntityProjector.java b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/PersistentEntityProjector.java
index ea886dcaa..e1ccd18dd 100644
--- a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/PersistentEntityProjector.java
+++ b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/PersistentEntityProjector.java
@@ -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.
@@ -24,7 +24,7 @@ import org.springframework.util.StringUtils;
/**
* {@link Projector} looking up a projection by name for the given source type.
- *
+ *
* @author Oliver Gierke
*/
public class PersistentEntityProjector extends DefaultExcerptProjector implements Projector {
@@ -36,7 +36,7 @@ public class PersistentEntityProjector extends DefaultExcerptProjector implement
/**
* Creates a new {@link PersistentEntityProjector} using the given {@link ProjectionDefinitions},
* {@link ProjectionFactory} and projection name.
- *
+ *
* @param projectionDefinitions must not be {@literal null}.
* @param factory must not be {@literal null}.
* @param projection can be empty.
@@ -69,7 +69,7 @@ public class PersistentEntityProjector extends DefaultExcerptProjector implement
});
}
- /*
+ /*
* (non-Javadoc)
* @see org.springframework.data.rest.webmvc.support.DefaultExcerptProjector#projectExcerpt(java.lang.Object)
*/
@@ -88,7 +88,7 @@ public class PersistentEntityProjector extends DefaultExcerptProjector implement
/**
* Creates the projection for the given source instance falling back to the given {@link Converter} if no explicit
* projection is selected.
- *
+ *
* @param source must not be {@literal null}.
* @param converter must not be {@literal null}.
* @return
diff --git a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/Projector.java b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/Projector.java
index 550fd8b2c..e10bd51d3 100644
--- a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/Projector.java
+++ b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/Projector.java
@@ -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.
@@ -17,7 +17,7 @@ package org.springframework.data.rest.webmvc.support;
/**
* Interface for a component being able to create projections for objects.
- *
+ *
* @author Oliver Gierke
*/
public interface Projector extends ExcerptProjector {
@@ -25,7 +25,7 @@ public interface Projector extends ExcerptProjector {
/**
* Returns the projection object for the given source. This may result in the same object being returned or a
* completely different acting as projection for the source.
- *
+ *
* @param source must not be {@literal null}.
* @return
*/
diff --git a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/RepositoryConstraintViolationExceptionMessage.java b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/RepositoryConstraintViolationExceptionMessage.java
index 8f10efb3c..bc252982f 100644
--- a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/RepositoryConstraintViolationExceptionMessage.java
+++ b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/RepositoryConstraintViolationExceptionMessage.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012-2016 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.
@@ -38,7 +38,7 @@ public class RepositoryConstraintViolationExceptionMessage {
/**
* Creates a new {@link RepositoryConstraintViolationExceptionMessage} for the given
* {@link RepositoryConstraintViolationException} and {@link MessageSourceAccessor}.
- *
+ *
* @param exception must not be {@literal null}.
* @param accessor must not be {@literal null}.
*/
diff --git a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/RepositoryEntityLinks.java b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/RepositoryEntityLinks.java
index a6b591fdb..144bd538d 100644
--- a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/RepositoryEntityLinks.java
+++ b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/RepositoryEntityLinks.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012-2015 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.
@@ -55,7 +55,7 @@ import org.springframework.web.util.UriComponentsBuilder;
/**
* {@link EntityLinks} implementation that is able to create {@link Link} for domain classes managed by Spring Data
* REST.
- *
+ *
* @author Jon Brisbin
* @author Oliver Gierke
*/
@@ -99,7 +99,7 @@ public class RepositoryEntityLinks extends AbstractEntityLinks {
/**
* Returns the link to to the paged colelction resource for the given type, pre-expanding the
- *
+ *
* @param type must not be {@literal null}.
* @param pageable the pageable to can be {@literal null}.
* @return
@@ -146,7 +146,7 @@ public class RepositoryEntityLinks extends AbstractEntityLinks {
/**
* Returns all links to search resource for the given type.
- *
+ *
* @param type must not be {@literal null}.
* @return
* @since 2.3
@@ -158,7 +158,7 @@ public class RepositoryEntityLinks extends AbstractEntityLinks {
/**
* Returns all link to search resources for the given type, pre-expanded with the given {@link Pageable} if
* applicable.
- *
+ *
* @param type must not be {@literal null}.
* @param pageable can be {@literal null}.
* @return
@@ -170,7 +170,7 @@ public class RepositoryEntityLinks extends AbstractEntityLinks {
/**
* Returns all link to search resources for the given type, pre-expanded with the given {@link Sort} if applicable.
- *
+ *
* @param type must not be {@literal null}.
* @param sort can be {@literal null}.
* @return
@@ -182,7 +182,7 @@ public class RepositoryEntityLinks extends AbstractEntityLinks {
/**
* Creates the link to the search resource with the given rel for a given type.
- *
+ *
* @param domainType must not be {@literal null}.
* @param rel must not be {@literal null} or empty.
* @return
@@ -195,7 +195,7 @@ public class RepositoryEntityLinks extends AbstractEntityLinks {
/**
* Creates the link to the search resource with the given rel for a given type. Uses the given {@link Pageable} to
* pre-expand potentially available template variables.
- *
+ *
* @param domainType must not be {@literal null}.
* @param rel must not be {@literal null} or empty.
* @param pageable can be {@literal null}.
@@ -209,7 +209,7 @@ public class RepositoryEntityLinks extends AbstractEntityLinks {
/**
* Creates the link to the search resource with the given rel for a given type. Uses the given {@link Sort} to
* pre-expand potentially available template variables.
- *
+ *
* @param domainType must not be {@literal null}.
* @param rel must not be {@literal null} or empty.
* @param sort can be {@literal null}.
@@ -223,7 +223,7 @@ public class RepositoryEntityLinks extends AbstractEntityLinks {
/**
* Returns all links to search resources of the given type. Pre-expands the template with the given {@link Pageable}
* and {@link Sort} if applicable.
- *
+ *
* @param type must not be {@literal null}.
* @param pageable can be {@literal null}.
* @param sort can be {@literal null}.
@@ -245,7 +245,7 @@ public class RepositoryEntityLinks extends AbstractEntityLinks {
/**
* Returns the link pointing to the search resource with the given rel of the given type and pre-expands the
* calculated URi tempalte with the given {@link Pageable} and {@link Sort}.
- *
+ *
* @param type must not be {@literal null}.
* @param rel must not be {@literal null} or empty.
* @param pageable can be {@literal null}.
@@ -280,7 +280,7 @@ public class RepositoryEntityLinks extends AbstractEntityLinks {
/**
* Returns the {@link TemplateVariables} to be added for pagination for the given {@link UriComponentsBuilder} in case
* the given {@link ResourceMapping} is a paging resource.
- *
+ *
* @param components must not be {@literal null}.
* @param mapping must not be {@literal null}.
* @param pageable can be {@literal null}.
@@ -298,7 +298,7 @@ public class RepositoryEntityLinks extends AbstractEntityLinks {
/**
* Returns all {@link TemplateVariables} that need to be added based on the given {@link UriComponents},
* {@link MethodResourceMapping}, {@link Pageable} and {@link Sort}.
- *
+ *
* @param components must not be {@literal null}.
* @param mapping must not be {@literal null}.
* @param pageable can be {@literal null}
@@ -318,7 +318,7 @@ public class RepositoryEntityLinks extends AbstractEntityLinks {
/**
* Returns the {@link TemplateVariables} for the projection parameter if projections are vonfigured for the given
* type.
- *
+ *
* @param type must not be {@literal null}.
* @return will never be {@literal null}.
*/
@@ -335,7 +335,7 @@ public class RepositoryEntityLinks extends AbstractEntityLinks {
/**
* Returns the {@link TemplateVariables} for all parameters of the given {@link MethodResourceMapping}.
- *
+ *
* @param mapping must not be {@literal null}.
* @return will never be {@literal null}.
*/
diff --git a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/RepositoryLinkBuilder.java b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/RepositoryLinkBuilder.java
index ba34e1329..30fcdcb09 100644
--- a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/RepositoryLinkBuilder.java
+++ b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/RepositoryLinkBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2014 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.
@@ -28,7 +28,7 @@ import org.springframework.web.util.UriComponentsBuilder;
/**
* {@link LinkBuilder} to be able to create links pointing to repositories.
- *
+ *
* @author Oliver Gierke
*/
public class RepositoryLinkBuilder extends LinkBuilderSupport {
@@ -37,7 +37,7 @@ public class RepositoryLinkBuilder extends LinkBuilderSupport {
private static final Answer DEFAULT = Mockito.RETURNS_DEFAULTS;
- /*
+ /*
* (non-Javadoc)
* @see org.mockito.stubbing.Answer#answer(org.mockito.invocation.InvocationOnMock)
*/
diff --git a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/config/ArgumentResolverPagingAndSortingTemplateVariablesUnitTests.java b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/config/ArgumentResolverPagingAndSortingTemplateVariablesUnitTests.java
index c5764d543..00fc2724a 100755
--- a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/config/ArgumentResolverPagingAndSortingTemplateVariablesUnitTests.java
+++ b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/config/ArgumentResolverPagingAndSortingTemplateVariablesUnitTests.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2015-2017 original author or authors.
+ * Copyright 2015-2018 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.
@@ -36,7 +36,7 @@ import org.springframework.web.util.UriComponentsBuilder;
/**
* Unit tests for {@link ArgumentResolverPagingAndSortingTemplateVariables}.
- *
+ *
* @author Oliver Gierke
*/
@RunWith(MockitoJUnitRunner.class)
diff --git a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/config/PersistentEntityResourceHandlerMethodArgumentResolverUnitTests.java b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/config/PersistentEntityResourceHandlerMethodArgumentResolverUnitTests.java
index 35dca6f31..f2d8a570d 100644
--- a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/config/PersistentEntityResourceHandlerMethodArgumentResolverUnitTests.java
+++ b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/config/PersistentEntityResourceHandlerMethodArgumentResolverUnitTests.java
@@ -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.
@@ -47,7 +47,7 @@ import org.springframework.web.method.support.ModelAndViewContainer;
/**
* Unit tests for {@link PersistentEntityResourceHandlerMethodArgumentResolver}.
- *
+ *
* @author Oliver Gierke
*/
public class PersistentEntityResourceHandlerMethodArgumentResolverUnitTests {
diff --git a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/config/RepositoryRestMvConfigurationIntegrationTests.java b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/config/RepositoryRestMvConfigurationIntegrationTests.java
index f3d2c95ba..d850e5fdc 100755
--- a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/config/RepositoryRestMvConfigurationIntegrationTests.java
+++ b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/config/RepositoryRestMvConfigurationIntegrationTests.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2017 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.
@@ -62,7 +62,7 @@ import com.jayway.jsonpath.JsonPath;
/**
* Integration tests for basic application bootstrapping (general configuration related checks).
- *
+ *
* @author Oliver Gierke
*/
public class RepositoryRestMvConfigurationIntegrationTests {
diff --git a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/DomainObjectReaderUnitTests.java b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/DomainObjectReaderUnitTests.java
index 623ed4c94..f1b7b2c8a 100755
--- a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/DomainObjectReaderUnitTests.java
+++ b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/DomainObjectReaderUnitTests.java
@@ -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.
@@ -79,7 +79,7 @@ import com.google.common.base.Charsets;
/**
* Unit tests for {@link DomainObjectReader}.
- *
+ *
* @author Oliver Gierke
* @author Craig Andrews
* @author Mathias Düsterhöft
@@ -751,7 +751,7 @@ public class DomainObjectReaderUnitTests {
private final Map extends Object, T> values;
- /*
+ /*
* (non-Javadoc)
* @see com.fasterxml.jackson.databind.JsonDeserializer#deserialize(com.fasterxml.jackson.core.JsonParser, com.fasterxml.jackson.databind.DeserializationContext)
*/
diff --git a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/EnumTranslatorUnitTests.java b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/EnumTranslatorUnitTests.java
index 1d0253361..1709c1020 100755
--- a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/EnumTranslatorUnitTests.java
+++ b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/EnumTranslatorUnitTests.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2015-2017 original author or authors.
+ * Copyright 2015-2018 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.context.support.StaticMessageSource;
/**
* Unit tests for {@link EnumTranslator}.
- *
+ *
* @author Oliver Gierke
*/
public class EnumTranslatorUnitTests {
diff --git a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/JacksonMetadataUnitTests.java b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/JacksonMetadataUnitTests.java
index f38b4ba70..9e31f7a94 100755
--- a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/JacksonMetadataUnitTests.java
+++ b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/JacksonMetadataUnitTests.java
@@ -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.
@@ -38,7 +38,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer;
/**
* Unit tests for {@link JacksonMetadata}.
- *
+ *
* @author Oliver Gierke
* @soundtrack Four Sided Cube - Bad Day's Remembrance (Bunch of Sides)
*/
diff --git a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/JacksonSerializersUnitTests.java b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/JacksonSerializersUnitTests.java
index 12b1935dd..1f4cdb503 100755
--- a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/JacksonSerializersUnitTests.java
+++ b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/JacksonSerializersUnitTests.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2016-2017 original author or authors.
+ * Copyright 2016-2018 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.
@@ -31,7 +31,7 @@ import com.fasterxml.jackson.databind.ObjectMapper;
/**
* Unit tests for {@link JacksonSerializers}.
- *
+ *
* @author Oliver Gierke
* @soundtrack James Bay - Move Together (Chaos And The Calm)
*/
diff --git a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/JsonSchemaUnitTests.java b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/JsonSchemaUnitTests.java
index 8493a5d7a..d651c71b8 100755
--- a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/JsonSchemaUnitTests.java
+++ b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/JsonSchemaUnitTests.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2015-2017 original author or authors.
+ * Copyright 2015-2018 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.data.util.TypeInformation;
/**
* Unit tests for {@link JsonSchema}.
- *
+ *
* @author Oliver Gierke
*/
public class JsonSchemaUnitTests {
diff --git a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/MappedPropertiesUnitTests.java b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/MappedPropertiesUnitTests.java
index 3fdce5433..8c9445857 100755
--- a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/MappedPropertiesUnitTests.java
+++ b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/MappedPropertiesUnitTests.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2016-2017 original author or authors.
+ * Copyright 2016-2018 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.
@@ -29,7 +29,7 @@ import com.fasterxml.jackson.databind.ObjectMapper;
/**
* Unit tests for {@link MappedProperties}.
- *
+ *
* @author Oliver Gierke
*/
public class MappedPropertiesUnitTests {
diff --git a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/MappingAwarePageableArgumentResolverUnitTests.java b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/MappingAwarePageableArgumentResolverUnitTests.java
index d9c370d41..0426c5c57 100755
--- a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/MappingAwarePageableArgumentResolverUnitTests.java
+++ b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/MappingAwarePageableArgumentResolverUnitTests.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2016-2017 original author or authors.
+ * Copyright 2016-2018 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.web.method.support.ModelAndViewContainer;
/**
* Unit tests for {@link MappingAwarePageableArgumentResolver}.
- *
+ *
* @author Mark Paluch
*/
@RunWith(MockitoJUnitRunner.class)
diff --git a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/PersistentEntityJackson2ModuleUnitTests.java b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/PersistentEntityJackson2ModuleUnitTests.java
index 6e4c15e03..c25182ded 100755
--- a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/PersistentEntityJackson2ModuleUnitTests.java
+++ b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/PersistentEntityJackson2ModuleUnitTests.java
@@ -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.
@@ -57,7 +57,7 @@ import com.jayway.jsonpath.JsonPath;
/**
* Unit tests for {@link PersistentEntityJackson2Module}.
- *
+ *
* @author Oliver Gierke
* @author Valentin Rentschler
*/
diff --git a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/ProjectionJacksonIntegrationTests.java b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/ProjectionJacksonIntegrationTests.java
index 4150aed52..92db37e53 100755
--- a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/ProjectionJacksonIntegrationTests.java
+++ b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/ProjectionJacksonIntegrationTests.java
@@ -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.
@@ -34,7 +34,7 @@ import com.jayway.jsonpath.JsonPath;
/**
* Integration tests for Jackson marshalling of projected objects.
- *
+ *
* @author Oliver Gierke
*/
public class ProjectionJacksonIntegrationTests {
diff --git a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/SortTranslatorUnitTests.java b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/SortTranslatorUnitTests.java
index 6cd795477..f698f9034 100755
--- a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/SortTranslatorUnitTests.java
+++ b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/SortTranslatorUnitTests.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2016-2017 original author or authors.
+ * Copyright 2016-2018 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.
diff --git a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/UriStringDeserializerUnitTests.java b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/UriStringDeserializerUnitTests.java
index 604d20f20..4b9303c56 100755
--- a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/UriStringDeserializerUnitTests.java
+++ b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/UriStringDeserializerUnitTests.java
@@ -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.
@@ -42,7 +42,7 @@ import com.fasterxml.jackson.databind.ObjectMapper;
/**
* Unit tests for {@link UriStringDeserializer}.
- *
+ *
* @author Oliver Gierke
*/
@RunWith(MockitoJUnitRunner.class)
diff --git a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/WrappedPropertiesUnitTests.java b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/WrappedPropertiesUnitTests.java
index 3d05208a6..ecbc9d93d 100755
--- a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/WrappedPropertiesUnitTests.java
+++ b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/WrappedPropertiesUnitTests.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2016-2017 original author or authors.
+ * Copyright 2016-2018 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.
@@ -38,7 +38,7 @@ import com.fasterxml.jackson.databind.ObjectMapper;
/**
* Unit tests for {@link WrappedProperties}.
- *
+ *
* @author Mark Paluch
*/
public class WrappedPropertiesUnitTests {
diff --git a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/AddOperationUnitTests.java b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/AddOperationUnitTests.java
index 66d9f7423..8474f8f3f 100755
--- a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/AddOperationUnitTests.java
+++ b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/AddOperationUnitTests.java
@@ -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.
diff --git a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/CopyOperationUnitTests.java b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/CopyOperationUnitTests.java
index b72966ada..571b9a0da 100755
--- a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/CopyOperationUnitTests.java
+++ b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/CopyOperationUnitTests.java
@@ -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.
diff --git a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/JsonPatchUnitTests.java b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/JsonPatchUnitTests.java
index 21425e057..8e130e430 100755
--- a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/JsonPatchUnitTests.java
+++ b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/JsonPatchUnitTests.java
@@ -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.
diff --git a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/MoveOperationUnitTests.java b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/MoveOperationUnitTests.java
index e18991558..90e22f3bf 100755
--- a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/MoveOperationUnitTests.java
+++ b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/MoveOperationUnitTests.java
@@ -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.
diff --git a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/PatchOperationUnitTests.java b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/PatchOperationUnitTests.java
index f968dc3f4..fe890879f 100644
--- a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/PatchOperationUnitTests.java
+++ b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/PatchOperationUnitTests.java
@@ -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.
@@ -27,7 +27,7 @@ import org.junit.runners.Parameterized.Parameters;
/**
* General unit tests for {@link PatchOperation} implementations.
- *
+ *
* @author Oliver Gierke
*/
@RunWith(Parameterized.class)
diff --git a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/RemoveOperationTests.java b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/RemoveOperationTests.java
index 82e0137a5..acfa235b0 100755
--- a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/RemoveOperationTests.java
+++ b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/RemoveOperationTests.java
@@ -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.
diff --git a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/ReplaceOperationTests.java b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/ReplaceOperationTests.java
index adce38e57..a262c755a 100755
--- a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/ReplaceOperationTests.java
+++ b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/ReplaceOperationTests.java
@@ -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.
diff --git a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/SpelPathUnitTests.java b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/SpelPathUnitTests.java
index 3bcc6795f..b5dc03a02 100755
--- a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/SpelPathUnitTests.java
+++ b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/SpelPathUnitTests.java
@@ -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.
diff --git a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/TestOperationUnitTests.java b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/TestOperationUnitTests.java
index b84c51a99..16f92cac0 100755
--- a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/TestOperationUnitTests.java
+++ b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/TestOperationUnitTests.java
@@ -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.
diff --git a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/Todo.java b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/Todo.java
index 2405f144f..e09b2465f 100644
--- a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/Todo.java
+++ b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/Todo.java
@@ -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.
diff --git a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/TodoList.java b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/TodoList.java
index 9c7e84d59..0e90a54a8 100644
--- a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/TodoList.java
+++ b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/TodoList.java
@@ -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.
diff --git a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/TodoType.java b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/TodoType.java
index 2522293ac..f1047f612 100644
--- a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/TodoType.java
+++ b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/TodoType.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2016 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.
diff --git a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/mapping/AssociationsUnitTests.java b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/mapping/AssociationsUnitTests.java
index 79c5891d4..144fc0f76 100755
--- a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/mapping/AssociationsUnitTests.java
+++ b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/mapping/AssociationsUnitTests.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2016 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.
diff --git a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/support/DelegatingHandlerMappingUnitTests.java b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/support/DelegatingHandlerMappingUnitTests.java
index 9292caabb..e47b69d84 100755
--- a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/support/DelegatingHandlerMappingUnitTests.java
+++ b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/support/DelegatingHandlerMappingUnitTests.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2015-2017 original author or authors.
+ * Copyright 2015-2018 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.
@@ -34,7 +34,7 @@ import org.springframework.web.servlet.HandlerMapping;
/**
* Unit tests for {@link DelegatingHandlerMapping}.
- *
+ *
* @author Oliver Gierke
* @soundtrack Benny Greb - Stabila (Moving Parts)
*/
diff --git a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/support/ETagDoesntMatchExceptionUnitTests.java b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/support/ETagDoesntMatchExceptionUnitTests.java
index d71db5287..72c0e2e4a 100755
--- a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/support/ETagDoesntMatchExceptionUnitTests.java
+++ b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/support/ETagDoesntMatchExceptionUnitTests.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2014-2017 original author or authors.
+ * Copyright 2014-2018 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.
diff --git a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/support/ETagUnitTests.java b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/support/ETagUnitTests.java
index f051837e8..dc0797484 100755
--- a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/support/ETagUnitTests.java
+++ b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/support/ETagUnitTests.java
@@ -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.
@@ -28,7 +28,7 @@ import org.springframework.http.HttpHeaders;
/**
* Tests for the ETagValidator used for optimistic locking
- *
+ *
* @author Pablo Lozano
* @author Oliver Gierke
*/
diff --git a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/support/PersistentEntityProjectorUnitTests.java b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/support/PersistentEntityProjectorUnitTests.java
index ee446f966..99028a6d6 100755
--- a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/support/PersistentEntityProjectorUnitTests.java
+++ b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/support/PersistentEntityProjectorUnitTests.java
@@ -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.
@@ -31,7 +31,7 @@ import org.springframework.data.rest.core.mapping.ResourceMetadata;
/**
* Unit tests for {@link PersistentEntityProjector}.
- *
+ *
* @author Oliver Gierke
*/
@RunWith(MockitoJUnitRunner.class)
diff --git a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/support/RepositoryConstraintViolationExceptionMessageUnitTests.java b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/support/RepositoryConstraintViolationExceptionMessageUnitTests.java
index 878630110..fa298fe59 100755
--- a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/support/RepositoryConstraintViolationExceptionMessageUnitTests.java
+++ b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/support/RepositoryConstraintViolationExceptionMessageUnitTests.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2016 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.
@@ -34,7 +34,7 @@ import org.springframework.validation.MapBindingResult;
/**
* Unit tests for {@link RepositoryConstraintViolationExceptionMessage}
- *
+ *
* @author Oliver Gierke
*/
public class RepositoryConstraintViolationExceptionMessageUnitTests {
diff --git a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/util/UriUtilsUnitTests.java b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/util/UriUtilsUnitTests.java
index 3a4fe8b37..bcc58e3e0 100755
--- a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/util/UriUtilsUnitTests.java
+++ b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/util/UriUtilsUnitTests.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2016-2017 original author or authors.
+ * Copyright 2016-2018 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.web.bind.annotation.RequestMapping;
/**
* Unit tests for {@link UriUtils}.
- *
+ *
* @author Mark Paluch
*/
public class UriUtilsUnitTests {