DATAREST-1170 - Update copyright years to 2018.

This commit is contained in:
Mark Paluch
2017-01-30 08:59:42 +01:00
parent 1ebdeb9589
commit 5d9dbf1823
387 changed files with 1417 additions and 1417 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2017 the original author or authors.
* Copyright 2014-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -43,7 +43,7 @@ import org.springframework.hateoas.Link;
/**
* Unit tests for {@link Associations}.
*
*
* @author Oliver Gierke
* @author Haroun Pacquee
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2017 the original author or authors.
* Copyright 2014-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -35,7 +35,7 @@ import org.springframework.web.servlet.mvc.method.RequestMappingInfo;
/**
* Unit tests for {@link BasePathAwareHandlerMapping}.
*
*
* @author Oliver Gierke
* @author Greg Turnquist
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2017 the original author or authors.
* Copyright 2017-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -25,7 +25,7 @@ import org.springframework.util.ClassUtils;
/**
* Unit tests for {@link BasePathAwareHandlerMapping}.
*
*
* @author Oliver Gierke
*/
public class BasePathAwareHandlerMappingUnitTests {

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2017 the original author or authors.
* Copyright 2014-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -25,7 +25,7 @@ import org.junit.Test;
/**
* Unit tests for {@link BaseUri}.
*
*
* @author Oliver Gierke
*/
public class BaseUriUnitTests {

View File

@@ -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.
@@ -34,7 +34,7 @@ import org.springframework.util.StringUtils;
/**
* Unit tests for {@link CustomAcceptHeaderHttpServletRequest}.
*
*
* @author Oliver Gierke
* @soundtrack Spring engineering team meeting @ SpringOne Platform 2016
*/

View File

@@ -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.mock.web.MockHttpServletRequest;
/**
* Unit tests for {@link IncomingRequest}.
*
*
* @author Oliver Gierke
*/
public class IncomingRequestUnitTests {

View File

@@ -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.
@@ -32,7 +32,7 @@ import org.springframework.hateoas.core.EmbeddedWrappers;
/**
* Unit tests for {@link PersistentEntityResource}.
*
*
* @author Oliver Gierke
*/
@RunWith(MockitoJUnitRunner.class)

View File

@@ -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.
@@ -37,7 +37,7 @@ import org.springframework.web.cors.CorsConfiguration;
/**
* Unit tests for {@link RepositoryCorsConfigurationAccessor}.
*
*
* @author Mark Paluch
* @author Oliver Gierke
* @soundtrack Aso Mamiko - Drive Me Crazy (Club Mix)

View File

@@ -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.
@@ -51,7 +51,7 @@ import org.springframework.http.HttpMethod;
/**
* Unit tests for {@link RepositoryPropertyReferenceController}.
*
*
* @author Oliver Gierke
*/
@RunWith(MockitoJUnitRunner.class)

View File

@@ -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.
@@ -33,7 +33,7 @@ import org.springframework.http.converter.HttpMessageNotReadableException;
/**
* Unit tests for {@link RepositoryRestExceptionHandler}.
*
*
* @author Oliver Gierke
*/
public class RepositoryRestExceptionHandlerUnitTests {

View File

@@ -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.

View File

@@ -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.
@@ -21,7 +21,7 @@ import org.junit.Test;
/**
* Unit tests for {@link RepositorySearchesResource}
*
*
* @author Oliver Gierke
* @soundtrack Bakkushan - Gefahr (Bakkushan)
*/

View File

@@ -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.
@@ -40,7 +40,7 @@ import org.springframework.http.HttpStatus;
/**
* Unit tests for {@link ResourceStatus}.
*
*
* @author Oliver Gierke
*/
@RunWith(MockitoJUnitRunner.class)

View File

@@ -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.
@@ -34,7 +34,7 @@ import org.springframework.web.HttpRequestMethodNotSupportedException;
/**
* Unit tests for {@link RootResourceInformation}.
*
*
* @author Oliver Gierke
*/
@RunWith(MockitoJUnitRunner.class)
@@ -63,14 +63,14 @@ public class RootResourceInformationUnitTests {
/**
* Helper class to default boolean methods to return {@literal true} instead of {@literal false} by default.
*
*
* @author Oliver Gierke
*/
static class DefaultBooleanToTrue implements Answer<Object> {
private static final Answer<Object> DEFAULT = Mockito.RETURNS_DEFAULTS;
/*
/*
* (non-Javadoc)
* @see org.mockito.stubbing.Answer#answer(org.mockito.invocation.InvocationOnMock)
*/

View File

@@ -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)

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2017 the original author or authors.
* Copyright 2017-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -47,7 +47,7 @@ import org.springframework.web.method.support.ModelAndViewContainer;
/**
* Unit tests for {@link PersistentEntityResourceHandlerMethodArgumentResolver}.
*
*
* @author Oliver Gierke
*/
public class PersistentEntityResourceHandlerMethodArgumentResolverUnitTests {

View File

@@ -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 {

View File

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

View File

@@ -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 {

View File

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

View File

@@ -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)
*/

View File

@@ -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 {

View File

@@ -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 {

View File

@@ -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)

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2017 the original author or authors.
* Copyright 2014-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -57,7 +57,7 @@ import com.jayway.jsonpath.JsonPath;
/**
* Unit tests for {@link PersistentEntityJackson2Module}.
*
*
* @author Oliver Gierke
* @author Valentin Rentschler
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2017 the original author or authors.
* Copyright 2014-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -34,7 +34,7 @@ import com.jayway.jsonpath.JsonPath;
/**
* Integration tests for Jackson marshalling of projected objects.
*
*
* @author Oliver Gierke
*/
public class ProjectionJacksonIntegrationTests {

View File

@@ -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.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2017 the original author or authors.
* Copyright 2014-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -42,7 +42,7 @@ import com.fasterxml.jackson.databind.ObjectMapper;
/**
* Unit tests for {@link UriStringDeserializer}.
*
*
* @author Oliver Gierke
*/
@RunWith(MockitoJUnitRunner.class)

View File

@@ -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 {

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2017 the original author or authors.
* Copyright 2017-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -27,7 +27,7 @@ import org.junit.runners.Parameterized.Parameters;
/**
* General unit tests for {@link PatchOperation} implementations.
*
*
* @author Oliver Gierke
*/
@RunWith(Parameterized.class)

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -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.

View File

@@ -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.

View File

@@ -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)
*/

View File

@@ -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.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2017 the original author or authors.
* Copyright 2014-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,7 +28,7 @@ import org.springframework.http.HttpHeaders;
/**
* Tests for the ETagValidator used for optimistic locking
*
*
* @author Pablo Lozano
* @author Oliver Gierke
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2017 the original author or authors.
* Copyright 2014-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,7 +31,7 @@ import org.springframework.data.rest.core.mapping.ResourceMetadata;
/**
* Unit tests for {@link PersistentEntityProjector}.
*
*
* @author Oliver Gierke
*/
@RunWith(MockitoJUnitRunner.class)

View File

@@ -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 {

View File

@@ -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 {