diff --git a/cassandra/example/src/main/java/example/springdata/cassandra/basic/BasicConfiguration.java b/cassandra/example/src/main/java/example/springdata/cassandra/basic/BasicConfiguration.java index 9f3eda99..76bf1b61 100644 --- a/cassandra/example/src/main/java/example/springdata/cassandra/basic/BasicConfiguration.java +++ b/cassandra/example/src/main/java/example/springdata/cassandra/basic/BasicConfiguration.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. @@ -27,7 +27,7 @@ import com.datastax.driver.core.Session; /** * Basic {@link Configuration} to create the necessary schema for the {@link User} table. - * + * * @author Oliver Gierke * @author Thomas Darimont * @author Mark Paluch diff --git a/cassandra/example/src/main/java/example/springdata/cassandra/basic/BasicUserRepository.java b/cassandra/example/src/main/java/example/springdata/cassandra/basic/BasicUserRepository.java index f98b0256..c1755b63 100644 --- a/cassandra/example/src/main/java/example/springdata/cassandra/basic/BasicUserRepository.java +++ b/cassandra/example/src/main/java/example/springdata/cassandra/basic/BasicUserRepository.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. @@ -23,14 +23,14 @@ import org.springframework.data.repository.CrudRepository; /** * Simple repository interface for {@link User} instances. The interface is used to declare so called query methods, * methods to retrieve single entities or collections of them. - * + * * @author Thomas Darimont */ public interface BasicUserRepository extends CrudRepository { /** * Sample method annotated with {@link Query}. This method executes the CQL from the {@link Query} value. - * + * * @param id * @return */ diff --git a/cassandra/example/src/main/java/example/springdata/cassandra/basic/User.java b/cassandra/example/src/main/java/example/springdata/cassandra/basic/User.java index 2b454ae7..91e32f67 100644 --- a/cassandra/example/src/main/java/example/springdata/cassandra/basic/User.java +++ b/cassandra/example/src/main/java/example/springdata/cassandra/basic/User.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/cassandra/example/src/main/java/example/springdata/cassandra/convert/Addressbook.java b/cassandra/example/src/main/java/example/springdata/cassandra/convert/Addressbook.java index fd644534..e0f2d8b9 100644 --- a/cassandra/example/src/main/java/example/springdata/cassandra/convert/Addressbook.java +++ b/cassandra/example/src/main/java/example/springdata/cassandra/convert/Addressbook.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/cassandra/example/src/main/java/example/springdata/cassandra/convert/Contact.java b/cassandra/example/src/main/java/example/springdata/cassandra/convert/Contact.java index 1d5f02c8..4e97d606 100644 --- a/cassandra/example/src/main/java/example/springdata/cassandra/convert/Contact.java +++ b/cassandra/example/src/main/java/example/springdata/cassandra/convert/Contact.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/cassandra/example/src/main/java/example/springdata/cassandra/convert/ConverterConfiguration.java b/cassandra/example/src/main/java/example/springdata/cassandra/convert/ConverterConfiguration.java index e313b046..3ebafeda 100644 --- a/cassandra/example/src/main/java/example/springdata/cassandra/convert/ConverterConfiguration.java +++ b/cassandra/example/src/main/java/example/springdata/cassandra/convert/ConverterConfiguration.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/cassandra/example/src/main/java/example/springdata/cassandra/convert/CustomAddressbook.java b/cassandra/example/src/main/java/example/springdata/cassandra/convert/CustomAddressbook.java index 3a0e15ea..5f7daaf7 100644 --- a/cassandra/example/src/main/java/example/springdata/cassandra/convert/CustomAddressbook.java +++ b/cassandra/example/src/main/java/example/springdata/cassandra/convert/CustomAddressbook.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/cassandra/example/src/main/java/example/springdata/cassandra/projection/Customer.java b/cassandra/example/src/main/java/example/springdata/cassandra/projection/Customer.java index 4ff98650..758f7d3b 100644 --- a/cassandra/example/src/main/java/example/springdata/cassandra/projection/Customer.java +++ b/cassandra/example/src/main/java/example/springdata/cassandra/projection/Customer.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/cassandra/example/src/main/java/example/springdata/cassandra/projection/CustomerProjection.java b/cassandra/example/src/main/java/example/springdata/cassandra/projection/CustomerProjection.java index 4a2f9d36..d99732f9 100644 --- a/cassandra/example/src/main/java/example/springdata/cassandra/projection/CustomerProjection.java +++ b/cassandra/example/src/main/java/example/springdata/cassandra/projection/CustomerProjection.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/cassandra/example/src/main/java/example/springdata/cassandra/projection/CustomerRepository.java b/cassandra/example/src/main/java/example/springdata/cassandra/projection/CustomerRepository.java index fee61443..9c5594ba 100644 --- a/cassandra/example/src/main/java/example/springdata/cassandra/projection/CustomerRepository.java +++ b/cassandra/example/src/main/java/example/springdata/cassandra/projection/CustomerRepository.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. @@ -22,7 +22,7 @@ import org.springframework.data.repository.CrudRepository; /** * Sample repository managing customers to show projecting functionality of Spring Data Cassandra. - * + * * @author Mark Paluch */ interface CustomerRepository extends CrudRepository { @@ -30,7 +30,7 @@ interface CustomerRepository extends CrudRepository { /** * Uses a projection interface to indicate the fields to be returned. As the projection doesn't use any dynamic * fields, the query execution will be restricted to only the fields needed by the projection. - * + * * @return */ Collection findAllProjectedBy(); @@ -39,14 +39,14 @@ interface CustomerRepository extends CrudRepository { * When a projection is used that contains dynamic properties (i.e. SpEL expressions in an {@link Value} annotation), * the normal target entity will be loaded but dynamically projected so that the target can be referred to in the * expression. - * + * * @return */ Collection findAllSummarizedBy(); /** * Passes in the projection type dynamically. - * + * * @param id * @param projection * @return @@ -55,7 +55,7 @@ interface CustomerRepository extends CrudRepository { /** * Projection for a single entity. - * + * * @param id * @return */ @@ -63,7 +63,7 @@ interface CustomerRepository extends CrudRepository { /** * Dynamic projection for a single entity. - * + * * @param id * @param projection * @return diff --git a/cassandra/example/src/main/java/example/springdata/cassandra/projection/CustomerSummary.java b/cassandra/example/src/main/java/example/springdata/cassandra/projection/CustomerSummary.java index f0a5c816..d762755c 100644 --- a/cassandra/example/src/main/java/example/springdata/cassandra/projection/CustomerSummary.java +++ b/cassandra/example/src/main/java/example/springdata/cassandra/projection/CustomerSummary.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/cassandra/example/src/main/java/example/springdata/cassandra/projection/ProjectionConfiguration.java b/cassandra/example/src/main/java/example/springdata/cassandra/projection/ProjectionConfiguration.java index ff21925a..ba5cbed8 100644 --- a/cassandra/example/src/main/java/example/springdata/cassandra/projection/ProjectionConfiguration.java +++ b/cassandra/example/src/main/java/example/springdata/cassandra/projection/ProjectionConfiguration.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. @@ -23,7 +23,7 @@ import org.springframework.data.cassandra.repository.config.EnableCassandraRepos /** * Basic {@link Configuration} to create the necessary schema for the {@link Customer} table. - * + * * @author Mark Paluch */ @Configuration diff --git a/cassandra/example/src/main/java/example/springdata/cassandra/udt/Address.java b/cassandra/example/src/main/java/example/springdata/cassandra/udt/Address.java index 6f39d787..dd0bb392 100644 --- a/cassandra/example/src/main/java/example/springdata/cassandra/udt/Address.java +++ b/cassandra/example/src/main/java/example/springdata/cassandra/udt/Address.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/cassandra/example/src/main/java/example/springdata/cassandra/udt/Person.java b/cassandra/example/src/main/java/example/springdata/cassandra/udt/Person.java index 4674bd06..48097272 100644 --- a/cassandra/example/src/main/java/example/springdata/cassandra/udt/Person.java +++ b/cassandra/example/src/main/java/example/springdata/cassandra/udt/Person.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/cassandra/example/src/test/java/example/springdata/cassandra/basic/BasicUserRepositoryTests.java b/cassandra/example/src/test/java/example/springdata/cassandra/basic/BasicUserRepositoryTests.java index 50c88617..6b738d64 100644 --- a/cassandra/example/src/test/java/example/springdata/cassandra/basic/BasicUserRepositoryTests.java +++ b/cassandra/example/src/test/java/example/springdata/cassandra/basic/BasicUserRepositoryTests.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/cassandra/example/src/test/java/example/springdata/cassandra/basic/CassandraOperationsIntegrationTests.java b/cassandra/example/src/test/java/example/springdata/cassandra/basic/CassandraOperationsIntegrationTests.java index d7b767f2..ed49ace7 100644 --- a/cassandra/example/src/test/java/example/springdata/cassandra/basic/CassandraOperationsIntegrationTests.java +++ b/cassandra/example/src/test/java/example/springdata/cassandra/basic/CassandraOperationsIntegrationTests.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/cassandra/example/src/test/java/example/springdata/cassandra/convert/ConversionIntegrationTests.java b/cassandra/example/src/test/java/example/springdata/cassandra/convert/ConversionIntegrationTests.java index daef820a..26ca1133 100644 --- a/cassandra/example/src/test/java/example/springdata/cassandra/convert/ConversionIntegrationTests.java +++ b/cassandra/example/src/test/java/example/springdata/cassandra/convert/ConversionIntegrationTests.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/cassandra/example/src/test/java/example/springdata/cassandra/projection/CustomerRepositoryIntegrationTest.java b/cassandra/example/src/test/java/example/springdata/cassandra/projection/CustomerRepositoryIntegrationTest.java index ecaf0aca..b2fffabe 100644 --- a/cassandra/example/src/test/java/example/springdata/cassandra/projection/CustomerRepositoryIntegrationTest.java +++ b/cassandra/example/src/test/java/example/springdata/cassandra/projection/CustomerRepositoryIntegrationTest.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/cassandra/example/src/test/java/example/springdata/cassandra/udt/UserDefinedTypeIntegrationTest.java b/cassandra/example/src/test/java/example/springdata/cassandra/udt/UserDefinedTypeIntegrationTest.java index 9df1a72b..74cb2fd9 100644 --- a/cassandra/example/src/test/java/example/springdata/cassandra/udt/UserDefinedTypeIntegrationTest.java +++ b/cassandra/example/src/test/java/example/springdata/cassandra/udt/UserDefinedTypeIntegrationTest.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/cassandra/java8/src/main/java/example/springdata/cassandra/java8/CassandraConfiguration.java b/cassandra/java8/src/main/java/example/springdata/cassandra/java8/CassandraConfiguration.java index c61ba240..8747d79d 100644 --- a/cassandra/java8/src/main/java/example/springdata/cassandra/java8/CassandraConfiguration.java +++ b/cassandra/java8/src/main/java/example/springdata/cassandra/java8/CassandraConfiguration.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/cassandra/java8/src/main/java/example/springdata/cassandra/java8/Order.java b/cassandra/java8/src/main/java/example/springdata/cassandra/java8/Order.java index 52cd330d..e225e8d6 100644 --- a/cassandra/java8/src/main/java/example/springdata/cassandra/java8/Order.java +++ b/cassandra/java8/src/main/java/example/springdata/cassandra/java8/Order.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/cassandra/java8/src/main/java/example/springdata/cassandra/java8/OrderRepository.java b/cassandra/java8/src/main/java/example/springdata/cassandra/java8/OrderRepository.java index 5778b2c1..94d356b1 100644 --- a/cassandra/java8/src/main/java/example/springdata/cassandra/java8/OrderRepository.java +++ b/cassandra/java8/src/main/java/example/springdata/cassandra/java8/OrderRepository.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/cassandra/java8/src/main/java/example/springdata/cassandra/java8/Person.java b/cassandra/java8/src/main/java/example/springdata/cassandra/java8/Person.java index 9f4969fc..346ea7c8 100644 --- a/cassandra/java8/src/main/java/example/springdata/cassandra/java8/Person.java +++ b/cassandra/java8/src/main/java/example/springdata/cassandra/java8/Person.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/cassandra/java8/src/main/java/example/springdata/cassandra/java8/PersonRepository.java b/cassandra/java8/src/main/java/example/springdata/cassandra/java8/PersonRepository.java index 02714db8..6e65abc0 100644 --- a/cassandra/java8/src/main/java/example/springdata/cassandra/java8/PersonRepository.java +++ b/cassandra/java8/src/main/java/example/springdata/cassandra/java8/PersonRepository.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/cassandra/java8/src/test/java/example/springdata/cassandra/java8/Java8IntegrationTests.java b/cassandra/java8/src/test/java/example/springdata/cassandra/java8/Java8IntegrationTests.java index 8570f471..68474c20 100755 --- a/cassandra/java8/src/test/java/example/springdata/cassandra/java8/Java8IntegrationTests.java +++ b/cassandra/java8/src/test/java/example/springdata/cassandra/java8/Java8IntegrationTests.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/cassandra/java8/src/test/java/example/springdata/cassandra/java8/Jsr310IntegrationTests.java b/cassandra/java8/src/test/java/example/springdata/cassandra/java8/Jsr310IntegrationTests.java index 3350de1b..5d284c03 100755 --- a/cassandra/java8/src/test/java/example/springdata/cassandra/java8/Jsr310IntegrationTests.java +++ b/cassandra/java8/src/test/java/example/springdata/cassandra/java8/Jsr310IntegrationTests.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/cassandra/reactive/src/main/java/example/springdata/cassandra/people/ApplicationConfiguration.java b/cassandra/reactive/src/main/java/example/springdata/cassandra/people/ApplicationConfiguration.java index 0685d9fe..17903fc2 100644 --- a/cassandra/reactive/src/main/java/example/springdata/cassandra/people/ApplicationConfiguration.java +++ b/cassandra/reactive/src/main/java/example/springdata/cassandra/people/ApplicationConfiguration.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/cassandra/reactive/src/main/java/example/springdata/cassandra/people/Person.java b/cassandra/reactive/src/main/java/example/springdata/cassandra/people/Person.java index 7573efa7..e41db587 100644 --- a/cassandra/reactive/src/main/java/example/springdata/cassandra/people/Person.java +++ b/cassandra/reactive/src/main/java/example/springdata/cassandra/people/Person.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/cassandra/reactive/src/main/java/example/springdata/cassandra/people/ReactivePersonRepository.java b/cassandra/reactive/src/main/java/example/springdata/cassandra/people/ReactivePersonRepository.java index db394ad6..33e74f89 100644 --- a/cassandra/reactive/src/main/java/example/springdata/cassandra/people/ReactivePersonRepository.java +++ b/cassandra/reactive/src/main/java/example/springdata/cassandra/people/ReactivePersonRepository.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. @@ -30,7 +30,7 @@ public interface ReactivePersonRepository extends ReactiveCrudRepository { /** * Returns the username. - * + * * @return */ public String getUsername() { diff --git a/jpa/example/src/main/java/example/springdata/jpa/compositions/CompositeRepositoryConfig.java b/jpa/example/src/main/java/example/springdata/jpa/compositions/CompositeRepositoryConfig.java index ba28eac7..fa57f8a5 100644 --- a/jpa/example/src/main/java/example/springdata/jpa/compositions/CompositeRepositoryConfig.java +++ b/jpa/example/src/main/java/example/springdata/jpa/compositions/CompositeRepositoryConfig.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/jpa/example/src/main/java/example/springdata/jpa/compositions/Contact.java b/jpa/example/src/main/java/example/springdata/jpa/compositions/Contact.java index f8ab9428..2c63c6d6 100644 --- a/jpa/example/src/main/java/example/springdata/jpa/compositions/Contact.java +++ b/jpa/example/src/main/java/example/springdata/jpa/compositions/Contact.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/jpa/example/src/main/java/example/springdata/jpa/compositions/ContactRepository.java b/jpa/example/src/main/java/example/springdata/jpa/compositions/ContactRepository.java index 7b2017b0..20193e99 100644 --- a/jpa/example/src/main/java/example/springdata/jpa/compositions/ContactRepository.java +++ b/jpa/example/src/main/java/example/springdata/jpa/compositions/ContactRepository.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/jpa/example/src/main/java/example/springdata/jpa/compositions/ContactRepositoryImpl.java b/jpa/example/src/main/java/example/springdata/jpa/compositions/ContactRepositoryImpl.java index 9b3d9bb4..4d6091f8 100644 --- a/jpa/example/src/main/java/example/springdata/jpa/compositions/ContactRepositoryImpl.java +++ b/jpa/example/src/main/java/example/springdata/jpa/compositions/ContactRepositoryImpl.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/jpa/example/src/main/java/example/springdata/jpa/compositions/Employee.java b/jpa/example/src/main/java/example/springdata/jpa/compositions/Employee.java index b1ec27fd..ae8f906c 100644 --- a/jpa/example/src/main/java/example/springdata/jpa/compositions/Employee.java +++ b/jpa/example/src/main/java/example/springdata/jpa/compositions/Employee.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/jpa/example/src/main/java/example/springdata/jpa/compositions/EmployeeRepository.java b/jpa/example/src/main/java/example/springdata/jpa/compositions/EmployeeRepository.java index 489ed0ed..f276eea4 100644 --- a/jpa/example/src/main/java/example/springdata/jpa/compositions/EmployeeRepository.java +++ b/jpa/example/src/main/java/example/springdata/jpa/compositions/EmployeeRepository.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/jpa/example/src/main/java/example/springdata/jpa/compositions/EmployeeRepositoryImpl.java b/jpa/example/src/main/java/example/springdata/jpa/compositions/EmployeeRepositoryImpl.java index b3db1659..a7500e76 100644 --- a/jpa/example/src/main/java/example/springdata/jpa/compositions/EmployeeRepositoryImpl.java +++ b/jpa/example/src/main/java/example/springdata/jpa/compositions/EmployeeRepositoryImpl.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/jpa/example/src/main/java/example/springdata/jpa/compositions/FlushOnSaveRepository.java b/jpa/example/src/main/java/example/springdata/jpa/compositions/FlushOnSaveRepository.java index 5d1f58d0..097b441e 100644 --- a/jpa/example/src/main/java/example/springdata/jpa/compositions/FlushOnSaveRepository.java +++ b/jpa/example/src/main/java/example/springdata/jpa/compositions/FlushOnSaveRepository.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/jpa/example/src/main/java/example/springdata/jpa/compositions/FlushOnSaveRepositoryImpl.java b/jpa/example/src/main/java/example/springdata/jpa/compositions/FlushOnSaveRepositoryImpl.java index 1cd77e4d..5059e8c4 100644 --- a/jpa/example/src/main/java/example/springdata/jpa/compositions/FlushOnSaveRepositoryImpl.java +++ b/jpa/example/src/main/java/example/springdata/jpa/compositions/FlushOnSaveRepositoryImpl.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/jpa/example/src/main/java/example/springdata/jpa/compositions/User.java b/jpa/example/src/main/java/example/springdata/jpa/compositions/User.java index 23a1d4b9..0192c753 100644 --- a/jpa/example/src/main/java/example/springdata/jpa/compositions/User.java +++ b/jpa/example/src/main/java/example/springdata/jpa/compositions/User.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/jpa/example/src/main/java/example/springdata/jpa/compositions/UserRepository.java b/jpa/example/src/main/java/example/springdata/jpa/compositions/UserRepository.java index 8b4f7989..b5f51abf 100644 --- a/jpa/example/src/main/java/example/springdata/jpa/compositions/UserRepository.java +++ b/jpa/example/src/main/java/example/springdata/jpa/compositions/UserRepository.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/jpa/example/src/main/java/example/springdata/jpa/custom/CustomRepositoryConfig.java b/jpa/example/src/main/java/example/springdata/jpa/custom/CustomRepositoryConfig.java index a0fe8036..5427e31a 100644 --- a/jpa/example/src/main/java/example/springdata/jpa/custom/CustomRepositoryConfig.java +++ b/jpa/example/src/main/java/example/springdata/jpa/custom/CustomRepositoryConfig.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. @@ -19,7 +19,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication; /** * Sample configuration to bootstrap Spring Data JPA through JavaConfig - * + * * @author Thomas Darimont * @author Oliver Gierke */ diff --git a/jpa/example/src/main/java/example/springdata/jpa/custom/User.java b/jpa/example/src/main/java/example/springdata/jpa/custom/User.java index 6f6fd3f2..6c230425 100644 --- a/jpa/example/src/main/java/example/springdata/jpa/custom/User.java +++ b/jpa/example/src/main/java/example/springdata/jpa/custom/User.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. @@ -23,7 +23,7 @@ import org.springframework.data.jpa.domain.AbstractPersistable; /** * Sample user class. - * + * * @author Oliver Gierke * @author Thomas Darimont */ @@ -51,7 +51,7 @@ public class User extends AbstractPersistable { /** * Returns the username. - * + * * @return */ public String getUsername() { diff --git a/jpa/example/src/main/java/example/springdata/jpa/custom/UserRepository.java b/jpa/example/src/main/java/example/springdata/jpa/custom/UserRepository.java index 163fe2bd..36232784 100644 --- a/jpa/example/src/main/java/example/springdata/jpa/custom/UserRepository.java +++ b/jpa/example/src/main/java/example/springdata/jpa/custom/UserRepository.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. @@ -24,7 +24,7 @@ import org.springframework.data.repository.CrudRepository; /** * Repository interface for {@link User} instances. Provides basic CRUD operations due to the extension of * {@link JpaRepository}. Includes custom implemented functionality by extending {@link UserRepositoryCustom}. - * + * * @author Oliver Gierke * @author Thomas Darimont */ @@ -33,7 +33,7 @@ public interface UserRepository extends CrudRepository, UserReposito /** * Find the user with the given username. This method will be translated into a query using the * {@link javax.persistence.NamedQuery} annotation at the {@link User} class. - * + * * @param username * @return */ @@ -42,7 +42,7 @@ public interface UserRepository extends CrudRepository, UserReposito /** * Find all users with the given lastname. This method will be translated into a query by constructing it directly * from the method name as there is no other query declared. - * + * * @param lastname * @return */ @@ -51,7 +51,7 @@ public interface UserRepository extends CrudRepository, UserReposito /** * Returns all users with the given firstname. This method will be translated into a query using the one declared in * the {@link Query} annotation declared one. - * + * * @param firstname * @return */ diff --git a/jpa/example/src/main/java/example/springdata/jpa/custom/UserRepositoryCustom.java b/jpa/example/src/main/java/example/springdata/jpa/custom/UserRepositoryCustom.java index 0d09a53b..c4ffc163 100644 --- a/jpa/example/src/main/java/example/springdata/jpa/custom/UserRepositoryCustom.java +++ b/jpa/example/src/main/java/example/springdata/jpa/custom/UserRepositoryCustom.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,7 +19,7 @@ import java.util.List; /** * Interface for repository functionality that ought to be implemented manually. - * + * * @author Oliver Gierke * @author Thomas Darimont */ @@ -27,7 +27,7 @@ interface UserRepositoryCustom { /** * Custom repository operation. - * + * * @return */ List myCustomBatchOperation(); diff --git a/jpa/example/src/main/java/example/springdata/jpa/custom/UserRepositoryImpl.java b/jpa/example/src/main/java/example/springdata/jpa/custom/UserRepositoryImpl.java index 4655fa5d..7013d445 100644 --- a/jpa/example/src/main/java/example/springdata/jpa/custom/UserRepositoryImpl.java +++ b/jpa/example/src/main/java/example/springdata/jpa/custom/UserRepositoryImpl.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,26 +24,26 @@ import javax.persistence.criteria.CriteriaQuery; /** * Implementation fo the custom repository functionality declared in {@link UserRepositoryCustom} based on JPA. To use * this implementation in combination with Spring Data JPA you can either register it programatically: - * + * *
  * EntityManager em = ... // Obtain EntityManager
- * 
+ *
  * UserRepositoryCustom custom = new UserRepositoryImpl();
  * custom.setEntityManager(em);
- * 
+ *
  * RepositoryFactorySupport factory = new JpaRepositoryFactory(em);
  * UserRepository repository = factory.getRepository(UserRepository.class, custom);
  * 
- * + * * Using the Spring namespace the implementation will just get picked up due to the classpath scanning for * implementations with the {@code Impl} postfix. - * + * *
  * <jpa:repositories base-package="com.acme.repository" />
  * 
- * + * * If you need to manually configure the custom instance see {@link UserRepositoryImplJdbc} for an example. - * + * * @author Oliver Gierke * @author Thomas Darimont */ @@ -53,7 +53,7 @@ class UserRepositoryImpl implements UserRepositoryCustom { /** * Configure the entity manager to be used. - * + * * @param em the {@link EntityManager} to set. */ public void setEntityManager(EntityManager em) { diff --git a/jpa/example/src/main/java/example/springdata/jpa/custom/UserRepositoryImplJdbc.java b/jpa/example/src/main/java/example/springdata/jpa/custom/UserRepositoryImplJdbc.java index 62c12fe3..cf262979 100644 --- a/jpa/example/src/main/java/example/springdata/jpa/custom/UserRepositoryImplJdbc.java +++ b/jpa/example/src/main/java/example/springdata/jpa/custom/UserRepositoryImplJdbc.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. @@ -33,18 +33,18 @@ import org.springframework.stereotype.Component; *

* As you need to hand the instance a {@link javax.sql.DataSource} or * {@link org.springframework.jdbc.core.simple.SimpleJdbcTemplate} you manually need to declare it as Spring bean: - * + * *

  * <jpa:repository base-package="com.acme.repository" />
- * 
+ *
  * <bean id="userRepositoryImpl" class="...UserRepositoryJdbcImpl">
  *   <property name="dataSource" ref="dataSource" />
  * </bean>
  * 
- * + * * Using {@code userRepositoryImpl} will cause the repository instance get this bean injected for custom repository * logic as the default postfix for custom DAO instances is {@code Impl}. - * + * * @author Oliver Gierke * @author Thomas Darimont */ diff --git a/jpa/example/src/main/java/example/springdata/jpa/customall/BaseRepository.java b/jpa/example/src/main/java/example/springdata/jpa/customall/BaseRepository.java index 15126c9f..4ca681b5 100644 --- a/jpa/example/src/main/java/example/springdata/jpa/customall/BaseRepository.java +++ b/jpa/example/src/main/java/example/springdata/jpa/customall/BaseRepository.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. @@ -20,7 +20,7 @@ import org.springframework.data.repository.NoRepositoryBean; /** * A base repository interface declaring a custom method shared amongst all repositories. - * + * * @author Oliver Gierke * @see ExtendedJpaRepository * @soundtrack Tim Neuhaus - As life found you (The Cabinet) diff --git a/jpa/example/src/main/java/example/springdata/jpa/customall/CustomRepositoryConfig.java b/jpa/example/src/main/java/example/springdata/jpa/customall/CustomRepositoryConfig.java index f7b59c1e..8718d106 100644 --- a/jpa/example/src/main/java/example/springdata/jpa/customall/CustomRepositoryConfig.java +++ b/jpa/example/src/main/java/example/springdata/jpa/customall/CustomRepositoryConfig.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.jpa.repository.config.EnableJpaRepositories; * Sample configuration to bootstrap Spring Data JPA through JavaConfig. Note how Spring Data JPA is configured with a * custom repository base class. This causes all repository interfaces being found for this configuration to use the * configured class as base repository. - * + * * @author Oliver Gierke * @soundtrack Tim Neuhaus - As life found you (The Cabinet) */ diff --git a/jpa/example/src/main/java/example/springdata/jpa/customall/ExtendedJpaRepository.java b/jpa/example/src/main/java/example/springdata/jpa/customall/ExtendedJpaRepository.java index 92648e31..0a197446 100644 --- a/jpa/example/src/main/java/example/springdata/jpa/customall/ExtendedJpaRepository.java +++ b/jpa/example/src/main/java/example/springdata/jpa/customall/ExtendedJpaRepository.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. @@ -28,7 +28,7 @@ class ExtendedJpaRepository extends SimpleJpaRepository implements B /** * Creates a new {@link ExtendedJpaRepository} for the given {@link JpaEntityInformation} and {@link EntityManager}. - * + * * @param entityInformation must not be {@literal null}. * @param entityManager must not be {@literal null}. */ @@ -36,7 +36,7 @@ class ExtendedJpaRepository extends SimpleJpaRepository implements B super(entityInformation, entityManager); } - /* + /* * (non-Javadoc) * @see example.springdata.jpa.customall.BaseRepository#customMethod() */ diff --git a/jpa/example/src/main/java/example/springdata/jpa/customall/User.java b/jpa/example/src/main/java/example/springdata/jpa/customall/User.java index 41958012..5243014d 100644 --- a/jpa/example/src/main/java/example/springdata/jpa/customall/User.java +++ b/jpa/example/src/main/java/example/springdata/jpa/customall/User.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. @@ -21,7 +21,7 @@ import javax.persistence.Id; /** * Sample user class. - * + * * @author Oliver Gierke * @soundtrack Tim Neuhaus - As life found you (The Cabinet) */ diff --git a/jpa/example/src/main/java/example/springdata/jpa/customall/UserRepository.java b/jpa/example/src/main/java/example/springdata/jpa/customall/UserRepository.java index 2534048e..0bbf4f08 100644 --- a/jpa/example/src/main/java/example/springdata/jpa/customall/UserRepository.java +++ b/jpa/example/src/main/java/example/springdata/jpa/customall/UserRepository.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 example.springdata.jpa.customall; /** * Repository interface for {@link User} instances. - * + * * @author Oliver Gierke * @soundtrack Tim Neuhaus - As life found you (The Cabinet) */ diff --git a/jpa/example/src/main/java/example/springdata/jpa/projections/Customer.java b/jpa/example/src/main/java/example/springdata/jpa/projections/Customer.java index 8a006c17..e3f2d292 100644 --- a/jpa/example/src/main/java/example/springdata/jpa/projections/Customer.java +++ b/jpa/example/src/main/java/example/springdata/jpa/projections/Customer.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/jpa/example/src/main/java/example/springdata/jpa/projections/CustomerDto.java b/jpa/example/src/main/java/example/springdata/jpa/projections/CustomerDto.java index 9a61b788..e9fa638c 100644 --- a/jpa/example/src/main/java/example/springdata/jpa/projections/CustomerDto.java +++ b/jpa/example/src/main/java/example/springdata/jpa/projections/CustomerDto.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/jpa/example/src/main/java/example/springdata/jpa/projections/CustomerProjection.java b/jpa/example/src/main/java/example/springdata/jpa/projections/CustomerProjection.java index fd78146b..644dfafe 100644 --- a/jpa/example/src/main/java/example/springdata/jpa/projections/CustomerProjection.java +++ b/jpa/example/src/main/java/example/springdata/jpa/projections/CustomerProjection.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/jpa/example/src/main/java/example/springdata/jpa/projections/CustomerRepository.java b/jpa/example/src/main/java/example/springdata/jpa/projections/CustomerRepository.java index 752c3e88..bf3a56d8 100644 --- a/jpa/example/src/main/java/example/springdata/jpa/projections/CustomerRepository.java +++ b/jpa/example/src/main/java/example/springdata/jpa/projections/CustomerRepository.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. @@ -32,7 +32,7 @@ public interface CustomerRepository extends CrudRepository { /** * Uses a projection interface to indicate the fields to be returned. As the projection doesn't use any dynamic * fields, the query execution will be restricted to only the fields needed by the projection. - * + * * @return */ Collection findAllProjectedBy(); @@ -41,7 +41,7 @@ public interface CustomerRepository extends CrudRepository { * When a projection is used that contains dynamic properties (i.e. SpEL expressions in an {@link Value} annotation), * the normal target entity will be loaded but dynamically projected so that the target can be referred to in the * expression. - * + * * @return */ Collection findAllSummarizedBy(); @@ -49,7 +49,7 @@ public interface CustomerRepository extends CrudRepository { /** * Projection interfaces can be used with manually declared queries, too. Make sure you alias the projects matching * the projection fields. - * + * * @return */ @Query("select c.firstname as firstname, c.lastname as lastname from Customer c") @@ -58,14 +58,14 @@ public interface CustomerRepository extends CrudRepository { /** * Uses a concrete DTO type to indicate the fields to be returned. This gets translated into a constructor expression * in the query. - * + * * @return */ Collection findAllDtoedBy(); /** * Passes in the projection type dynamically (either interface or DTO). - * + * * @param firstname * @param projection * @return @@ -74,7 +74,7 @@ public interface CustomerRepository extends CrudRepository { /** * Projection for a single entity. - * + * * @param id * @return */ @@ -82,7 +82,7 @@ public interface CustomerRepository extends CrudRepository { /** * Dynamic projection for a single entity. - * + * * @param id * @param projection * @return @@ -91,7 +91,7 @@ public interface CustomerRepository extends CrudRepository { /** * Projections used with pagination. - * + * * @param pageable * @return */ @@ -99,7 +99,7 @@ public interface CustomerRepository extends CrudRepository { /** * A DTO projection using a constructor expression in a manually declared query. - * + * * @param firstname * @return */ @@ -108,7 +108,7 @@ public interface CustomerRepository extends CrudRepository { /** * A projection wrapped into an {@link Optional}. - * + * * @param lastname * @return */ diff --git a/jpa/example/src/main/java/example/springdata/jpa/projections/CustomerSummary.java b/jpa/example/src/main/java/example/springdata/jpa/projections/CustomerSummary.java index be6a6817..48c03a98 100644 --- a/jpa/example/src/main/java/example/springdata/jpa/projections/CustomerSummary.java +++ b/jpa/example/src/main/java/example/springdata/jpa/projections/CustomerSummary.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/jpa/example/src/main/java/example/springdata/jpa/simple/SimpleConfiguration.java b/jpa/example/src/main/java/example/springdata/jpa/simple/SimpleConfiguration.java index c628d7bf..a532c094 100644 --- a/jpa/example/src/main/java/example/springdata/jpa/simple/SimpleConfiguration.java +++ b/jpa/example/src/main/java/example/springdata/jpa/simple/SimpleConfiguration.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/jpa/example/src/main/java/example/springdata/jpa/simple/SimpleUserRepository.java b/jpa/example/src/main/java/example/springdata/jpa/simple/SimpleUserRepository.java index 4581666d..20426288 100644 --- a/jpa/example/src/main/java/example/springdata/jpa/simple/SimpleUserRepository.java +++ b/jpa/example/src/main/java/example/springdata/jpa/simple/SimpleUserRepository.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. @@ -27,7 +27,7 @@ import org.springframework.data.repository.CrudRepository; /** * Simple repository interface for {@link User} instances. The interface is used to declare so called query methods, * methods to retrieve single entities or collections of them. - * + * * @author Oliver Gierke * @author Thomas Darimont * @author Christoph Strobl @@ -37,7 +37,7 @@ public interface SimpleUserRepository extends CrudRepository { /** * Find the user with the given username. This method will be translated into a query using the * {@link javax.persistence.NamedQuery} annotation at the {@link User} class. - * + * * @param lastname * @return */ @@ -45,7 +45,7 @@ public interface SimpleUserRepository extends CrudRepository { /** * Uses {@link Optional} as return and parameter type. - * + * * @param username * @return */ @@ -54,7 +54,7 @@ public interface SimpleUserRepository extends CrudRepository { /** * Find all users with the given lastname. This method will be translated into a query by constructing it directly * from the method name as there is no other query declared. - * + * * @param lastname * @return */ @@ -63,7 +63,7 @@ public interface SimpleUserRepository extends CrudRepository { /** * Returns all users with the given firstname. This method will be translated into a query using the one declared in * the {@link Query} annotation declared one. - * + * * @param firstname * @return */ @@ -73,7 +73,7 @@ public interface SimpleUserRepository extends CrudRepository { /** * Returns all users with the given name as first- or lastname. This makes the query to method relation much more * refactoring-safe as the order of the method parameters is completely irrelevant. - * + * * @param name * @return */ @@ -82,7 +82,7 @@ public interface SimpleUserRepository extends CrudRepository { /** * Returns the total number of entries deleted as their lastnames match the given one. - * + * * @param lastname * @return */ @@ -91,7 +91,7 @@ public interface SimpleUserRepository extends CrudRepository { /** * Returns a {@link Slice} counting a maximum number of {@link Pageable#getPageSize()} users matching given criteria * starting at {@link Pageable#getOffset()} without prior count of the total number of elements available. - * + * * @param lastname * @param page * @return @@ -100,23 +100,23 @@ public interface SimpleUserRepository extends CrudRepository { /** * Return the first 2 users ordered by their lastname asc. - * + * *
 	 * Example for findFirstK / findTopK functionality.
 	 * 
- * + * * @return */ List findFirst2ByOrderByLastnameAsc(); /** * Return the first 2 users ordered by the given {@code sort} definition. - * + * *
 	 * This variant is very flexible because one can ask for the first K results when a ASC ordering
 	 * is used as well as for the last K results when a DESC ordering is used.
 	 * 
- * + * * @param sort * @return */ diff --git a/jpa/example/src/main/java/example/springdata/jpa/simple/User.java b/jpa/example/src/main/java/example/springdata/jpa/simple/User.java index 5cd395f6..e8a4a2c6 100644 --- a/jpa/example/src/main/java/example/springdata/jpa/simple/User.java +++ b/jpa/example/src/main/java/example/springdata/jpa/simple/User.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. @@ -23,7 +23,7 @@ import org.springframework.data.jpa.domain.AbstractPersistable; /** * Sample user class. - * + * * @author Oliver Gierke * @author Thomas Darimont */ @@ -51,7 +51,7 @@ public class User extends AbstractPersistable { /** * Returns the username. - * + * * @return */ public String getUsername() { diff --git a/jpa/example/src/test/java/example/springdata/jpa/auditing/AuditableUserSample.java b/jpa/example/src/test/java/example/springdata/jpa/auditing/AuditableUserSample.java index 16f12b38..d7fb45ac 100644 --- a/jpa/example/src/test/java/example/springdata/jpa/auditing/AuditableUserSample.java +++ b/jpa/example/src/test/java/example/springdata/jpa/auditing/AuditableUserSample.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/jpa/example/src/test/java/example/springdata/jpa/basics/BasicFactorySetup.java b/jpa/example/src/test/java/example/springdata/jpa/basics/BasicFactorySetup.java index d458aee5..ed9aa374 100644 --- a/jpa/example/src/test/java/example/springdata/jpa/basics/BasicFactorySetup.java +++ b/jpa/example/src/test/java/example/springdata/jpa/basics/BasicFactorySetup.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. @@ -31,7 +31,7 @@ import org.springframework.data.jpa.repository.support.JpaRepositoryFactory; /** * Test case showing how to use the basic {@link GenericDaoFactory} - * + * * @author Oliver Gierke */ public class BasicFactorySetup { @@ -45,7 +45,7 @@ public class BasicFactorySetup { /** * Creates a {@link SimpleUserRepository} instance. - * + * * @throws Exception */ @Before diff --git a/jpa/example/src/test/java/example/springdata/jpa/basics/BasicSample.java b/jpa/example/src/test/java/example/springdata/jpa/basics/BasicSample.java index 4d02ab7a..4637fa05 100644 --- a/jpa/example/src/test/java/example/springdata/jpa/basics/BasicSample.java +++ b/jpa/example/src/test/java/example/springdata/jpa/basics/BasicSample.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2014 the original author or authors. + * Copyright 2013-2018 the original author or authors. * * Licenseimport static org.junit.Assert.*; @@ -35,7 +35,7 @@ import org.springframework.data.repository.CrudRepository; /** * This unit tests shows plain usage of {@link SimpleJpaRepository}. - * + * * @author Oliver Gierke * @author Thomas Darimont */ diff --git a/jpa/example/src/test/java/example/springdata/jpa/basics/package-info.java b/jpa/example/src/test/java/example/springdata/jpa/basics/package-info.java index 44b9b873..945ccf17 100644 --- a/jpa/example/src/test/java/example/springdata/jpa/basics/package-info.java +++ b/jpa/example/src/test/java/example/springdata/jpa/basics/package-info.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/jpa/example/src/test/java/example/springdata/jpa/caching/CachingRepositoryTests.java b/jpa/example/src/test/java/example/springdata/jpa/caching/CachingRepositoryTests.java index cd94d4bf..f117a885 100644 --- a/jpa/example/src/test/java/example/springdata/jpa/caching/CachingRepositoryTests.java +++ b/jpa/example/src/test/java/example/springdata/jpa/caching/CachingRepositoryTests.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.transaction.annotation.Transactional; /** * Integration test to show how to use {@link Cacheable} with a Spring Data repository. - * + * * @author Oliver Gierke * @author Thomas Darimont */ diff --git a/jpa/example/src/test/java/example/springdata/jpa/compositions/ComposedRepositoryTests.java b/jpa/example/src/test/java/example/springdata/jpa/compositions/ComposedRepositoryTests.java index 74846ea2..2a20721e 100644 --- a/jpa/example/src/test/java/example/springdata/jpa/compositions/ComposedRepositoryTests.java +++ b/jpa/example/src/test/java/example/springdata/jpa/compositions/ComposedRepositoryTests.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/jpa/example/src/test/java/example/springdata/jpa/custom/UserRepositoryCustomizationTests.java b/jpa/example/src/test/java/example/springdata/jpa/custom/UserRepositoryCustomizationTests.java index 149b6687..ec692a2f 100644 --- a/jpa/example/src/test/java/example/springdata/jpa/custom/UserRepositoryCustomizationTests.java +++ b/jpa/example/src/test/java/example/springdata/jpa/custom/UserRepositoryCustomizationTests.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. @@ -28,7 +28,7 @@ import org.springframework.transaction.annotation.Transactional; /** * Integration test showing the basic usage of {@link UserRepository}. - * + * * @author Oliver Gierke * @author Thomas Darimont */ diff --git a/jpa/example/src/test/java/example/springdata/jpa/customall/UserRepositoryCustomizationTests.java b/jpa/example/src/test/java/example/springdata/jpa/customall/UserRepositoryCustomizationTests.java index c78191bd..fc97952c 100644 --- a/jpa/example/src/test/java/example/springdata/jpa/customall/UserRepositoryCustomizationTests.java +++ b/jpa/example/src/test/java/example/springdata/jpa/customall/UserRepositoryCustomizationTests.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. @@ -26,7 +26,7 @@ import org.springframework.transaction.annotation.Transactional; /** * Intergration test showing the usage of a custom method implemented for all repositories - * + * * @author Oliver Gierke * @soundtrack Elen - It's you (Elen) */ diff --git a/jpa/example/src/test/java/example/springdata/jpa/projections/CustomerRepositoryIntegrationTest.java b/jpa/example/src/test/java/example/springdata/jpa/projections/CustomerRepositoryIntegrationTest.java index 513a8f0c..fd07bd12 100644 --- a/jpa/example/src/test/java/example/springdata/jpa/projections/CustomerRepositoryIntegrationTest.java +++ b/jpa/example/src/test/java/example/springdata/jpa/projections/CustomerRepositoryIntegrationTest.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. @@ -37,7 +37,7 @@ import org.springframework.transaction.annotation.Transactional; /** * Integration tests for {@link CustomerRepository} to show projection capabilities. - * + * * @author Oliver Gierke */ @RunWith(SpringJUnit4ClassRunner.class) diff --git a/jpa/example/src/test/java/example/springdata/jpa/simple/SimpleUserRepositoryTests.java b/jpa/example/src/test/java/example/springdata/jpa/simple/SimpleUserRepositoryTests.java index fff06a0b..5b29c4a5 100644 --- a/jpa/example/src/test/java/example/springdata/jpa/simple/SimpleUserRepositoryTests.java +++ b/jpa/example/src/test/java/example/springdata/jpa/simple/SimpleUserRepositoryTests.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. @@ -38,7 +38,7 @@ import org.springframework.transaction.annotation.Transactional; /** * Integration test showing the basic usage of {@link SimpleUserRepository}. - * + * * @author Oliver Gierke * @author Thomas Darimont * @author Christoph Strobl diff --git a/jpa/interceptors/src/main/java/example/springdata/jpa/interceptors/ApplicationConfiguration.java b/jpa/interceptors/src/main/java/example/springdata/jpa/interceptors/ApplicationConfiguration.java index 40d1920d..7f6d1769 100644 --- a/jpa/interceptors/src/main/java/example/springdata/jpa/interceptors/ApplicationConfiguration.java +++ b/jpa/interceptors/src/main/java/example/springdata/jpa/interceptors/ApplicationConfiguration.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/jpa/interceptors/src/main/java/example/springdata/jpa/interceptors/Customer.java b/jpa/interceptors/src/main/java/example/springdata/jpa/interceptors/Customer.java index 149ba92b..803df371 100644 --- a/jpa/interceptors/src/main/java/example/springdata/jpa/interceptors/Customer.java +++ b/jpa/interceptors/src/main/java/example/springdata/jpa/interceptors/Customer.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. diff --git a/jpa/interceptors/src/main/java/example/springdata/jpa/interceptors/CustomerRepository.java b/jpa/interceptors/src/main/java/example/springdata/jpa/interceptors/CustomerRepository.java index 35fecd2b..173532f6 100644 --- a/jpa/interceptors/src/main/java/example/springdata/jpa/interceptors/CustomerRepository.java +++ b/jpa/interceptors/src/main/java/example/springdata/jpa/interceptors/CustomerRepository.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. diff --git a/jpa/interceptors/src/test/java/example/springdata/jpa/interceptors/InterceptorIntegrationTest.java b/jpa/interceptors/src/test/java/example/springdata/jpa/interceptors/InterceptorIntegrationTest.java index bd1a11e2..8a511656 100644 --- a/jpa/interceptors/src/test/java/example/springdata/jpa/interceptors/InterceptorIntegrationTest.java +++ b/jpa/interceptors/src/test/java/example/springdata/jpa/interceptors/InterceptorIntegrationTest.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/jpa/java8/src/main/java/example/springdata/jpa/java8/AbstractEntity.java b/jpa/java8/src/main/java/example/springdata/jpa/java8/AbstractEntity.java index e2dae9e3..96d15986 100644 --- a/jpa/java8/src/main/java/example/springdata/jpa/java8/AbstractEntity.java +++ b/jpa/java8/src/main/java/example/springdata/jpa/java8/AbstractEntity.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. diff --git a/jpa/java8/src/main/java/example/springdata/jpa/java8/AuditingConfiguration.java b/jpa/java8/src/main/java/example/springdata/jpa/java8/AuditingConfiguration.java index 9cce4aa6..8e869994 100644 --- a/jpa/java8/src/main/java/example/springdata/jpa/java8/AuditingConfiguration.java +++ b/jpa/java8/src/main/java/example/springdata/jpa/java8/AuditingConfiguration.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/jpa/java8/src/main/java/example/springdata/jpa/java8/Customer.java b/jpa/java8/src/main/java/example/springdata/jpa/java8/Customer.java index 2b748b48..ae348c22 100644 --- a/jpa/java8/src/main/java/example/springdata/jpa/java8/Customer.java +++ b/jpa/java8/src/main/java/example/springdata/jpa/java8/Customer.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. diff --git a/jpa/java8/src/main/java/example/springdata/jpa/java8/CustomerRepository.java b/jpa/java8/src/main/java/example/springdata/jpa/java8/CustomerRepository.java index 9f1eb877..d7ddb43d 100644 --- a/jpa/java8/src/main/java/example/springdata/jpa/java8/CustomerRepository.java +++ b/jpa/java8/src/main/java/example/springdata/jpa/java8/CustomerRepository.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. @@ -27,7 +27,7 @@ import org.springframework.scheduling.annotation.Async; /** * Repository to manage {@link Customer} instances. - * + * * @author Oliver Gierke * @author Thomas Darimont */ @@ -35,7 +35,7 @@ public interface CustomerRepository extends Repository { /** * Special customization of {@link CrudRepository#findOne(java.io.Serializable)} to return a JDK 8 {@link Optional}. - * + * * @param id * @return */ @@ -43,7 +43,7 @@ public interface CustomerRepository extends Repository { /** * Saves the given {@link Customer}. - * + * * @param customer * @return */ @@ -51,7 +51,7 @@ public interface CustomerRepository extends Repository { /** * Sample method to derive a query from using JDK 8's {@link Optional} as return type. - * + * * @param lastname * @return */ @@ -59,7 +59,7 @@ public interface CustomerRepository extends Repository { /** * Sample default method to show JDK 8 feature support. - * + * * @param customer * @return */ @@ -70,7 +70,7 @@ public interface CustomerRepository extends Repository { /** * Sample method to demonstrate support for {@link Stream} as a return type with a custom query. The query is executed * in a streaming fashion which means that the method returns as soon as the first results are ready. - * + * * @return */ @Query("select c from Customer c") @@ -79,7 +79,7 @@ public interface CustomerRepository extends Repository { /** * Sample method to demonstrate support for {@link Stream} as a return type with a derived query. The query is * executed in a streaming fashion which means that the method returns as soon as the first results are ready. - * + * * @return */ Stream findAllByLastnameIsNotNull(); diff --git a/jpa/java8/src/test/java/example/springdata/jpa/java8/Java8IntegrationTests.java b/jpa/java8/src/test/java/example/springdata/jpa/java8/Java8IntegrationTests.java index d783cb5b..f6c94004 100644 --- a/jpa/java8/src/test/java/example/springdata/jpa/java8/Java8IntegrationTests.java +++ b/jpa/java8/src/test/java/example/springdata/jpa/java8/Java8IntegrationTests.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. @@ -36,7 +36,7 @@ import org.springframework.transaction.annotation.Transactional; /** * Integration test to show the usage of Java 8 date time APIs with Spring Data JPA auditing. - * + * * @author Oliver Gierke * @author Thomas Darimont */ diff --git a/jpa/jpa21/src/main/java/example/springdata/jpa/storedprocedures/StoredProcedureConfiguration.java b/jpa/jpa21/src/main/java/example/springdata/jpa/storedprocedures/StoredProcedureConfiguration.java index 0cbb1f0f..7ba71821 100644 --- a/jpa/jpa21/src/main/java/example/springdata/jpa/storedprocedures/StoredProcedureConfiguration.java +++ b/jpa/jpa21/src/main/java/example/springdata/jpa/storedprocedures/StoredProcedureConfiguration.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/jpa/jpa21/src/main/java/example/springdata/jpa/storedprocedures/User.java b/jpa/jpa21/src/main/java/example/springdata/jpa/storedprocedures/User.java index be0147f8..531ebd1a 100644 --- a/jpa/jpa21/src/main/java/example/springdata/jpa/storedprocedures/User.java +++ b/jpa/jpa21/src/main/java/example/springdata/jpa/storedprocedures/User.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 javax.persistence.StoredProcedureParameter; /** * Sample user class. - * + * * @author Oliver Gierke * @author Thomas Darimont */ diff --git a/jpa/jpa21/src/main/java/example/springdata/jpa/storedprocedures/UserRepository.java b/jpa/jpa21/src/main/java/example/springdata/jpa/storedprocedures/UserRepository.java index e6789a5f..36400547 100644 --- a/jpa/jpa21/src/main/java/example/springdata/jpa/storedprocedures/UserRepository.java +++ b/jpa/jpa21/src/main/java/example/springdata/jpa/storedprocedures/UserRepository.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. @@ -23,7 +23,7 @@ import org.springframework.data.repository.CrudRepository; /** * Simple repository interface for {@link User} instances. The interface is used to declare so called query methods, * methods to retrieve single entities or collections of them. - * + * * @author Oliver Gierke * @author Thomas Darimont */ @@ -31,7 +31,7 @@ public interface UserRepository extends CrudRepository { /** * Explicitly mapped to named stored procedure {@code User.plus1IO} in the {@link EntityManager} - * + * * @see User */ @Procedure(name = "User.plus1") diff --git a/jpa/jpa21/src/test/java/example/springdata/jpa/storedprocedures/UserRepositoryIntegrationTests.java b/jpa/jpa21/src/test/java/example/springdata/jpa/storedprocedures/UserRepositoryIntegrationTests.java index 7cb608b1..6ee242b5 100644 --- a/jpa/jpa21/src/test/java/example/springdata/jpa/storedprocedures/UserRepositoryIntegrationTests.java +++ b/jpa/jpa21/src/test/java/example/springdata/jpa/storedprocedures/UserRepositoryIntegrationTests.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. @@ -31,7 +31,7 @@ import org.springframework.transaction.annotation.Transactional; /** * Intergration test showing the usage of JPA 2.1 stored procedures support through Spring Data repositories. - * + * * @author Thomas Darimont * @author Oliver Gierke */ diff --git a/jpa/multiple-datasources/src/main/java/example/springdata/jpa/multipleds/Application.java b/jpa/multiple-datasources/src/main/java/example/springdata/jpa/multipleds/Application.java index 71742af1..63c0784f 100644 --- a/jpa/multiple-datasources/src/main/java/example/springdata/jpa/multipleds/Application.java +++ b/jpa/multiple-datasources/src/main/java/example/springdata/jpa/multipleds/Application.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. @@ -39,7 +39,7 @@ import org.springframework.transaction.annotation.EnableTransactionManagement; * {@link https://github.com/spring-projects/spring-boot/issues/5540} is fixed. * {@link https://github.com/spring-projects/spring-boot/issues/5541} has been filed to improve the need for manual * exclusions in general. - * + * * @author Oliver Gierke * @see example.springdata.jpa.multipleds.customer.CustomerConfig * @see example.springdata.jpa.multipleds.order.OrderConfig diff --git a/jpa/multiple-datasources/src/main/java/example/springdata/jpa/multipleds/DataInitializer.java b/jpa/multiple-datasources/src/main/java/example/springdata/jpa/multipleds/DataInitializer.java index 4cf62e4e..afd29707 100644 --- a/jpa/multiple-datasources/src/main/java/example/springdata/jpa/multipleds/DataInitializer.java +++ b/jpa/multiple-datasources/src/main/java/example/springdata/jpa/multipleds/DataInitializer.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. @@ -41,7 +41,7 @@ import org.springframework.util.Assert; * Also, not that one cannot interact with both databases in a single, transactional method as transactions are thread * bound in Spring an thus only a single transaction can be active in a single thread. See {@link Application#init()} * for how to orchestrate the calls. - * + * * @author Oliver Gierke */ @Component @@ -53,7 +53,7 @@ public class DataInitializer { /** * Initializes a {@link Customer}. - * + * * @return */ @Transactional("customerTransactionManager") @@ -63,7 +63,7 @@ public class DataInitializer { /** * Initializes an {@link Order}. - * + * * @param customer must not be {@literal null}. * @return */ diff --git a/jpa/multiple-datasources/src/main/java/example/springdata/jpa/multipleds/customer/Customer.java b/jpa/multiple-datasources/src/main/java/example/springdata/jpa/multipleds/customer/Customer.java index b5c79815..0a41c7b4 100644 --- a/jpa/multiple-datasources/src/main/java/example/springdata/jpa/multipleds/customer/Customer.java +++ b/jpa/multiple-datasources/src/main/java/example/springdata/jpa/multipleds/customer/Customer.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. @@ -30,7 +30,7 @@ import lombok.Value; /** * Simple domain class representing a {@link Customer}. - * + * * @author Oliver Gierke */ @Entity diff --git a/jpa/multiple-datasources/src/main/java/example/springdata/jpa/multipleds/customer/CustomerConfig.java b/jpa/multiple-datasources/src/main/java/example/springdata/jpa/multipleds/customer/CustomerConfig.java index e822d117..9901fc4e 100644 --- a/jpa/multiple-datasources/src/main/java/example/springdata/jpa/multipleds/customer/CustomerConfig.java +++ b/jpa/multiple-datasources/src/main/java/example/springdata/jpa/multipleds/customer/CustomerConfig.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/jpa/multiple-datasources/src/main/java/example/springdata/jpa/multipleds/customer/CustomerRepository.java b/jpa/multiple-datasources/src/main/java/example/springdata/jpa/multipleds/customer/CustomerRepository.java index 71ed53a4..9b890959 100644 --- a/jpa/multiple-datasources/src/main/java/example/springdata/jpa/multipleds/customer/CustomerRepository.java +++ b/jpa/multiple-datasources/src/main/java/example/springdata/jpa/multipleds/customer/CustomerRepository.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. @@ -21,7 +21,7 @@ import org.springframework.data.repository.CrudRepository; /** * Spring Data repository to manage {@link Customer}s. - * + * * @author Oliver Gierke */ public interface CustomerRepository extends CrudRepository { diff --git a/jpa/multiple-datasources/src/main/java/example/springdata/jpa/multipleds/order/Order.java b/jpa/multiple-datasources/src/main/java/example/springdata/jpa/multipleds/order/Order.java index 9cd1b21e..640f5f23 100644 --- a/jpa/multiple-datasources/src/main/java/example/springdata/jpa/multipleds/order/Order.java +++ b/jpa/multiple-datasources/src/main/java/example/springdata/jpa/multipleds/order/Order.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. @@ -36,7 +36,7 @@ import example.springdata.jpa.multipleds.customer.Customer.CustomerId; /** * Simple domain class representing an {@link Order} - * + * * @author Oliver Gierke */ @Entity @@ -60,7 +60,7 @@ public class Order { /** * Adds a {@link LineItem} to the {@link Order}. - * + * * @param lineItem must not be {@literal null}. */ public void add(LineItem lineItem) { diff --git a/jpa/multiple-datasources/src/main/java/example/springdata/jpa/multipleds/order/OrderConfig.java b/jpa/multiple-datasources/src/main/java/example/springdata/jpa/multipleds/order/OrderConfig.java index 8feb92ba..1f62c0cb 100644 --- a/jpa/multiple-datasources/src/main/java/example/springdata/jpa/multipleds/order/OrderConfig.java +++ b/jpa/multiple-datasources/src/main/java/example/springdata/jpa/multipleds/order/OrderConfig.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/jpa/multiple-datasources/src/main/java/example/springdata/jpa/multipleds/order/OrderRepository.java b/jpa/multiple-datasources/src/main/java/example/springdata/jpa/multipleds/order/OrderRepository.java index 7c650f59..f1c3df0c 100644 --- a/jpa/multiple-datasources/src/main/java/example/springdata/jpa/multipleds/order/OrderRepository.java +++ b/jpa/multiple-datasources/src/main/java/example/springdata/jpa/multipleds/order/OrderRepository.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,14 +24,14 @@ import example.springdata.jpa.multipleds.customer.Customer.CustomerId; /** * Spring Data repository managing {@link Order}s. - * + * * @author Oliver Gierke */ public interface OrderRepository extends CrudRepository { /** * Returns all {@link Order}s for the {@link Customer} with the given identifier. - * + * * @param id must not be {@literal null}. * @return */ diff --git a/jpa/multiple-datasources/src/test/java/example/springdata/jpa/multipleds/customer/CustomerRepositoryTests.java b/jpa/multiple-datasources/src/test/java/example/springdata/jpa/multipleds/customer/CustomerRepositoryTests.java index 382464fd..44d96db2 100644 --- a/jpa/multiple-datasources/src/test/java/example/springdata/jpa/multipleds/customer/CustomerRepositoryTests.java +++ b/jpa/multiple-datasources/src/test/java/example/springdata/jpa/multipleds/customer/CustomerRepositoryTests.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. @@ -32,7 +32,7 @@ import org.springframework.transaction.annotation.Transactional; /** * Integration test for {@link CustomerRepository}. - * + * * @author Oliver Gierke */ @RunWith(SpringRunner.class) diff --git a/jpa/multiple-datasources/src/test/java/example/springdata/jpa/multipleds/order/OrderRepositoryTests.java b/jpa/multiple-datasources/src/test/java/example/springdata/jpa/multipleds/order/OrderRepositoryTests.java index b59bfc40..9e88063d 100644 --- a/jpa/multiple-datasources/src/test/java/example/springdata/jpa/multipleds/order/OrderRepositoryTests.java +++ b/jpa/multiple-datasources/src/test/java/example/springdata/jpa/multipleds/order/OrderRepositoryTests.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. @@ -29,7 +29,7 @@ import org.springframework.transaction.annotation.Transactional; /** * Integration test for {@link CustomerRepository}. - * + * * @author Oliver Gierke */ @RunWith(SpringRunner.class) diff --git a/jpa/query-by-example/src/main/java/example/springdata/jpa/querybyexample/ApplicationConfiguration.java b/jpa/query-by-example/src/main/java/example/springdata/jpa/querybyexample/ApplicationConfiguration.java index 390f1390..62582555 100644 --- a/jpa/query-by-example/src/main/java/example/springdata/jpa/querybyexample/ApplicationConfiguration.java +++ b/jpa/query-by-example/src/main/java/example/springdata/jpa/querybyexample/ApplicationConfiguration.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/jpa/query-by-example/src/main/java/example/springdata/jpa/querybyexample/SpecialUser.java b/jpa/query-by-example/src/main/java/example/springdata/jpa/querybyexample/SpecialUser.java index 8b54418a..bbbb2884 100644 --- a/jpa/query-by-example/src/main/java/example/springdata/jpa/querybyexample/SpecialUser.java +++ b/jpa/query-by-example/src/main/java/example/springdata/jpa/querybyexample/SpecialUser.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/jpa/query-by-example/src/main/java/example/springdata/jpa/querybyexample/User.java b/jpa/query-by-example/src/main/java/example/springdata/jpa/querybyexample/User.java index c8862a57..08900607 100644 --- a/jpa/query-by-example/src/main/java/example/springdata/jpa/querybyexample/User.java +++ b/jpa/query-by-example/src/main/java/example/springdata/jpa/querybyexample/User.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/jpa/query-by-example/src/main/java/example/springdata/jpa/querybyexample/UserRepository.java b/jpa/query-by-example/src/main/java/example/springdata/jpa/querybyexample/UserRepository.java index 4f648d6b..8c25f083 100644 --- a/jpa/query-by-example/src/main/java/example/springdata/jpa/querybyexample/UserRepository.java +++ b/jpa/query-by-example/src/main/java/example/springdata/jpa/querybyexample/UserRepository.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/jpa/query-by-example/src/test/java/example/springdata/jpa/querybyexample/UserRepositoryInheritanceIntegrationTests.java b/jpa/query-by-example/src/test/java/example/springdata/jpa/querybyexample/UserRepositoryInheritanceIntegrationTests.java index cf42560c..aa2e6df7 100644 --- a/jpa/query-by-example/src/test/java/example/springdata/jpa/querybyexample/UserRepositoryInheritanceIntegrationTests.java +++ b/jpa/query-by-example/src/test/java/example/springdata/jpa/querybyexample/UserRepositoryInheritanceIntegrationTests.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/jpa/query-by-example/src/test/java/example/springdata/jpa/querybyexample/UserRepositoryIntegrationTests.java b/jpa/query-by-example/src/test/java/example/springdata/jpa/querybyexample/UserRepositoryIntegrationTests.java index ad653fcc..c0e1dcef 100644 --- a/jpa/query-by-example/src/test/java/example/springdata/jpa/querybyexample/UserRepositoryIntegrationTests.java +++ b/jpa/query-by-example/src/test/java/example/springdata/jpa/querybyexample/UserRepositoryIntegrationTests.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/jpa/security/src/main/java/example/springdata/jpa/security/BusinessObject.java b/jpa/security/src/main/java/example/springdata/jpa/security/BusinessObject.java index 421b8e65..c1b2703c 100644 --- a/jpa/security/src/main/java/example/springdata/jpa/security/BusinessObject.java +++ b/jpa/security/src/main/java/example/springdata/jpa/security/BusinessObject.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. diff --git a/jpa/security/src/main/java/example/springdata/jpa/security/BusinessObjectRepository.java b/jpa/security/src/main/java/example/springdata/jpa/security/BusinessObjectRepository.java index b9767d4c..7b3d2623 100644 --- a/jpa/security/src/main/java/example/springdata/jpa/security/BusinessObjectRepository.java +++ b/jpa/security/src/main/java/example/springdata/jpa/security/BusinessObjectRepository.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. diff --git a/jpa/security/src/main/java/example/springdata/jpa/security/SecureBusinessObjectRepository.java b/jpa/security/src/main/java/example/springdata/jpa/security/SecureBusinessObjectRepository.java index 9b2dbb90..24353672 100644 --- a/jpa/security/src/main/java/example/springdata/jpa/security/SecureBusinessObjectRepository.java +++ b/jpa/security/src/main/java/example/springdata/jpa/security/SecureBusinessObjectRepository.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. @@ -32,7 +32,7 @@ interface SecureBusinessObjectRepository extends Repository - * select o from BusinessObject o where o.owner.emailAddress like ? + * select o from BusinessObject o where o.owner.emailAddress like ? * and set the the result SpEL expression evaluated at method invocation time as parameter value. * * @return @@ -42,7 +42,7 @@ interface SecureBusinessObjectRepository extends Repository { /** * Returns all accounts belonging to the given {@link Customer}. - * + * * @param customer * @return */ diff --git a/jpa/showcase/src/main/java/example/springdata/jpa/showcase/after/CustomerRepository.java b/jpa/showcase/src/main/java/example/springdata/jpa/showcase/after/CustomerRepository.java index 580dbf5c..480c5910 100644 --- a/jpa/showcase/src/main/java/example/springdata/jpa/showcase/after/CustomerRepository.java +++ b/jpa/showcase/src/main/java/example/springdata/jpa/showcase/after/CustomerRepository.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2014 the original author or authors. + * Copyright 2011-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -24,14 +24,14 @@ import example.springdata.jpa.showcase.core.Customer; /** * Repository to manage {@link Customer} instances. - * + * * @author Oliver Gierke */ public interface CustomerRepository extends CrudRepository, JpaSpecificationExecutor { /** * Returns a page of {@link Customer}s with the given lastname. - * + * * @param lastname * @param pageable * @return diff --git a/jpa/showcase/src/main/java/example/springdata/jpa/showcase/before/AccountService.java b/jpa/showcase/src/main/java/example/springdata/jpa/showcase/before/AccountService.java index abfad2c8..077ea229 100644 --- a/jpa/showcase/src/main/java/example/springdata/jpa/showcase/before/AccountService.java +++ b/jpa/showcase/src/main/java/example/springdata/jpa/showcase/before/AccountService.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2014 the original author or authors. + * Copyright 2011-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,14 +22,14 @@ import example.springdata.jpa.showcase.core.Customer; /** * Service interface for {@link Account}s. - * + * * @author Oliver Gierke */ public interface AccountService { /** * Saves the given {@link Account}. - * + * * @param account * @return */ @@ -37,7 +37,7 @@ public interface AccountService { /** * Returns all {@link Account}s of the given {@link Customer}. - * + * * @param customer * @return */ diff --git a/jpa/showcase/src/main/java/example/springdata/jpa/showcase/before/AccountServiceImpl.java b/jpa/showcase/src/main/java/example/springdata/jpa/showcase/before/AccountServiceImpl.java index 1c6e0f6f..c451852e 100644 --- a/jpa/showcase/src/main/java/example/springdata/jpa/showcase/before/AccountServiceImpl.java +++ b/jpa/showcase/src/main/java/example/springdata/jpa/showcase/before/AccountServiceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2014 the original author or authors. + * Copyright 2011-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -29,7 +29,7 @@ import example.springdata.jpa.showcase.core.Customer; /** * Plain JPA implementation of {@link AccountService}. - * + * * @author Oliver Gierke */ @Repository diff --git a/jpa/showcase/src/main/java/example/springdata/jpa/showcase/before/CustomerService.java b/jpa/showcase/src/main/java/example/springdata/jpa/showcase/before/CustomerService.java index 163e1c52..ae5f0490 100644 --- a/jpa/showcase/src/main/java/example/springdata/jpa/showcase/before/CustomerService.java +++ b/jpa/showcase/src/main/java/example/springdata/jpa/showcase/before/CustomerService.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2014 the original author or authors. + * Copyright 2011-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,7 +21,7 @@ import example.springdata.jpa.showcase.core.Customer; /** * Service interface for {@link Customer}s. - * + * * @author Oliver Gierke */ public interface CustomerService { @@ -29,7 +29,7 @@ public interface CustomerService { /** * Returns the {@link Customer} with the given id or {@literal null} if no {@link Customer} with the given id was * found. - * + * * @param id * @return */ @@ -37,7 +37,7 @@ public interface CustomerService { /** * Saves the given {@link Customer}. - * + * * @param customer * @return */ @@ -45,14 +45,14 @@ public interface CustomerService { /** * Returns all customers. - * + * * @return */ List findAll(); /** * Returns the page of {@link Customer}s with the given index of the given size. - * + * * @param page * @param pageSize * @return @@ -61,7 +61,7 @@ public interface CustomerService { /** * Returns the page of {@link Customer}s with the given lastname and the given page index and page size. - * + * * @param lastname * @param page * @param pageSize diff --git a/jpa/showcase/src/main/java/example/springdata/jpa/showcase/before/CustomerServiceImpl.java b/jpa/showcase/src/main/java/example/springdata/jpa/showcase/before/CustomerServiceImpl.java index e2f09e32..09295b53 100644 --- a/jpa/showcase/src/main/java/example/springdata/jpa/showcase/before/CustomerServiceImpl.java +++ b/jpa/showcase/src/main/java/example/springdata/jpa/showcase/before/CustomerServiceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2014 the original author or authors. + * Copyright 2011-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,7 +28,7 @@ import example.springdata.jpa.showcase.core.Customer; /** * Plain JPA implementation of {@link CustomerService}. - * + * * @author Oliver Gierke */ @Repository diff --git a/jpa/showcase/src/main/java/example/springdata/jpa/showcase/core/Account.java b/jpa/showcase/src/main/java/example/springdata/jpa/showcase/core/Account.java index 08a05e1a..5de72c15 100644 --- a/jpa/showcase/src/main/java/example/springdata/jpa/showcase/core/Account.java +++ b/jpa/showcase/src/main/java/example/springdata/jpa/showcase/core/Account.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2014 the original author or authors. + * Copyright 2011-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/jpa/showcase/src/main/java/example/springdata/jpa/showcase/core/Customer.java b/jpa/showcase/src/main/java/example/springdata/jpa/showcase/core/Customer.java index 1c6088fd..850f90f0 100644 --- a/jpa/showcase/src/main/java/example/springdata/jpa/showcase/core/Customer.java +++ b/jpa/showcase/src/main/java/example/springdata/jpa/showcase/core/Customer.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2014 the original author or authors. + * Copyright 2011-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/jpa/showcase/src/snippets/java/example/springdata/jpa/showcase/snippets/AccountPredicates.java b/jpa/showcase/src/snippets/java/example/springdata/jpa/showcase/snippets/AccountPredicates.java index 4a86b81c..f2ae3e2f 100644 --- a/jpa/showcase/src/snippets/java/example/springdata/jpa/showcase/snippets/AccountPredicates.java +++ b/jpa/showcase/src/snippets/java/example/springdata/jpa/showcase/snippets/AccountPredicates.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2016 the original author or authors. + * Copyright 2011-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -24,7 +24,7 @@ import com.querydsl.core.types.dsl.BooleanExpression; /** * Predicates for {@link Account}s. - * + * * @author Oliver Gierke */ public class AccountPredicates { diff --git a/jpa/showcase/src/snippets/java/example/springdata/jpa/showcase/snippets/AccountRepository.java b/jpa/showcase/src/snippets/java/example/springdata/jpa/showcase/snippets/AccountRepository.java index f1e398f9..92ec9cb9 100644 --- a/jpa/showcase/src/snippets/java/example/springdata/jpa/showcase/snippets/AccountRepository.java +++ b/jpa/showcase/src/snippets/java/example/springdata/jpa/showcase/snippets/AccountRepository.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2014 the original author or authors. + * Copyright 2011-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,7 +26,7 @@ import org.springframework.data.repository.NoRepositoryBean; /** * Repository to manage {@link Account} instances. - * + * * @author Oliver Gierke */ @NoRepositoryBean @@ -35,7 +35,7 @@ public interface AccountRepository /** * Returns all accounts belonging to the given {@link Customer}. - * + * * @param customer * @return */ diff --git a/jpa/showcase/src/snippets/java/example/springdata/jpa/showcase/snippets/AccountRepositoryCustom.java b/jpa/showcase/src/snippets/java/example/springdata/jpa/showcase/snippets/AccountRepositoryCustom.java index 90593a17..181f154b 100644 --- a/jpa/showcase/src/snippets/java/example/springdata/jpa/showcase/snippets/AccountRepositoryCustom.java +++ b/jpa/showcase/src/snippets/java/example/springdata/jpa/showcase/snippets/AccountRepositoryCustom.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2014 the original author or authors. + * Copyright 2011-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/jpa/showcase/src/snippets/java/example/springdata/jpa/showcase/snippets/AccountRepositoryImpl.java b/jpa/showcase/src/snippets/java/example/springdata/jpa/showcase/snippets/AccountRepositoryImpl.java index d70632fb..bb1e3e1d 100644 --- a/jpa/showcase/src/snippets/java/example/springdata/jpa/showcase/snippets/AccountRepositoryImpl.java +++ b/jpa/showcase/src/snippets/java/example/springdata/jpa/showcase/snippets/AccountRepositoryImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2014 the original author or authors. + * Copyright 2011-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/jpa/showcase/src/snippets/java/example/springdata/jpa/showcase/snippets/AccountRepositoryJdbcImpl.java b/jpa/showcase/src/snippets/java/example/springdata/jpa/showcase/snippets/AccountRepositoryJdbcImpl.java index 1227f8da..910d3083 100644 --- a/jpa/showcase/src/snippets/java/example/springdata/jpa/showcase/snippets/AccountRepositoryJdbcImpl.java +++ b/jpa/showcase/src/snippets/java/example/springdata/jpa/showcase/snippets/AccountRepositoryJdbcImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2014 the original author or authors. + * Copyright 2011-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/jpa/showcase/src/snippets/java/example/springdata/jpa/showcase/snippets/CustomerSpecifications.java b/jpa/showcase/src/snippets/java/example/springdata/jpa/showcase/snippets/CustomerSpecifications.java index 78d7be46..a770c1a6 100644 --- a/jpa/showcase/src/snippets/java/example/springdata/jpa/showcase/snippets/CustomerSpecifications.java +++ b/jpa/showcase/src/snippets/java/example/springdata/jpa/showcase/snippets/CustomerSpecifications.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2014 the original author or authors. + * Copyright 2011-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -31,14 +31,14 @@ import example.springdata.jpa.showcase.core.Customer; /** * Collection of {@link Specification} implementations. - * + * * @author Oliver Gierke */ public class CustomerSpecifications { /** * All customers with an {@link Account} expiring before the given date. - * + * * @param date * @return */ diff --git a/jpa/showcase/src/test-snippets/java/example/springdata/jpa/showcase/snippets/test/AccountRepositoryIntegrationTest.java b/jpa/showcase/src/test-snippets/java/example/springdata/jpa/showcase/snippets/test/AccountRepositoryIntegrationTest.java index f3dbbf8b..fee6fbbe 100644 --- a/jpa/showcase/src/test-snippets/java/example/springdata/jpa/showcase/snippets/test/AccountRepositoryIntegrationTest.java +++ b/jpa/showcase/src/test-snippets/java/example/springdata/jpa/showcase/snippets/test/AccountRepositoryIntegrationTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2014 the original author or authors. + * Copyright 2011-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/jpa/showcase/src/test-snippets/java/example/springdata/jpa/showcase/snippets/test/CustomerRepositoryIntegrationTest.java b/jpa/showcase/src/test-snippets/java/example/springdata/jpa/showcase/snippets/test/CustomerRepositoryIntegrationTest.java index 341c4d10..5a197bca 100644 --- a/jpa/showcase/src/test-snippets/java/example/springdata/jpa/showcase/snippets/test/CustomerRepositoryIntegrationTest.java +++ b/jpa/showcase/src/test-snippets/java/example/springdata/jpa/showcase/snippets/test/CustomerRepositoryIntegrationTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2014 the original author or authors. + * Copyright 2011-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -30,7 +30,7 @@ import org.springframework.data.jpa.domain.Specification; /** * Snippets to show the usage of {@link Specification}s. - * + * * @author Oliver Gierke */ public class CustomerRepositoryIntegrationTest { diff --git a/jpa/showcase/src/test/java/example/springdata/jpa/showcase/AbstractShowcaseTest.java b/jpa/showcase/src/test/java/example/springdata/jpa/showcase/AbstractShowcaseTest.java index 22e11b3f..638135bf 100644 --- a/jpa/showcase/src/test/java/example/springdata/jpa/showcase/AbstractShowcaseTest.java +++ b/jpa/showcase/src/test/java/example/springdata/jpa/showcase/AbstractShowcaseTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2016 the original author or authors. + * Copyright 2011-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/jpa/showcase/src/test/java/example/springdata/jpa/showcase/after/AccountRepositoryIntegrationTest.java b/jpa/showcase/src/test/java/example/springdata/jpa/showcase/after/AccountRepositoryIntegrationTest.java index 8c49b387..c3be3d39 100644 --- a/jpa/showcase/src/test/java/example/springdata/jpa/showcase/after/AccountRepositoryIntegrationTest.java +++ b/jpa/showcase/src/test/java/example/springdata/jpa/showcase/after/AccountRepositoryIntegrationTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2014 the original author or authors. + * Copyright 2011-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -30,7 +30,7 @@ import org.springframework.beans.factory.annotation.Autowired; /** * Integration tests for Spring Data JPA {@link AccountRepository}. - * + * * @author Oliver Gierke */ public class AccountRepositoryIntegrationTest extends AbstractShowcaseTest { diff --git a/jpa/showcase/src/test/java/example/springdata/jpa/showcase/after/CustomerRepositoryIntegrationTest.java b/jpa/showcase/src/test/java/example/springdata/jpa/showcase/after/CustomerRepositoryIntegrationTest.java index 279e7026..fa08d022 100644 --- a/jpa/showcase/src/test/java/example/springdata/jpa/showcase/after/CustomerRepositoryIntegrationTest.java +++ b/jpa/showcase/src/test/java/example/springdata/jpa/showcase/after/CustomerRepositoryIntegrationTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2014 the original author or authors. + * Copyright 2011-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -33,7 +33,7 @@ import org.springframework.data.domain.PageRequest; /** * Integration tests for Spring Data JPA {@link CustomerRepository}. - * + * * @author Oliver Gierke */ public class CustomerRepositoryIntegrationTest extends AbstractShowcaseTest { diff --git a/jpa/showcase/src/test/java/example/springdata/jpa/showcase/before/AccountServiceIntegrationTest.java b/jpa/showcase/src/test/java/example/springdata/jpa/showcase/before/AccountServiceIntegrationTest.java index c4fd99d7..867f65c1 100644 --- a/jpa/showcase/src/test/java/example/springdata/jpa/showcase/before/AccountServiceIntegrationTest.java +++ b/jpa/showcase/src/test/java/example/springdata/jpa/showcase/before/AccountServiceIntegrationTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2014 the original author or authors. + * Copyright 2011-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -29,7 +29,7 @@ import example.springdata.jpa.showcase.core.Customer; /** * Integration test for {@link AccountService}. - * + * * @author Oliver Gierke */ public class AccountServiceIntegrationTest extends AbstractShowcaseTest { diff --git a/jpa/showcase/src/test/java/example/springdata/jpa/showcase/before/CustomerServiceIntegrationTest.java b/jpa/showcase/src/test/java/example/springdata/jpa/showcase/before/CustomerServiceIntegrationTest.java index 33671cdd..1765872f 100644 --- a/jpa/showcase/src/test/java/example/springdata/jpa/showcase/before/CustomerServiceIntegrationTest.java +++ b/jpa/showcase/src/test/java/example/springdata/jpa/showcase/before/CustomerServiceIntegrationTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2014 the original author or authors. + * Copyright 2011-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,7 +28,7 @@ import example.springdata.jpa.showcase.core.Customer; /** * Integration test for {@link CustomerService}. - * + * * @author Oliver Gierke */ public class CustomerServiceIntegrationTest extends AbstractShowcaseTest { diff --git a/jpa/vavr/src/main/java/example/Person.java b/jpa/vavr/src/main/java/example/Person.java index 63f989f5..4c737fd0 100644 --- a/jpa/vavr/src/main/java/example/Person.java +++ b/jpa/vavr/src/main/java/example/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/jpa/vavr/src/main/java/example/PersonRepository.java b/jpa/vavr/src/main/java/example/PersonRepository.java index 24e3d1f6..8735286e 100644 --- a/jpa/vavr/src/main/java/example/PersonRepository.java +++ b/jpa/vavr/src/main/java/example/PersonRepository.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. @@ -28,7 +28,7 @@ import org.springframework.data.repository.Repository; /** * Repository interface showing the usage of Vavr collections and its {@link Option} type as repository query method * return types. - * + * * @author Oliver Gierke */ public interface PersonRepository extends Repository { @@ -37,7 +37,7 @@ public interface PersonRepository extends Repository { /** * {@link Option} can be used as alternative to JDK 8's {@link Optional}. - * + * * @param id * @return */ @@ -46,7 +46,7 @@ public interface PersonRepository extends Repository { /** * {@link Seq} can be used as alternative to JDK's {@link List}. Vavr's {@link Set} and {@link Map} are supported, * too, and transparently mapped from their JDK counterparts. - * + * * @param firstname * @return */ diff --git a/jpa/vavr/src/test/java/example/PersonRepositoryIntegrationTests.java b/jpa/vavr/src/test/java/example/PersonRepositoryIntegrationTests.java index bace6559..1277de2a 100644 --- a/jpa/vavr/src/test/java/example/PersonRepositoryIntegrationTests.java +++ b/jpa/vavr/src/test/java/example/PersonRepositoryIntegrationTests.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. @@ -30,7 +30,7 @@ import org.springframework.transaction.annotation.Transactional; /** * Integration tests for {@link PersonRepository} showing Vavr support at repository query methods. - * + * * @author Oliver Gierke */ @RunWith(SpringRunner.class) diff --git a/ldap/example/src/main/java/example/springdata/ldap/ApplicationConfiguration.java b/ldap/example/src/main/java/example/springdata/ldap/ApplicationConfiguration.java index 27ff26d0..6a7b95bd 100644 --- a/ldap/example/src/main/java/example/springdata/ldap/ApplicationConfiguration.java +++ b/ldap/example/src/main/java/example/springdata/ldap/ApplicationConfiguration.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/ldap/example/src/main/java/example/springdata/ldap/Person.java b/ldap/example/src/main/java/example/springdata/ldap/Person.java index cd283b32..65b26245 100644 --- a/ldap/example/src/main/java/example/springdata/ldap/Person.java +++ b/ldap/example/src/main/java/example/springdata/ldap/Person.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/ldap/example/src/main/java/example/springdata/ldap/PersonRepository.java b/ldap/example/src/main/java/example/springdata/ldap/PersonRepository.java index 083a04b9..e95e6e4d 100644 --- a/ldap/example/src/main/java/example/springdata/ldap/PersonRepository.java +++ b/ldap/example/src/main/java/example/springdata/ldap/PersonRepository.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/ldap/example/src/test/java/example/springdata/ldap/PersonRepositoryIntegrationTests.java b/ldap/example/src/test/java/example/springdata/ldap/PersonRepositoryIntegrationTests.java index 508712c6..e70476a5 100644 --- a/ldap/example/src/test/java/example/springdata/ldap/PersonRepositoryIntegrationTests.java +++ b/ldap/example/src/test/java/example/springdata/ldap/PersonRepositoryIntegrationTests.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/map/src/main/java/example/springdata/map/Person.java b/map/src/main/java/example/springdata/map/Person.java index b7559971..8a23e8cb 100644 --- a/map/src/main/java/example/springdata/map/Person.java +++ b/map/src/main/java/example/springdata/map/Person.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.data.annotation.Id; /** * A domain type. - * + * * @author Oliver Gierke */ @RequiredArgsConstructor diff --git a/map/src/main/java/example/springdata/map/PersonRepository.java b/map/src/main/java/example/springdata/map/PersonRepository.java index 247d706d..db7fdeb6 100644 --- a/map/src/main/java/example/springdata/map/PersonRepository.java +++ b/map/src/main/java/example/springdata/map/PersonRepository.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. @@ -22,14 +22,14 @@ import org.springframework.data.repository.CrudRepository; /** * A repository for {@link Person} instances. - * + * * @author Oliver Gierke */ interface PersonRepository extends CrudRepository { /** * Returns all person older than the given age. - * + * * @param age * @return */ diff --git a/map/src/test/java/example/springdata/map/PersonRepositoryIntegrationTest.java b/map/src/test/java/example/springdata/map/PersonRepositoryIntegrationTest.java index d3774ef1..5baf5734 100644 --- a/map/src/test/java/example/springdata/map/PersonRepositoryIntegrationTest.java +++ b/map/src/test/java/example/springdata/map/PersonRepositoryIntegrationTest.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. @@ -29,7 +29,7 @@ import org.springframework.test.context.junit4.SpringRunner; /** * Integration tests for {@link PersonRepository}. - * + * * @author Oliver Gierke */ @RunWith(SpringRunner.class) diff --git a/mongodb/aggregation/src/main/java/example/springdata/mongodb/aggregation/ApplicationConfiguration.java b/mongodb/aggregation/src/main/java/example/springdata/mongodb/aggregation/ApplicationConfiguration.java index 2d07f920..645ef6d8 100644 --- a/mongodb/aggregation/src/main/java/example/springdata/mongodb/aggregation/ApplicationConfiguration.java +++ b/mongodb/aggregation/src/main/java/example/springdata/mongodb/aggregation/ApplicationConfiguration.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. @@ -22,7 +22,7 @@ import com.mongodb.MongoClient; /** * Test configuration to connect to a MongoDB named "test" and using a {@link MongoClient}. Also enables Spring Data * repositories for MongoDB. - * + * * @author Oliver Gierke */ @SpringBootApplication diff --git a/mongodb/aggregation/src/main/java/example/springdata/mongodb/aggregation/Invoice.java b/mongodb/aggregation/src/main/java/example/springdata/mongodb/aggregation/Invoice.java index f0d98fee..733f4001 100644 --- a/mongodb/aggregation/src/main/java/example/springdata/mongodb/aggregation/Invoice.java +++ b/mongodb/aggregation/src/main/java/example/springdata/mongodb/aggregation/Invoice.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. @@ -21,7 +21,7 @@ import lombok.Value; /** * A DTO to represent invoices. - * + * * @author Thomas Darimont * @author Oliver Gierke */ diff --git a/mongodb/aggregation/src/main/java/example/springdata/mongodb/aggregation/LineItem.java b/mongodb/aggregation/src/main/java/example/springdata/mongodb/aggregation/LineItem.java index d7b66648..6d34a363 100644 --- a/mongodb/aggregation/src/main/java/example/springdata/mongodb/aggregation/LineItem.java +++ b/mongodb/aggregation/src/main/java/example/springdata/mongodb/aggregation/LineItem.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.data.annotation.PersistenceConstructor; /** * A line item. - * + * * @author Thomas Darimont * @author Oliver Gierke */ diff --git a/mongodb/aggregation/src/main/java/example/springdata/mongodb/aggregation/Order.java b/mongodb/aggregation/src/main/java/example/springdata/mongodb/aggregation/Order.java index 08d4a838..39c17df8 100644 --- a/mongodb/aggregation/src/main/java/example/springdata/mongodb/aggregation/Order.java +++ b/mongodb/aggregation/src/main/java/example/springdata/mongodb/aggregation/Order.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.data.mongodb.core.mapping.Document; /** * An entity representing an {@link Order}. Note how we don't need any MongoDB mapping annotations as {@code id} is * recognized as the id property by default. - * + * * @author Thomas Darimont * @author Oliver Gierke */ @@ -44,7 +44,7 @@ public class Order { /** * Creates a new {@link Order} for the given customer id and order date. - * + * * @param customerId * @param orderDate */ @@ -54,7 +54,7 @@ public class Order { /** * Adds a {@link LineItem} to the {@link Order}. - * + * * @param item * @return */ diff --git a/mongodb/aggregation/src/main/java/example/springdata/mongodb/aggregation/OrderRepository.java b/mongodb/aggregation/src/main/java/example/springdata/mongodb/aggregation/OrderRepository.java index 97c4bc9c..ba54f734 100644 --- a/mongodb/aggregation/src/main/java/example/springdata/mongodb/aggregation/OrderRepository.java +++ b/mongodb/aggregation/src/main/java/example/springdata/mongodb/aggregation/OrderRepository.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,7 +19,7 @@ import org.springframework.data.repository.CrudRepository; /** * A repository interface assembling CRUD functionality as well as the API to invoke the methods implemented manually. - * + * * @author Thomas Darimont * @author Oliver Gierke */ diff --git a/mongodb/aggregation/src/main/java/example/springdata/mongodb/aggregation/OrderRepositoryCustom.java b/mongodb/aggregation/src/main/java/example/springdata/mongodb/aggregation/OrderRepositoryCustom.java index f4473d1f..a3eec2b2 100644 --- a/mongodb/aggregation/src/main/java/example/springdata/mongodb/aggregation/OrderRepositoryCustom.java +++ b/mongodb/aggregation/src/main/java/example/springdata/mongodb/aggregation/OrderRepositoryCustom.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,14 +17,14 @@ package example.springdata.mongodb.aggregation; /** * The interface for repository functionality that will be implemented manually. - * + * * @author Oliver Gierke */ interface OrderRepositoryCustom { /** * Creates an {@link Invoice} for the given {@link Order}. - * + * * @param order must not be {@literal null}. * @return */ diff --git a/mongodb/aggregation/src/main/java/example/springdata/mongodb/aggregation/OrderRepositoryImpl.java b/mongodb/aggregation/src/main/java/example/springdata/mongodb/aggregation/OrderRepositoryImpl.java index 9f1c95eb..d5652995 100644 --- a/mongodb/aggregation/src/main/java/example/springdata/mongodb/aggregation/OrderRepositoryImpl.java +++ b/mongodb/aggregation/src/main/java/example/springdata/mongodb/aggregation/OrderRepositoryImpl.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,7 +27,7 @@ import org.springframework.data.mongodb.core.aggregation.AggregationResults; * The manual implementation parts for {@link OrderRepository}. This will automatically be picked up by the Spring Data * infrastructure as we follow the naming convention of extending the core repository interface's name with {@code Impl} * . - * + * * @author Thomas Darimont * @author Oliver Gierke */ @@ -42,7 +42,7 @@ class OrderRepositoryImpl implements OrderRepositoryCustom { * The implementation uses the MongoDB aggregation framework support Spring Data provides as well as SpEL expressions * to define arithmetical expressions. Note how we work with property names only and don't have to mitigate the nested * {@code $_id} fields MongoDB usually requires. - * + * * @see example.springdata.mongodb.aggregation.OrderRepositoryCustom#getInvoiceFor(example.springdata.mongodb.aggregation.Order) */ @Override diff --git a/mongodb/aggregation/src/test/java/example/springdata/mongodb/aggregation/OrderRepositoryIntegrationTests.java b/mongodb/aggregation/src/test/java/example/springdata/mongodb/aggregation/OrderRepositoryIntegrationTests.java index f261c7c0..d2a5c4bf 100644 --- a/mongodb/aggregation/src/test/java/example/springdata/mongodb/aggregation/OrderRepositoryIntegrationTests.java +++ b/mongodb/aggregation/src/test/java/example/springdata/mongodb/aggregation/OrderRepositoryIntegrationTests.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. @@ -30,7 +30,7 @@ import org.springframework.test.context.junit4.SpringRunner; /** * Integration tests for {@link OrderRepository}. - * + * * @author Thomas Darimont * @author Oliver Gierke */ diff --git a/mongodb/aggregation/src/test/java/example/springdata/mongodb/aggregation/SpringBooksIntegrationTests.java b/mongodb/aggregation/src/test/java/example/springdata/mongodb/aggregation/SpringBooksIntegrationTests.java index a9579882..de57607d 100644 --- a/mongodb/aggregation/src/test/java/example/springdata/mongodb/aggregation/SpringBooksIntegrationTests.java +++ b/mongodb/aggregation/src/test/java/example/springdata/mongodb/aggregation/SpringBooksIntegrationTests.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/mongodb/example/src/main/java/example/springdata/mongodb/advanced/AdvancedRepository.java b/mongodb/example/src/main/java/example/springdata/mongodb/advanced/AdvancedRepository.java index 86396dd7..68508664 100644 --- a/mongodb/example/src/main/java/example/springdata/mongodb/advanced/AdvancedRepository.java +++ b/mongodb/example/src/main/java/example/springdata/mongodb/advanced/AdvancedRepository.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 example.springdata.mongodb.customer.CustomerRepository; /** * Repository interface to manage {@link Customer} instances. - * + * * @author Christoph Strobl */ public interface AdvancedRepository extends CustomerRepository { @@ -34,13 +34,13 @@ public interface AdvancedRepository extends CustomerRepository { /** * Derived query using {@code $comment} meta attribute for quick lookup.
* Have a look at the {@literal mongodb shell} and execute: - * + * *
 	 * 
 	 *  db['system.profile'].find({'query.$comment':'s2gx-2014-rocks!'})
 	 * 
 	 * 
- * + * * @param firstname * @return */ diff --git a/mongodb/example/src/main/java/example/springdata/mongodb/advanced/ApplicationConfiguration.java b/mongodb/example/src/main/java/example/springdata/mongodb/advanced/ApplicationConfiguration.java index f73bbc8d..8f9c929e 100644 --- a/mongodb/example/src/main/java/example/springdata/mongodb/advanced/ApplicationConfiguration.java +++ b/mongodb/example/src/main/java/example/springdata/mongodb/advanced/ApplicationConfiguration.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.mongodb.MongoClient; /** * Test configuration to connect to a MongoDB named "test" and using a {@link MongoClient} with profiling enabled. - * + * * @author Christoph Strobl */ @SpringBootApplication diff --git a/mongodb/example/src/main/java/example/springdata/mongodb/customer/Address.java b/mongodb/example/src/main/java/example/springdata/mongodb/customer/Address.java index 538b6b96..b77705c4 100644 --- a/mongodb/example/src/main/java/example/springdata/mongodb/customer/Address.java +++ b/mongodb/example/src/main/java/example/springdata/mongodb/customer/Address.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 org.springframework.data.geo.Point; /** * A domain object to capture addresses. - * + * * @author Oliver Gierke */ @Getter diff --git a/mongodb/example/src/main/java/example/springdata/mongodb/customer/ApplicationConfiguration.java b/mongodb/example/src/main/java/example/springdata/mongodb/customer/ApplicationConfiguration.java index e81796fd..c34cba27 100644 --- a/mongodb/example/src/main/java/example/springdata/mongodb/customer/ApplicationConfiguration.java +++ b/mongodb/example/src/main/java/example/springdata/mongodb/customer/ApplicationConfiguration.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. @@ -22,7 +22,7 @@ import com.mongodb.MongoClient; /** * Test configuration to connect to a MongoDB named "test" and using a {@link MongoClient}. Also enables Spring Data * repositories for MongoDB. - * + * * @author Oliver Gierke */ @SpringBootApplication diff --git a/mongodb/example/src/main/java/example/springdata/mongodb/customer/Customer.java b/mongodb/example/src/main/java/example/springdata/mongodb/customer/Customer.java index 60bd1748..d77e9d48 100644 --- a/mongodb/example/src/main/java/example/springdata/mongodb/customer/Customer.java +++ b/mongodb/example/src/main/java/example/springdata/mongodb/customer/Customer.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. @@ -22,7 +22,7 @@ import org.springframework.util.Assert; /** * An entity to represent a customer. - * + * * @author Oliver Gierke */ @Data @@ -34,7 +34,7 @@ public class Customer { /** * Creates a new {@link Customer} with the given firstname and lastname. - * + * * @param firstname must not be {@literal null} or empty. * @param lastname must not be {@literal null} or empty. */ diff --git a/mongodb/example/src/main/java/example/springdata/mongodb/customer/CustomerRepository.java b/mongodb/example/src/main/java/example/springdata/mongodb/customer/CustomerRepository.java index a8d3332f..6ab45551 100644 --- a/mongodb/example/src/main/java/example/springdata/mongodb/customer/CustomerRepository.java +++ b/mongodb/example/src/main/java/example/springdata/mongodb/customer/CustomerRepository.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. @@ -25,14 +25,14 @@ import org.springframework.data.repository.CrudRepository; /** * Repository interface to manage {@link Customer} instances. - * + * * @author Oliver Gierke */ public interface CustomerRepository extends CrudRepository { /** * Derived query using dynamic sort information. - * + * * @param lastname * @param sort * @return @@ -41,7 +41,7 @@ public interface CustomerRepository extends CrudRepository { /** * Show case for a repository query using geo-spatial functionality. - * + * * @param point * @param distance * @return diff --git a/mongodb/example/src/main/java/example/springdata/mongodb/projections/Customer.java b/mongodb/example/src/main/java/example/springdata/mongodb/projections/Customer.java index c61c1112..f4bec4cf 100644 --- a/mongodb/example/src/main/java/example/springdata/mongodb/projections/Customer.java +++ b/mongodb/example/src/main/java/example/springdata/mongodb/projections/Customer.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/mongodb/example/src/main/java/example/springdata/mongodb/projections/CustomerDto.java b/mongodb/example/src/main/java/example/springdata/mongodb/projections/CustomerDto.java index cc39c8fb..251f250d 100644 --- a/mongodb/example/src/main/java/example/springdata/mongodb/projections/CustomerDto.java +++ b/mongodb/example/src/main/java/example/springdata/mongodb/projections/CustomerDto.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. @@ -19,7 +19,7 @@ import lombok.Value; /** * A sample DTO only containing the firstname. - * + * * @author Oliver Gierke */ @Value diff --git a/mongodb/example/src/main/java/example/springdata/mongodb/projections/CustomerProjection.java b/mongodb/example/src/main/java/example/springdata/mongodb/projections/CustomerProjection.java index f81bc5c7..72dc1049 100644 --- a/mongodb/example/src/main/java/example/springdata/mongodb/projections/CustomerProjection.java +++ b/mongodb/example/src/main/java/example/springdata/mongodb/projections/CustomerProjection.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/mongodb/example/src/main/java/example/springdata/mongodb/projections/CustomerRepository.java b/mongodb/example/src/main/java/example/springdata/mongodb/projections/CustomerRepository.java index b2423255..3552ef5c 100644 --- a/mongodb/example/src/main/java/example/springdata/mongodb/projections/CustomerRepository.java +++ b/mongodb/example/src/main/java/example/springdata/mongodb/projections/CustomerRepository.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. @@ -25,7 +25,7 @@ import org.springframework.data.repository.CrudRepository; /** * Sample repository managing customers to show projecting functionality of Spring Data MongoDB. - * + * * @author Oliver Gierke */ interface CustomerRepository extends CrudRepository { @@ -33,7 +33,7 @@ interface CustomerRepository extends CrudRepository { /** * Uses a projection interface to indicate the fields to be returned. As the projection doesn't use any dynamic * fields, the query execution will be restricted to only the fields needed by the projection. - * + * * @return */ Collection findAllProjectedBy(); @@ -42,7 +42,7 @@ interface CustomerRepository extends CrudRepository { * When a projection is used that contains dynamic properties (i.e. SpEL expressions in an {@link Value} annotation), * the normal target entity will be loaded but dynamically projected so that the target can be referred to in the * expression. - * + * * @return */ Collection findAllSummarizedBy(); @@ -50,14 +50,14 @@ interface CustomerRepository extends CrudRepository { /** * Uses a concrete DTO type to indicate the fields to be returned. This will cause the original object being loaded * and the properties copied over into the DTO. - * + * * @return */ Collection findAllDtoedBy(); /** * Passes in the projection type dynamically (either interface or DTO). - * + * * @param firstname * @param projection * @return @@ -66,7 +66,7 @@ interface CustomerRepository extends CrudRepository { /** * Projection for a single entity. - * + * * @param id * @return */ @@ -74,7 +74,7 @@ interface CustomerRepository extends CrudRepository { /** * Dynamic projection for a single entity. - * + * * @param id * @param projection * @return @@ -83,7 +83,7 @@ interface CustomerRepository extends CrudRepository { /** * Projections used with pagination. - * + * * @param pageable * @return */ diff --git a/mongodb/example/src/main/java/example/springdata/mongodb/projections/CustomerSummary.java b/mongodb/example/src/main/java/example/springdata/mongodb/projections/CustomerSummary.java index c5a4cb26..c9f0ccc3 100644 --- a/mongodb/example/src/main/java/example/springdata/mongodb/projections/CustomerSummary.java +++ b/mongodb/example/src/main/java/example/springdata/mongodb/projections/CustomerSummary.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/mongodb/example/src/test/java/example/springdata/mongodb/advanced/AdvancedIntegrationTests.java b/mongodb/example/src/test/java/example/springdata/mongodb/advanced/AdvancedIntegrationTests.java index e2a5949c..3beb0ae0 100644 --- a/mongodb/example/src/test/java/example/springdata/mongodb/advanced/AdvancedIntegrationTests.java +++ b/mongodb/example/src/test/java/example/springdata/mongodb/advanced/AdvancedIntegrationTests.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/mongodb/example/src/test/java/example/springdata/mongodb/advanced/ServersideScriptTests.java b/mongodb/example/src/test/java/example/springdata/mongodb/advanced/ServersideScriptTests.java index 106fd997..116802f2 100644 --- a/mongodb/example/src/test/java/example/springdata/mongodb/advanced/ServersideScriptTests.java +++ b/mongodb/example/src/test/java/example/springdata/mongodb/advanced/ServersideScriptTests.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/mongodb/example/src/test/java/example/springdata/mongodb/customer/CustomerRepositoryIntegrationTest.java b/mongodb/example/src/test/java/example/springdata/mongodb/customer/CustomerRepositoryIntegrationTest.java index 1b402206..49e13c8a 100644 --- a/mongodb/example/src/test/java/example/springdata/mongodb/customer/CustomerRepositoryIntegrationTest.java +++ b/mongodb/example/src/test/java/example/springdata/mongodb/customer/CustomerRepositoryIntegrationTest.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.test.context.junit4.SpringRunner; /** * Integration test for {@link CustomerRepository}. - * + * * @author Oliver Gierke */ @RunWith(SpringRunner.class) diff --git a/mongodb/example/src/test/java/example/springdata/mongodb/projections/CustomerRepositoryIntegrationTest.java b/mongodb/example/src/test/java/example/springdata/mongodb/projections/CustomerRepositoryIntegrationTest.java index 2b783d62..2dd63259 100644 --- a/mongodb/example/src/test/java/example/springdata/mongodb/projections/CustomerRepositoryIntegrationTest.java +++ b/mongodb/example/src/test/java/example/springdata/mongodb/projections/CustomerRepositoryIntegrationTest.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.test.context.junit4.SpringJUnit4ClassRunner; /** * Integration tests for {@link CustomerRepository} to show projection capabilities. - * + * * @author Oliver Gierke */ @RunWith(SpringJUnit4ClassRunner.class) diff --git a/mongodb/fluent-api/src/main/java/example/springdata/mongodb/fluent/Human.java b/mongodb/fluent-api/src/main/java/example/springdata/mongodb/fluent/Human.java index 28f9c552..7e93f791 100644 --- a/mongodb/fluent-api/src/main/java/example/springdata/mongodb/fluent/Human.java +++ b/mongodb/fluent-api/src/main/java/example/springdata/mongodb/fluent/Human.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/mongodb/fluent-api/src/main/java/example/springdata/mongodb/fluent/Jedi.java b/mongodb/fluent-api/src/main/java/example/springdata/mongodb/fluent/Jedi.java index 5ed805b7..72ed37ca 100644 --- a/mongodb/fluent-api/src/main/java/example/springdata/mongodb/fluent/Jedi.java +++ b/mongodb/fluent-api/src/main/java/example/springdata/mongodb/fluent/Jedi.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/mongodb/fluent-api/src/main/java/example/springdata/mongodb/fluent/Planet.java b/mongodb/fluent-api/src/main/java/example/springdata/mongodb/fluent/Planet.java index e4cf4755..0e64c6d6 100644 --- a/mongodb/fluent-api/src/main/java/example/springdata/mongodb/fluent/Planet.java +++ b/mongodb/fluent-api/src/main/java/example/springdata/mongodb/fluent/Planet.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/mongodb/fluent-api/src/main/java/example/springdata/mongodb/fluent/SWCharacter.java b/mongodb/fluent-api/src/main/java/example/springdata/mongodb/fluent/SWCharacter.java index 62d1b3db..55b76bbc 100644 --- a/mongodb/fluent-api/src/main/java/example/springdata/mongodb/fluent/SWCharacter.java +++ b/mongodb/fluent-api/src/main/java/example/springdata/mongodb/fluent/SWCharacter.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/mongodb/fluent-api/src/main/java/example/springdata/mongodb/fluent/Sith.java b/mongodb/fluent-api/src/main/java/example/springdata/mongodb/fluent/Sith.java index 0ce7ec9b..9449890c 100644 --- a/mongodb/fluent-api/src/main/java/example/springdata/mongodb/fluent/Sith.java +++ b/mongodb/fluent-api/src/main/java/example/springdata/mongodb/fluent/Sith.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/mongodb/fluent-api/src/test/java/example/springdata/mongodb/fluent/ApplicationConfiguration.java b/mongodb/fluent-api/src/test/java/example/springdata/mongodb/fluent/ApplicationConfiguration.java index da985a27..79a83c6b 100644 --- a/mongodb/fluent-api/src/test/java/example/springdata/mongodb/fluent/ApplicationConfiguration.java +++ b/mongodb/fluent-api/src/test/java/example/springdata/mongodb/fluent/ApplicationConfiguration.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/mongodb/fluent-api/src/test/java/example/springdata/mongodb/fluent/FluentMongoApiTests.java b/mongodb/fluent-api/src/test/java/example/springdata/mongodb/fluent/FluentMongoApiTests.java index 2f123370..28d8f157 100644 --- a/mongodb/fluent-api/src/test/java/example/springdata/mongodb/fluent/FluentMongoApiTests.java +++ b/mongodb/fluent-api/src/test/java/example/springdata/mongodb/fluent/FluentMongoApiTests.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/mongodb/geo-json/src/main/java/example/springdata/mongodb/geojson/ApplicationConfiguration.java b/mongodb/geo-json/src/main/java/example/springdata/mongodb/geojson/ApplicationConfiguration.java index 610a05e1..6b5d7cee 100644 --- a/mongodb/geo-json/src/main/java/example/springdata/mongodb/geojson/ApplicationConfiguration.java +++ b/mongodb/geo-json/src/main/java/example/springdata/mongodb/geojson/ApplicationConfiguration.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. @@ -31,7 +31,7 @@ import com.fasterxml.jackson.databind.ObjectMapper; /** * Spring Boot sample application to show the usage of {@link GeoJson} types with Spring Data MongoDB. - * + * * @author Christoph Strobl * @author Oliver Gierke */ @@ -40,7 +40,7 @@ public class ApplicationConfiguration { /** * Read JSON data from disk and insert those stores. - * + * * @return */ public @Bean AbstractRepositoryPopulatorFactoryBean repositoryPopulator() { diff --git a/mongodb/geo-json/src/main/java/example/springdata/mongodb/geojson/Store.java b/mongodb/geo-json/src/main/java/example/springdata/mongodb/geojson/Store.java index b42f620d..151ecf8e 100644 --- a/mongodb/geo-json/src/main/java/example/springdata/mongodb/geojson/Store.java +++ b/mongodb/geo-json/src/main/java/example/springdata/mongodb/geojson/Store.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. @@ -34,7 +34,7 @@ public class Store { /** * {@code location} is stored in GeoJSON format. - * + * *
 	 * 
 	 * {
diff --git a/mongodb/geo-json/src/main/java/example/springdata/mongodb/geojson/StoreRepository.java b/mongodb/geo-json/src/main/java/example/springdata/mongodb/geojson/StoreRepository.java
index b736690a..663671e7 100644
--- a/mongodb/geo-json/src/main/java/example/springdata/mongodb/geojson/StoreRepository.java
+++ b/mongodb/geo-json/src/main/java/example/springdata/mongodb/geojson/StoreRepository.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.data.repository.CrudRepository;
 
 /**
  * Spring Data repository interface to manage {@link Store} instances.
- * 
+ *
  * @author Christoph Strobl
  * @author Oliver Gierke
  */
@@ -30,7 +30,7 @@ interface StoreRepository extends CrudRepository {
 
 	/**
 	 * Returns all {@link Store}s located withing the given {@link Polygon}.
-	 * 
+	 *
 	 * @param polygon must not be {@literal null}.
 	 * @return
 	 */
diff --git a/mongodb/geo-json/src/test/java/example/springdata/mongodb/geojson/StoreRepositoryTests.java b/mongodb/geo-json/src/test/java/example/springdata/mongodb/geojson/StoreRepositoryTests.java
index 2de82e75..4b948273 100644
--- a/mongodb/geo-json/src/test/java/example/springdata/mongodb/geojson/StoreRepositoryTests.java
+++ b/mongodb/geo-json/src/test/java/example/springdata/mongodb/geojson/StoreRepositoryTests.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.
@@ -32,7 +32,7 @@ import org.springframework.test.context.junit4.SpringRunner;
 
 /**
  * Integration tests for {@link StoreRepository}.
- * 
+ *
  * @author Christoph Strobl
  * @author Oliver Gierke
  */
@@ -48,18 +48,18 @@ public class StoreRepositoryTests {
 
 	/**
 	 * Get all the Starbucks stores within the triangle defined by
-	 * 
+	 *
 	 * 
 	 * 
    *
  1. 43rd & Ninth
  2. 60th & First
  3. Fresh Meadows
  4. *
      *
- * + * * Using {@code $geoWithin} and {@code $geometry} operators. - * + * *
 	 * 
-	 * { 
+	 * {
 	 *   "location": {
 	 *     "$geoWithin": {
 	 *       "geometry": {
@@ -77,7 +77,7 @@ public class StoreRepositoryTests {
 	 *   }
 	 * }
 	 * 
-	 * 
+	 *
 	 * 
 	 */
 	@Test
@@ -87,18 +87,18 @@ public class StoreRepositoryTests {
 
 	/**
 	 * The legacy format alternative to {@link #findWithinGeoJsonPolygon()}.
-	 * 
+	 *
 	 * 
 	 * 
-	 * { 
-	 *   "location" : { 
+	 * {
+	 *   "location" : {
 	 *     "$geoWithin" : {
 	 *        "$polygon" : [ [ -73.992514, 40.758934 ] , [ -73.961138, 40.760348 ] , [ -73.991658, 40.730006 ] ]
 	 *     }
 	 *   }
 	 * }
 	 * 
-	 * 
+	 *
 	 * 
 	 */
 	@Test
diff --git a/mongodb/java8/src/main/java/example/springdata/mongodb/people/ApplicationConfiguration.java b/mongodb/java8/src/main/java/example/springdata/mongodb/people/ApplicationConfiguration.java
index 259e2a49..96163c89 100644
--- a/mongodb/java8/src/main/java/example/springdata/mongodb/people/ApplicationConfiguration.java
+++ b/mongodb/java8/src/main/java/example/springdata/mongodb/people/ApplicationConfiguration.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.data.mongodb.core.mapping.event.LoggingEventListener;
 /**
  * Simple configuration that registers a {@link LoggingEventListener} to demonstrate mapping behaviour when Java 8
  * Streams are used.
- * 
+ *
  * @author Thomas Darimont
  */
 @SpringBootApplication
diff --git a/mongodb/java8/src/main/java/example/springdata/mongodb/people/Person.java b/mongodb/java8/src/main/java/example/springdata/mongodb/people/Person.java
index 65003db0..3ec384d8 100644
--- a/mongodb/java8/src/main/java/example/springdata/mongodb/people/Person.java
+++ b/mongodb/java8/src/main/java/example/springdata/mongodb/people/Person.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.data.annotation.Id;
 
 /**
  * An entity to represent a Person.
- * 
+ *
  * @author Thomas Darimont
  */
 @Data
diff --git a/mongodb/java8/src/main/java/example/springdata/mongodb/people/PersonRepository.java b/mongodb/java8/src/main/java/example/springdata/mongodb/people/PersonRepository.java
index d1399c64..be228e18 100644
--- a/mongodb/java8/src/main/java/example/springdata/mongodb/people/PersonRepository.java
+++ b/mongodb/java8/src/main/java/example/springdata/mongodb/people/PersonRepository.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.data.repository.CrudRepository;
 
 /**
  * Repository interface to manage {@link Person} instances.
- * 
+ *
  * @author Thomas Darimont
  */
 public interface PersonRepository extends CrudRepository {
diff --git a/mongodb/java8/src/test/java/example/springdata/mongodb/people/PersonRepositoryIntegrationTest.java b/mongodb/java8/src/test/java/example/springdata/mongodb/people/PersonRepositoryIntegrationTest.java
index e8dae8cd..64072b10 100644
--- a/mongodb/java8/src/test/java/example/springdata/mongodb/people/PersonRepositoryIntegrationTest.java
+++ b/mongodb/java8/src/test/java/example/springdata/mongodb/people/PersonRepositoryIntegrationTest.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.test.context.junit4.SpringRunner;
 
 /**
  * Integration test for {@link PersonRepository}.
- * 
+ *
  * @author Thomas Darimont
  * @author Oliver Gierke
  */
diff --git a/mongodb/query-by-example/src/main/java/example/springdata/mongodb/querybyexample/ApplicationConfiguration.java b/mongodb/query-by-example/src/main/java/example/springdata/mongodb/querybyexample/ApplicationConfiguration.java
index 6993de3f..bb4788c7 100644
--- a/mongodb/query-by-example/src/main/java/example/springdata/mongodb/querybyexample/ApplicationConfiguration.java
+++ b/mongodb/query-by-example/src/main/java/example/springdata/mongodb/querybyexample/ApplicationConfiguration.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/mongodb/query-by-example/src/main/java/example/springdata/mongodb/querybyexample/Contact.java b/mongodb/query-by-example/src/main/java/example/springdata/mongodb/querybyexample/Contact.java
index c8aaf681..c6ac525e 100644
--- a/mongodb/query-by-example/src/main/java/example/springdata/mongodb/querybyexample/Contact.java
+++ b/mongodb/query-by-example/src/main/java/example/springdata/mongodb/querybyexample/Contact.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/mongodb/query-by-example/src/main/java/example/springdata/mongodb/querybyexample/ContactRepository.java b/mongodb/query-by-example/src/main/java/example/springdata/mongodb/querybyexample/ContactRepository.java
index 3b949379..6cfb6ead 100644
--- a/mongodb/query-by-example/src/main/java/example/springdata/mongodb/querybyexample/ContactRepository.java
+++ b/mongodb/query-by-example/src/main/java/example/springdata/mongodb/querybyexample/ContactRepository.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.
@@ -21,7 +21,7 @@ import org.springframework.data.repository.query.QueryByExampleExecutor;
 
 /**
  * Repository interface for {@link Contact} and sub-types.
- * 
+ *
  * @author Oliver Gierke
  */
 public interface ContactRepository extends CrudRepository, QueryByExampleExecutor {}
diff --git a/mongodb/query-by-example/src/main/java/example/springdata/mongodb/querybyexample/Person.java b/mongodb/query-by-example/src/main/java/example/springdata/mongodb/querybyexample/Person.java
index fc6db79f..8b4217e2 100644
--- a/mongodb/query-by-example/src/main/java/example/springdata/mongodb/querybyexample/Person.java
+++ b/mongodb/query-by-example/src/main/java/example/springdata/mongodb/querybyexample/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/mongodb/query-by-example/src/main/java/example/springdata/mongodb/querybyexample/Relative.java b/mongodb/query-by-example/src/main/java/example/springdata/mongodb/querybyexample/Relative.java
index ad6f0979..cb560cf6 100644
--- a/mongodb/query-by-example/src/main/java/example/springdata/mongodb/querybyexample/Relative.java
+++ b/mongodb/query-by-example/src/main/java/example/springdata/mongodb/querybyexample/Relative.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/mongodb/query-by-example/src/main/java/example/springdata/mongodb/querybyexample/RelativeRepository.java b/mongodb/query-by-example/src/main/java/example/springdata/mongodb/querybyexample/RelativeRepository.java
index c713f074..f4252fd3 100644
--- a/mongodb/query-by-example/src/main/java/example/springdata/mongodb/querybyexample/RelativeRepository.java
+++ b/mongodb/query-by-example/src/main/java/example/springdata/mongodb/querybyexample/RelativeRepository.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/mongodb/query-by-example/src/main/java/example/springdata/mongodb/querybyexample/UserRepository.java b/mongodb/query-by-example/src/main/java/example/springdata/mongodb/querybyexample/UserRepository.java
index 1bf27719..13133536 100644
--- a/mongodb/query-by-example/src/main/java/example/springdata/mongodb/querybyexample/UserRepository.java
+++ b/mongodb/query-by-example/src/main/java/example/springdata/mongodb/querybyexample/UserRepository.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/mongodb/query-by-example/src/main/java/example/springdata/mongodb/querybyexample/package-info.java b/mongodb/query-by-example/src/main/java/example/springdata/mongodb/querybyexample/package-info.java
index 3b8fa0cc..42ced7a8 100644
--- a/mongodb/query-by-example/src/main/java/example/springdata/mongodb/querybyexample/package-info.java
+++ b/mongodb/query-by-example/src/main/java/example/springdata/mongodb/querybyexample/package-info.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/mongodb/query-by-example/src/test/java/example/springdata/mongodb/querybyexample/ContactRepositoryIntegrationTests.java b/mongodb/query-by-example/src/test/java/example/springdata/mongodb/querybyexample/ContactRepositoryIntegrationTests.java
index 8820d4bc..bd370a31 100644
--- a/mongodb/query-by-example/src/test/java/example/springdata/mongodb/querybyexample/ContactRepositoryIntegrationTests.java
+++ b/mongodb/query-by-example/src/test/java/example/springdata/mongodb/querybyexample/ContactRepositoryIntegrationTests.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/mongodb/query-by-example/src/test/java/example/springdata/mongodb/querybyexample/MongoOperationsIntegrationTests.java b/mongodb/query-by-example/src/test/java/example/springdata/mongodb/querybyexample/MongoOperationsIntegrationTests.java
index 623340ef..6884769e 100644
--- a/mongodb/query-by-example/src/test/java/example/springdata/mongodb/querybyexample/MongoOperationsIntegrationTests.java
+++ b/mongodb/query-by-example/src/test/java/example/springdata/mongodb/querybyexample/MongoOperationsIntegrationTests.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/mongodb/query-by-example/src/test/java/example/springdata/mongodb/querybyexample/UserRepositoryIntegrationTests.java b/mongodb/query-by-example/src/test/java/example/springdata/mongodb/querybyexample/UserRepositoryIntegrationTests.java
index d706cdc2..f67cb27a 100644
--- a/mongodb/query-by-example/src/test/java/example/springdata/mongodb/querybyexample/UserRepositoryIntegrationTests.java
+++ b/mongodb/query-by-example/src/test/java/example/springdata/mongodb/querybyexample/UserRepositoryIntegrationTests.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/mongodb/reactive/src/main/java/example/springdata/mongodb/people/ApplicationConfiguration.java b/mongodb/reactive/src/main/java/example/springdata/mongodb/people/ApplicationConfiguration.java
index 921423be..ea553584 100644
--- a/mongodb/reactive/src/main/java/example/springdata/mongodb/people/ApplicationConfiguration.java
+++ b/mongodb/reactive/src/main/java/example/springdata/mongodb/people/ApplicationConfiguration.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/mongodb/reactive/src/main/java/example/springdata/mongodb/people/Person.java b/mongodb/reactive/src/main/java/example/springdata/mongodb/people/Person.java
index 00b2a76e..9e1610cc 100644
--- a/mongodb/reactive/src/main/java/example/springdata/mongodb/people/Person.java
+++ b/mongodb/reactive/src/main/java/example/springdata/mongodb/people/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/mongodb/reactive/src/main/java/example/springdata/mongodb/people/ReactivePersonRepository.java b/mongodb/reactive/src/main/java/example/springdata/mongodb/people/ReactivePersonRepository.java
index a567dd21..9748c46b 100644
--- a/mongodb/reactive/src/main/java/example/springdata/mongodb/people/ReactivePersonRepository.java
+++ b/mongodb/reactive/src/main/java/example/springdata/mongodb/people/ReactivePersonRepository.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.
@@ -67,7 +67,7 @@ public interface ReactivePersonRepository extends ReactiveCrudRepository {
diff --git a/mongodb/security/src/test/java/example/springdata/mongodb/security/PersonRepositoryIntegrationTest.java b/mongodb/security/src/test/java/example/springdata/mongodb/security/PersonRepositoryIntegrationTest.java
index 1eda1264..48d05325 100644
--- a/mongodb/security/src/test/java/example/springdata/mongodb/security/PersonRepositoryIntegrationTest.java
+++ b/mongodb/security/src/test/java/example/springdata/mongodb/security/PersonRepositoryIntegrationTest.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.
@@ -33,7 +33,7 @@ import org.springframework.test.context.junit4.SpringRunner;
 
 /**
  * Integration test for {@link PersonRepository}.
- * 
+ *
  * @author Thomas Darimont
  * @author Oliver Gierke
  */
diff --git a/mongodb/text-search/src/main/java/example/springdata/mongodb/textsearch/BlogPost.java b/mongodb/text-search/src/main/java/example/springdata/mongodb/textsearch/BlogPost.java
index 02de2c42..bd1fdd8e 100644
--- a/mongodb/text-search/src/main/java/example/springdata/mongodb/textsearch/BlogPost.java
+++ b/mongodb/text-search/src/main/java/example/springdata/mongodb/textsearch/BlogPost.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.
@@ -26,7 +26,7 @@ import org.springframework.data.mongodb.core.mapping.TextScore;
 
 /**
  * Document representation of a {@link BlogPost} carrying annotation based information for text indexes.
- * 
+ *
  * @author Christoph Strobl
  * @author Oliver Gierke
  */
diff --git a/mongodb/text-search/src/main/java/example/springdata/mongodb/textsearch/BlogPostRepository.java b/mongodb/text-search/src/main/java/example/springdata/mongodb/textsearch/BlogPostRepository.java
index d046130a..91581a6a 100644
--- a/mongodb/text-search/src/main/java/example/springdata/mongodb/textsearch/BlogPostRepository.java
+++ b/mongodb/text-search/src/main/java/example/springdata/mongodb/textsearch/BlogPostRepository.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/mongodb/text-search/src/main/java/example/springdata/mongodb/textsearch/MongoTestConfiguration.java b/mongodb/text-search/src/main/java/example/springdata/mongodb/textsearch/MongoTestConfiguration.java
index 078e36fc..f274da7c 100644
--- a/mongodb/text-search/src/main/java/example/springdata/mongodb/textsearch/MongoTestConfiguration.java
+++ b/mongodb/text-search/src/main/java/example/springdata/mongodb/textsearch/MongoTestConfiguration.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.
@@ -45,7 +45,7 @@ public class MongoTestConfiguration {
 
 	/**
 	 * Clean up after execution by dropping used test db instance.
-	 * 
+	 *
 	 * @throws Exception
 	 */
 	@PreDestroy
diff --git a/mongodb/text-search/src/test/java/example/springdata/mongodb/textsearch/TextSearchRepositoryTests.java b/mongodb/text-search/src/test/java/example/springdata/mongodb/textsearch/TextSearchRepositoryTests.java
index 03b27239..604b3c6e 100644
--- a/mongodb/text-search/src/test/java/example/springdata/mongodb/textsearch/TextSearchRepositoryTests.java
+++ b/mongodb/text-search/src/test/java/example/springdata/mongodb/textsearch/TextSearchRepositoryTests.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.
@@ -29,7 +29,7 @@ import org.springframework.test.context.junit4.SpringRunner;
 
 /**
  * Integration tests showing the text search functionality using repositories.
- * 
+ *
  * @author Christoph Strobl
  * @author Oliver Gierke
  * @author Thomas Darimont
diff --git a/mongodb/text-search/src/test/java/example/springdata/mongodb/textsearch/TextSearchTemplateTests.java b/mongodb/text-search/src/test/java/example/springdata/mongodb/textsearch/TextSearchTemplateTests.java
index fe41db73..7ae5fffb 100644
--- a/mongodb/text-search/src/test/java/example/springdata/mongodb/textsearch/TextSearchTemplateTests.java
+++ b/mongodb/text-search/src/test/java/example/springdata/mongodb/textsearch/TextSearchTemplateTests.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/mongodb/text-search/src/test/java/example/springdata/mongodb/util/BlogPostInitializer.java b/mongodb/text-search/src/test/java/example/springdata/mongodb/util/BlogPostInitializer.java
index 84fc0b56..71904e3b 100644
--- a/mongodb/text-search/src/test/java/example/springdata/mongodb/util/BlogPostInitializer.java
+++ b/mongodb/text-search/src/test/java/example/springdata/mongodb/util/BlogPostInitializer.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.
@@ -26,7 +26,7 @@ import example.springdata.mongodb.textsearch.BlogPost;
 
 /**
  * Component to initialize {@link BlogPost}s by accessing the latest ones from the Spring blog.
- * 
+ *
  * @author Christoph Strobl
  * @author Oliver Gierke
  */
@@ -37,7 +37,7 @@ public enum BlogPostInitializer {
 
 	/**
 	 * Initializes the given {@link MongoOperations} with {@link BlogPost}s from the Spring Blog.
-	 * 
+	 *
 	 * @param operations must not be {@literal null}.
 	 * @throws Exception
 	 */
diff --git a/mongodb/text-search/src/test/java/example/springdata/mongodb/util/ConsoleResultPrinter.java b/mongodb/text-search/src/test/java/example/springdata/mongodb/util/ConsoleResultPrinter.java
index caca4521..f5d555e6 100644
--- a/mongodb/text-search/src/test/java/example/springdata/mongodb/util/ConsoleResultPrinter.java
+++ b/mongodb/text-search/src/test/java/example/springdata/mongodb/util/ConsoleResultPrinter.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 example.springdata.mongodb.textsearch.BlogPost;
 
 /**
  * Just a little helper for showing {@link BlogPost}s output on the console.
- * 
+ *
  * @author Christoph Strobl
  */
 public class ConsoleResultPrinter {
diff --git a/multi-store/src/main/java/example/springdata/multistore/ApplicationConfiguration.java b/multi-store/src/main/java/example/springdata/multistore/ApplicationConfiguration.java
index 59fcedeb..42dafb55 100644
--- a/multi-store/src/main/java/example/springdata/multistore/ApplicationConfiguration.java
+++ b/multi-store/src/main/java/example/springdata/multistore/ApplicationConfiguration.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.
@@ -22,7 +22,7 @@ import com.mongodb.MongoClient;
 /**
  * Test configuration to connect to a MongoDB named "test" and using a {@link MongoClient}. Also enables Spring Data
  * repositories for MongoDB.
- * 
+ *
  * @author Oliver Gierke
  */
 @SpringBootApplication
diff --git a/multi-store/src/main/java/example/springdata/multistore/customer/Address.java b/multi-store/src/main/java/example/springdata/multistore/customer/Address.java
index 23a708e7..7c359bc8 100644
--- a/multi-store/src/main/java/example/springdata/multistore/customer/Address.java
+++ b/multi-store/src/main/java/example/springdata/multistore/customer/Address.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.data.geo.Point;
 
 /**
  * A domain object to capture addresses.
- * 
+ *
  * @author Oliver Gierke
  */
 @Getter
diff --git a/multi-store/src/main/java/example/springdata/multistore/customer/Customer.java b/multi-store/src/main/java/example/springdata/multistore/customer/Customer.java
index 1516c6f8..d366546d 100644
--- a/multi-store/src/main/java/example/springdata/multistore/customer/Customer.java
+++ b/multi-store/src/main/java/example/springdata/multistore/customer/Customer.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.Assert;
 
 /**
  * An entity to represent a customer.
- * 
+ *
  * @author Oliver Gierke
  */
 @Data
@@ -39,7 +39,7 @@ public class Customer {
 
 	/**
 	 * Creates a new {@link Customer} with the given firstname and lastname.
-	 * 
+	 *
 	 * @param firstname must not be {@literal null} or empty.
 	 * @param lastname must not be {@literal null} or empty.
 	 */
diff --git a/multi-store/src/main/java/example/springdata/multistore/customer/CustomerRepository.java b/multi-store/src/main/java/example/springdata/multistore/customer/CustomerRepository.java
index 77cb70c2..9c04eb66 100644
--- a/multi-store/src/main/java/example/springdata/multistore/customer/CustomerRepository.java
+++ b/multi-store/src/main/java/example/springdata/multistore/customer/CustomerRepository.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.repository.CrudRepository;
 
 /**
  * Repository interface to manage {@link Customer} instances.
- * 
+ *
  * @author Oliver Gierke
  */
 public interface CustomerRepository extends CrudRepository {}
diff --git a/multi-store/src/main/java/example/springdata/multistore/shop/LineItem.java b/multi-store/src/main/java/example/springdata/multistore/shop/LineItem.java
index 3a643d42..6f82f71a 100644
--- a/multi-store/src/main/java/example/springdata/multistore/shop/LineItem.java
+++ b/multi-store/src/main/java/example/springdata/multistore/shop/LineItem.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.data.annotation.PersistenceConstructor;
 
 /**
  * A line item.
- * 
+ *
  * @author Thomas Darimont
  * @author Oliver Gierke
  */
diff --git a/multi-store/src/main/java/example/springdata/multistore/shop/Order.java b/multi-store/src/main/java/example/springdata/multistore/shop/Order.java
index cfce4e3f..e0ab06ed 100644
--- a/multi-store/src/main/java/example/springdata/multistore/shop/Order.java
+++ b/multi-store/src/main/java/example/springdata/multistore/shop/Order.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.data.mongodb.core.mapping.Document;
 /**
  * An entity representing an {@link Order}. Note how we don't need any MongoDB mapping annotations as {@code id} is
  * recognized as the id property by default.
- * 
+ *
  * @author Thomas Darimont
  * @author Oliver Gierke
  */
@@ -44,7 +44,7 @@ public class Order {
 
 	/**
 	 * Creates a new {@link Order} for the given customer id and order date.
-	 * 
+	 *
 	 * @param customerId
 	 * @param orderDate
 	 */
@@ -54,7 +54,7 @@ public class Order {
 
 	/**
 	 * Adds a {@link LineItem} to the {@link Order}.
-	 * 
+	 *
 	 * @param item
 	 * @return
 	 */
diff --git a/multi-store/src/main/java/example/springdata/multistore/shop/OrderRepository.java b/multi-store/src/main/java/example/springdata/multistore/shop/OrderRepository.java
index b7c0b6b2..c6d49bf6 100644
--- a/multi-store/src/main/java/example/springdata/multistore/shop/OrderRepository.java
+++ b/multi-store/src/main/java/example/springdata/multistore/shop/OrderRepository.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,7 +19,7 @@ import org.springframework.data.repository.CrudRepository;
 
 /**
  * A repository interface assembling CRUD functionality as well as the API to invoke the methods implemented manually.
- * 
+ *
  * @author Thomas Darimont
  * @author Oliver Gierke
  */
diff --git a/multi-store/src/test/java/example/springdata/multistore/ApplicationConfigurationTest.java b/multi-store/src/test/java/example/springdata/multistore/ApplicationConfigurationTest.java
index 66eff2b5..26a07409 100644
--- a/multi-store/src/test/java/example/springdata/multistore/ApplicationConfigurationTest.java
+++ b/multi-store/src/test/java/example/springdata/multistore/ApplicationConfigurationTest.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.test.context.junit4.SpringRunner;
 
 /**
  * Integration test to check repository interfaces are assigned to the correct store modules.
- * 
+ *
  * @author Oliver Gierke
  */
 @RunWith(SpringRunner.class)
diff --git a/neo4j/example/src/main/java/example/springdata/neo4j/Actor.java b/neo4j/example/src/main/java/example/springdata/neo4j/Actor.java
index 2d5422e8..ab787e65 100644
--- a/neo4j/example/src/main/java/example/springdata/neo4j/Actor.java
+++ b/neo4j/example/src/main/java/example/springdata/neo4j/Actor.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/neo4j/example/src/main/java/example/springdata/neo4j/ActorRepository.java b/neo4j/example/src/main/java/example/springdata/neo4j/ActorRepository.java
index 992a7472..2fa9606a 100644
--- a/neo4j/example/src/main/java/example/springdata/neo4j/ActorRepository.java
+++ b/neo4j/example/src/main/java/example/springdata/neo4j/ActorRepository.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.data.neo4j.repository.Neo4jRepository;
 
 /**
  * {@link GraphRepository} for {@link Actor}s.
- * 
+ *
  * @author Luanne Misquitta
  */
 public interface ActorRepository extends Neo4jRepository {}
diff --git a/neo4j/example/src/main/java/example/springdata/neo4j/Movie.java b/neo4j/example/src/main/java/example/springdata/neo4j/Movie.java
index eacc9648..a202367c 100644
--- a/neo4j/example/src/main/java/example/springdata/neo4j/Movie.java
+++ b/neo4j/example/src/main/java/example/springdata/neo4j/Movie.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/neo4j/example/src/main/java/example/springdata/neo4j/Role.java b/neo4j/example/src/main/java/example/springdata/neo4j/Role.java
index 8114b821..102b873c 100644
--- a/neo4j/example/src/main/java/example/springdata/neo4j/Role.java
+++ b/neo4j/example/src/main/java/example/springdata/neo4j/Role.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.neo4j.ogm.annotation.StartNode;
 
 /**
  * A Role relationship entity between an actor and movie.
- * 
+ *
  * @author Luanne Misquitta
  */
 @RelationshipEntity(type = "ACTED_IN")
diff --git a/neo4j/example/src/test/java/example/springdata/neo4j/ActorRepositoryIntegrationTest.java b/neo4j/example/src/test/java/example/springdata/neo4j/ActorRepositoryIntegrationTest.java
index c0de7c6b..b0d537ed 100644
--- a/neo4j/example/src/test/java/example/springdata/neo4j/ActorRepositoryIntegrationTest.java
+++ b/neo4j/example/src/test/java/example/springdata/neo4j/ActorRepositoryIntegrationTest.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.
@@ -27,7 +27,7 @@ import org.springframework.transaction.annotation.Transactional;
 
 /**
  * Simple integration test demonstrating the use of the ActorRepository
- * 
+ *
  * @author Luanne Misquitta
  * @author Oliver Gierke
  */
diff --git a/redis/cluster/src/main/java/example/springdata/redis/cluster/AppConfig.java b/redis/cluster/src/main/java/example/springdata/redis/cluster/AppConfig.java
index 078970a0..ca72ee97 100644
--- a/redis/cluster/src/main/java/example/springdata/redis/cluster/AppConfig.java
+++ b/redis/cluster/src/main/java/example/springdata/redis/cluster/AppConfig.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.redis.core.RedisTemplate;
 /**
  * Application context configuration setting up {@link RedisConnectionFactory} and {@link RedisTemplate} according to
  * {@link ClusterConfigurationProperties}.
- * 
+ *
  * @author Christoph Strobl
  */
 @EnableAutoConfiguration
diff --git a/redis/cluster/src/test/java/example/springdata/redis/cluster/BasicUsageTests.java b/redis/cluster/src/test/java/example/springdata/redis/cluster/BasicUsageTests.java
index 417b6e82..4dcf9d7e 100644
--- a/redis/cluster/src/test/java/example/springdata/redis/cluster/BasicUsageTests.java
+++ b/redis/cluster/src/test/java/example/springdata/redis/cluster/BasicUsageTests.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.
@@ -39,7 +39,7 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
 /**
  * {@link BasicUsageTests} shows general usage of {@link RedisTemplate} and {@link RedisOperations} in a clustered
  * environment.
- * 
+ *
  * @author Christoph Strobl
  */
 @RunWith(SpringJUnit4ClassRunner.class)
diff --git a/redis/example/src/test/java/example/springdata/redis/RedisTestConfiguration.java b/redis/example/src/test/java/example/springdata/redis/RedisTestConfiguration.java
index a5d57692..e512ab8c 100644
--- a/redis/example/src/test/java/example/springdata/redis/RedisTestConfiguration.java
+++ b/redis/example/src/test/java/example/springdata/redis/RedisTestConfiguration.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/redis/example/src/test/java/example/springdata/redis/commands/GeoOperationsTests.java b/redis/example/src/test/java/example/springdata/redis/commands/GeoOperationsTests.java
index 1ce03483..4ed4b952 100644
--- a/redis/example/src/test/java/example/springdata/redis/commands/GeoOperationsTests.java
+++ b/redis/example/src/test/java/example/springdata/redis/commands/GeoOperationsTests.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/redis/example/src/test/java/example/springdata/redis/commands/KeyOperationsTests.java b/redis/example/src/test/java/example/springdata/redis/commands/KeyOperationsTests.java
index dd5d3f42..415c93d5 100644
--- a/redis/example/src/test/java/example/springdata/redis/commands/KeyOperationsTests.java
+++ b/redis/example/src/test/java/example/springdata/redis/commands/KeyOperationsTests.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.
@@ -37,7 +37,7 @@ import org.springframework.test.context.junit4.SpringRunner;
 
 /**
  * Show usage of operations on redis keys using low level API provided by {@link RedisConnection}.
- * 
+ *
  * @author Christoph Strobl
  */
 @RunWith(SpringRunner.class)
diff --git a/redis/reactive/src/test/java/example/springdata/redis/EmailAddress.java b/redis/reactive/src/test/java/example/springdata/redis/EmailAddress.java
index 6a8e2d49..765f0591 100644
--- a/redis/reactive/src/test/java/example/springdata/redis/EmailAddress.java
+++ b/redis/reactive/src/test/java/example/springdata/redis/EmailAddress.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/redis/reactive/src/test/java/example/springdata/redis/Person.java b/redis/reactive/src/test/java/example/springdata/redis/Person.java
index 39697286..1a53bb1b 100644
--- a/redis/reactive/src/test/java/example/springdata/redis/Person.java
+++ b/redis/reactive/src/test/java/example/springdata/redis/Person.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/redis/reactive/src/test/java/example/springdata/redis/RedisTestConfiguration.java b/redis/reactive/src/test/java/example/springdata/redis/RedisTestConfiguration.java
index b8088afb..8c567458 100644
--- a/redis/reactive/src/test/java/example/springdata/redis/RedisTestConfiguration.java
+++ b/redis/reactive/src/test/java/example/springdata/redis/RedisTestConfiguration.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/redis/reactive/src/test/java/example/springdata/redis/commands/KeyCommandsTests.java b/redis/reactive/src/test/java/example/springdata/redis/commands/KeyCommandsTests.java
index cf58cca2..edd39507 100644
--- a/redis/reactive/src/test/java/example/springdata/redis/commands/KeyCommandsTests.java
+++ b/redis/reactive/src/test/java/example/springdata/redis/commands/KeyCommandsTests.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/redis/reactive/src/test/java/example/springdata/redis/operations/JacksonJsonTests.java b/redis/reactive/src/test/java/example/springdata/redis/operations/JacksonJsonTests.java
index 752e79c5..8d10f6ef 100644
--- a/redis/reactive/src/test/java/example/springdata/redis/operations/JacksonJsonTests.java
+++ b/redis/reactive/src/test/java/example/springdata/redis/operations/JacksonJsonTests.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/redis/reactive/src/test/java/example/springdata/redis/operations/ListOperationsTests.java b/redis/reactive/src/test/java/example/springdata/redis/operations/ListOperationsTests.java
index 5390c9a4..dfe9a56e 100644
--- a/redis/reactive/src/test/java/example/springdata/redis/operations/ListOperationsTests.java
+++ b/redis/reactive/src/test/java/example/springdata/redis/operations/ListOperationsTests.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/redis/reactive/src/test/java/example/springdata/redis/operations/ValueOperationsTests.java b/redis/reactive/src/test/java/example/springdata/redis/operations/ValueOperationsTests.java
index 2492417b..d4370e47 100644
--- a/redis/reactive/src/test/java/example/springdata/redis/operations/ValueOperationsTests.java
+++ b/redis/reactive/src/test/java/example/springdata/redis/operations/ValueOperationsTests.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/redis/repositories/src/main/java/example/springdata/redis/repositories/Address.java b/redis/repositories/src/main/java/example/springdata/redis/repositories/Address.java
index 2abf502f..a2788ee4 100644
--- a/redis/repositories/src/main/java/example/springdata/redis/repositories/Address.java
+++ b/redis/repositories/src/main/java/example/springdata/redis/repositories/Address.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/redis/repositories/src/main/java/example/springdata/redis/repositories/ApplicationConfiguration.java b/redis/repositories/src/main/java/example/springdata/redis/repositories/ApplicationConfiguration.java
index 82ea0f53..3c95af87 100644
--- a/redis/repositories/src/main/java/example/springdata/redis/repositories/ApplicationConfiguration.java
+++ b/redis/repositories/src/main/java/example/springdata/redis/repositories/ApplicationConfiguration.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/redis/repositories/src/main/java/example/springdata/redis/repositories/Gender.java b/redis/repositories/src/main/java/example/springdata/redis/repositories/Gender.java
index 5c777886..18c60761 100644
--- a/redis/repositories/src/main/java/example/springdata/redis/repositories/Gender.java
+++ b/redis/repositories/src/main/java/example/springdata/redis/repositories/Gender.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/redis/repositories/src/main/java/example/springdata/redis/repositories/Person.java b/redis/repositories/src/main/java/example/springdata/redis/repositories/Person.java
index fef88727..69bc5071 100644
--- a/redis/repositories/src/main/java/example/springdata/redis/repositories/Person.java
+++ b/redis/repositories/src/main/java/example/springdata/redis/repositories/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.
@@ -31,7 +31,7 @@ import org.springframework.data.redis.core.index.Indexed;
  * {@link Person} object stored inside a Redis {@literal HASH}. 
*
* Sample (key = persons:9b0ed8ee-14be-46ec-b5fa-79570aadb91d): - * + * *
  * 
  * _class := example.springdata.redis.domain.Person
@@ -49,7 +49,7 @@ import org.springframework.data.redis.core.index.Indexed;
  * children.[5] := persons:9c2461aa-2ef2-469f-83a2-bd216df8357f
  * 
  * 
- * + * * @author Christoph Strobl */ @Data @@ -61,14 +61,14 @@ class Person { /** * The {@literal id} and {@link RedisHash#toString()} build up the {@literal key} for the Redis {@literal HASH}. *
- * + * *
 	 * 
 	 * {@link RedisHash#value()} + ":" + {@link Person#id}
 	 * //eg. persons:9b0ed8ee-14be-46ec-b5fa-79570aadb91d
 	 * 
 	 * 
- * + * * Note: empty {@literal id} fields are automatically assigned during save operation. */ private @Id String id; @@ -76,7 +76,7 @@ class Person { /** * Using {@link Indexed} marks the property as for indexing which uses Redis {@literal SET} to keep track of * {@literal ids} for objects with matching values.
- * + * *
 	 * 
 	 * {@link RedisHash#value()} + ":" + {@link Field#getName()} +":" + {@link Field#get(Object)}
@@ -98,7 +98,7 @@ class Person {
 	/**
 	 * Using {@link Reference} allows to link to existing objects via their {@literal key}. The values stored in the
 	 * objects {@literal HASH} looks like:
-	 * 
+	 *
 	 * 
 	 * 
 	 * children.[0] := persons:41436096-aabe-42fa-bd5a-9a517fbf0260
diff --git a/redis/repositories/src/main/java/example/springdata/redis/repositories/PersonRepository.java b/redis/repositories/src/main/java/example/springdata/redis/repositories/PersonRepository.java
index 15b4b479..cfcbf1b5 100644
--- a/redis/repositories/src/main/java/example/springdata/redis/repositories/PersonRepository.java
+++ b/redis/repositories/src/main/java/example/springdata/redis/repositories/PersonRepository.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/redis/repositories/src/test/java/example/springdata/redis/repositories/PersonRepositoryTests.java b/redis/repositories/src/test/java/example/springdata/redis/repositories/PersonRepositoryTests.java
index 36b22ec0..275d7ba9 100644
--- a/redis/repositories/src/test/java/example/springdata/redis/repositories/PersonRepositoryTests.java
+++ b/redis/repositories/src/test/java/example/springdata/redis/repositories/PersonRepositoryTests.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/redis/sentinel/src/main/java/example/springdata/redis/sentinel/RedisSentinelApplication.java b/redis/sentinel/src/main/java/example/springdata/redis/sentinel/RedisSentinelApplication.java
index bcc9af91..24f19a89 100644
--- a/redis/sentinel/src/main/java/example/springdata/redis/sentinel/RedisSentinelApplication.java
+++ b/redis/sentinel/src/main/java/example/springdata/redis/sentinel/RedisSentinelApplication.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/redis/util/src/main/java/example/springdata/redis/test/util/EmbeddedRedisServer.java b/redis/util/src/main/java/example/springdata/redis/test/util/EmbeddedRedisServer.java
index 8720ec05..af58d947 100644
--- a/redis/util/src/main/java/example/springdata/redis/test/util/EmbeddedRedisServer.java
+++ b/redis/util/src/main/java/example/springdata/redis/test/util/EmbeddedRedisServer.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.
@@ -23,7 +23,7 @@ import redis.embedded.RedisServer;
 
 /**
  * JUnit rule implementation to start and shut down an embedded Redis instance.
- * 
+ *
  * @author Christoph Strobl
  * @author Oliver Gierke
  */
diff --git a/redis/util/src/main/java/example/springdata/redis/test/util/ManagedClientResources.java b/redis/util/src/main/java/example/springdata/redis/test/util/ManagedClientResources.java
index ac035978..00fead53 100644
--- a/redis/util/src/main/java/example/springdata/redis/test/util/ManagedClientResources.java
+++ b/redis/util/src/main/java/example/springdata/redis/test/util/ManagedClientResources.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/redis/util/src/main/java/example/springdata/redis/test/util/RequiresRedisSentinel.java b/redis/util/src/main/java/example/springdata/redis/test/util/RequiresRedisSentinel.java
index 36fa8ffc..da0d124c 100644
--- a/redis/util/src/main/java/example/springdata/redis/test/util/RequiresRedisSentinel.java
+++ b/redis/util/src/main/java/example/springdata/redis/test/util/RequiresRedisSentinel.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/redis/util/src/main/java/example/springdata/redis/test/util/RequiresRedisServer.java b/redis/util/src/main/java/example/springdata/redis/test/util/RequiresRedisServer.java
index 75a01672..43e0eece 100644
--- a/redis/util/src/main/java/example/springdata/redis/test/util/RequiresRedisServer.java
+++ b/redis/util/src/main/java/example/springdata/redis/test/util/RequiresRedisServer.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/rest/headers/src/main/java/example/springdata/rest/headers/Address.java b/rest/headers/src/main/java/example/springdata/rest/headers/Address.java
index 9f63b944..5395f140 100644
--- a/rest/headers/src/main/java/example/springdata/rest/headers/Address.java
+++ b/rest/headers/src/main/java/example/springdata/rest/headers/Address.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/rest/headers/src/main/java/example/springdata/rest/headers/Application.java b/rest/headers/src/main/java/example/springdata/rest/headers/Application.java
index 9f0bebbf..d31e5002 100644
--- a/rest/headers/src/main/java/example/springdata/rest/headers/Application.java
+++ b/rest/headers/src/main/java/example/springdata/rest/headers/Application.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/rest/headers/src/main/java/example/springdata/rest/headers/Customer.java b/rest/headers/src/main/java/example/springdata/rest/headers/Customer.java
index c0a1b89e..b7e1591d 100644
--- a/rest/headers/src/main/java/example/springdata/rest/headers/Customer.java
+++ b/rest/headers/src/main/java/example/springdata/rest/headers/Customer.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.
@@ -35,7 +35,7 @@ import com.fasterxml.jackson.annotation.JsonIgnore;
 
 /**
  * Aggregate root representing a customer.
- * 
+ *
  * @author Oliver Gierke
  * @soundtrack The Intersphere - Out of phase (Live at Alte Feuerwache Mannheim)
  */
diff --git a/rest/headers/src/main/java/example/springdata/rest/headers/CustomerRepository.java b/rest/headers/src/main/java/example/springdata/rest/headers/CustomerRepository.java
index af909575..23ace40b 100644
--- a/rest/headers/src/main/java/example/springdata/rest/headers/CustomerRepository.java
+++ b/rest/headers/src/main/java/example/springdata/rest/headers/CustomerRepository.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/rest/headers/src/test/java/example/springdata/rest/headers/ApplicationIntegrationTests.java b/rest/headers/src/test/java/example/springdata/rest/headers/ApplicationIntegrationTests.java
index 73973f94..3e298a8c 100644
--- a/rest/headers/src/test/java/example/springdata/rest/headers/ApplicationIntegrationTests.java
+++ b/rest/headers/src/test/java/example/springdata/rest/headers/ApplicationIntegrationTests.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.
@@ -26,7 +26,7 @@ import org.springframework.test.context.junit4.SpringRunner;
 
 /**
  * Integration tests to bootstrap the application.
- * 
+ *
  * @author Oliver Gierke
  * @soundtrack The Intersphere - Out of phase (Live at Alte Feuerwache Mannheim)
  */
diff --git a/rest/headers/src/test/java/example/springdata/rest/headers/CrossOriginIntegrationTests.java b/rest/headers/src/test/java/example/springdata/rest/headers/CrossOriginIntegrationTests.java
index c66075ee..e8c9e684 100644
--- a/rest/headers/src/test/java/example/springdata/rest/headers/CrossOriginIntegrationTests.java
+++ b/rest/headers/src/test/java/example/springdata/rest/headers/CrossOriginIntegrationTests.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/rest/headers/src/test/java/example/springdata/rest/headers/WebIntegrationTests.java b/rest/headers/src/test/java/example/springdata/rest/headers/WebIntegrationTests.java
index 9bf2e09a..55bed37f 100644
--- a/rest/headers/src/test/java/example/springdata/rest/headers/WebIntegrationTests.java
+++ b/rest/headers/src/test/java/example/springdata/rest/headers/WebIntegrationTests.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/rest/multi-store/src/main/java/example/springdata/multistore/Application.java b/rest/multi-store/src/main/java/example/springdata/multistore/Application.java
index cce60e87..ae9cd6e2 100644
--- a/rest/multi-store/src/main/java/example/springdata/multistore/Application.java
+++ b/rest/multi-store/src/main/java/example/springdata/multistore/Application.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.
diff --git a/rest/multi-store/src/main/java/example/springdata/multistore/person/Person.java b/rest/multi-store/src/main/java/example/springdata/multistore/person/Person.java
index 8f77997d..a4e18c80 100644
--- a/rest/multi-store/src/main/java/example/springdata/multistore/person/Person.java
+++ b/rest/multi-store/src/main/java/example/springdata/multistore/person/Person.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/rest/multi-store/src/main/java/example/springdata/multistore/person/PersonRepository.java b/rest/multi-store/src/main/java/example/springdata/multistore/person/PersonRepository.java
index dad7d727..4e846be2 100644
--- a/rest/multi-store/src/main/java/example/springdata/multistore/person/PersonRepository.java
+++ b/rest/multi-store/src/main/java/example/springdata/multistore/person/PersonRepository.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.repository.CrudRepository;
 
 /**
  * A repository to manage {@link Person} instances.
- * 
+ *
  * @author Greg Turnquist
  * @author Oliver Gierke
  */
diff --git a/rest/multi-store/src/main/java/example/springdata/multistore/treasure/Treasure.java b/rest/multi-store/src/main/java/example/springdata/multistore/treasure/Treasure.java
index 6c73b759..9a043f56 100644
--- a/rest/multi-store/src/main/java/example/springdata/multistore/treasure/Treasure.java
+++ b/rest/multi-store/src/main/java/example/springdata/multistore/treasure/Treasure.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.data.mongodb.core.mapping.Document;
 
 /**
  * A treasure.
- * 
+ *
  * @author Greg Turnquist
  * @author Oliver Gierke
  */
diff --git a/rest/multi-store/src/main/java/example/springdata/multistore/treasure/TreasureRepository.java b/rest/multi-store/src/main/java/example/springdata/multistore/treasure/TreasureRepository.java
index 610ac092..afba1976 100644
--- a/rest/multi-store/src/main/java/example/springdata/multistore/treasure/TreasureRepository.java
+++ b/rest/multi-store/src/main/java/example/springdata/multistore/treasure/TreasureRepository.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/rest/multi-store/src/test/java/example/springdata/multistore/ApplicationIntegrationTests.java b/rest/multi-store/src/test/java/example/springdata/multistore/ApplicationIntegrationTests.java
index 121c3593..8119f932 100644
--- a/rest/multi-store/src/test/java/example/springdata/multistore/ApplicationIntegrationTests.java
+++ b/rest/multi-store/src/test/java/example/springdata/multistore/ApplicationIntegrationTests.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.
@@ -29,7 +29,7 @@ import org.springframework.test.context.junit4.SpringRunner;
 
 /**
  * Integration test to show the usage of repositories backed by different stores.
- * 
+ *
  * @author Oliver Gierke
  */
 @Slf4j
diff --git a/rest/projections/src/main/java/example/springdata/rest/projections/Address.java b/rest/projections/src/main/java/example/springdata/rest/projections/Address.java
index 916b4f51..d0e116a6 100644
--- a/rest/projections/src/main/java/example/springdata/rest/projections/Address.java
+++ b/rest/projections/src/main/java/example/springdata/rest/projections/Address.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/rest/projections/src/main/java/example/springdata/rest/projections/Application.java b/rest/projections/src/main/java/example/springdata/rest/projections/Application.java
index d2f85585..3971e9d1 100644
--- a/rest/projections/src/main/java/example/springdata/rest/projections/Application.java
+++ b/rest/projections/src/main/java/example/springdata/rest/projections/Application.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/rest/projections/src/main/java/example/springdata/rest/projections/Customer.java b/rest/projections/src/main/java/example/springdata/rest/projections/Customer.java
index 1b7315e7..9a52cf76 100644
--- a/rest/projections/src/main/java/example/springdata/rest/projections/Customer.java
+++ b/rest/projections/src/main/java/example/springdata/rest/projections/Customer.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.
@@ -45,7 +45,7 @@ public class Customer {
 		this.address = null;
 		this.gender = null;
 	}
-	
+
 	static enum Gender {
 		MALE, FEMALE;
 	}
diff --git a/rest/projections/src/main/java/example/springdata/rest/projections/CustomerExcerpt.java b/rest/projections/src/main/java/example/springdata/rest/projections/CustomerExcerpt.java
index 9ac0ba76..9005454d 100644
--- a/rest/projections/src/main/java/example/springdata/rest/projections/CustomerExcerpt.java
+++ b/rest/projections/src/main/java/example/springdata/rest/projections/CustomerExcerpt.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/rest/projections/src/main/java/example/springdata/rest/projections/CustomerRepository.java b/rest/projections/src/main/java/example/springdata/rest/projections/CustomerRepository.java
index 9276d45c..014fad39 100644
--- a/rest/projections/src/main/java/example/springdata/rest/projections/CustomerRepository.java
+++ b/rest/projections/src/main/java/example/springdata/rest/projections/CustomerRepository.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/rest/projections/src/main/java/example/springdata/rest/projections/LineItem.java b/rest/projections/src/main/java/example/springdata/rest/projections/LineItem.java
index f83bea21..dc1ada57 100644
--- a/rest/projections/src/main/java/example/springdata/rest/projections/LineItem.java
+++ b/rest/projections/src/main/java/example/springdata/rest/projections/LineItem.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/rest/projections/src/main/java/example/springdata/rest/projections/Order.java b/rest/projections/src/main/java/example/springdata/rest/projections/Order.java
index 8f3ac27e..05e86a29 100644
--- a/rest/projections/src/main/java/example/springdata/rest/projections/Order.java
+++ b/rest/projections/src/main/java/example/springdata/rest/projections/Order.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/rest/projections/src/main/java/example/springdata/rest/projections/OrderRepository.java b/rest/projections/src/main/java/example/springdata/rest/projections/OrderRepository.java
index 1e5fa6a7..79176ee5 100644
--- a/rest/projections/src/main/java/example/springdata/rest/projections/OrderRepository.java
+++ b/rest/projections/src/main/java/example/springdata/rest/projections/OrderRepository.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/rest/projections/src/test/java/example/springdata/rest/projections/ApplicationIntegrationTests.java b/rest/projections/src/test/java/example/springdata/rest/projections/ApplicationIntegrationTests.java
index 7307d9ee..70703449 100644
--- a/rest/projections/src/test/java/example/springdata/rest/projections/ApplicationIntegrationTests.java
+++ b/rest/projections/src/test/java/example/springdata/rest/projections/ApplicationIntegrationTests.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.test.context.junit4.SpringRunner;
 
 /**
  * Integration tests to bootstrap the application.
- * 
+ *
  * @author Oliver Gierke
  */
 @RunWith(SpringRunner.class)
diff --git a/rest/projections/src/test/java/example/springdata/rest/projections/SimpleProjectionTests.java b/rest/projections/src/test/java/example/springdata/rest/projections/SimpleProjectionTests.java
index 8b29dc48..997fdb49 100644
--- a/rest/projections/src/test/java/example/springdata/rest/projections/SimpleProjectionTests.java
+++ b/rest/projections/src/test/java/example/springdata/rest/projections/SimpleProjectionTests.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.
@@ -28,7 +28,7 @@ import org.springframework.data.projection.SpelAwareProxyProjectionFactory;
 
 /**
  * Test cases showing the programatic use of a {@link ProjectionFactory}.
- * 
+ *
  * @author Oliver Gierke
  */
 public class SimpleProjectionTests {
diff --git a/rest/security/src/main/java/example/springdata/rest/security/Application.java b/rest/security/src/main/java/example/springdata/rest/security/Application.java
index be6ca1a7..50fdf413 100644
--- a/rest/security/src/main/java/example/springdata/rest/security/Application.java
+++ b/rest/security/src/main/java/example/springdata/rest/security/Application.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/rest/security/src/main/java/example/springdata/rest/security/Employee.java b/rest/security/src/main/java/example/springdata/rest/security/Employee.java
index 0b374fd0..6ffe4fd2 100644
--- a/rest/security/src/main/java/example/springdata/rest/security/Employee.java
+++ b/rest/security/src/main/java/example/springdata/rest/security/Employee.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/rest/security/src/main/java/example/springdata/rest/security/EmployeeRepository.java b/rest/security/src/main/java/example/springdata/rest/security/EmployeeRepository.java
index dd5c6d50..e1a3108a 100644
--- a/rest/security/src/main/java/example/springdata/rest/security/EmployeeRepository.java
+++ b/rest/security/src/main/java/example/springdata/rest/security/EmployeeRepository.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/rest/security/src/main/java/example/springdata/rest/security/Item.java b/rest/security/src/main/java/example/springdata/rest/security/Item.java
index e7c36a57..7a1536da 100644
--- a/rest/security/src/main/java/example/springdata/rest/security/Item.java
+++ b/rest/security/src/main/java/example/springdata/rest/security/Item.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/rest/security/src/main/java/example/springdata/rest/security/ItemRepository.java b/rest/security/src/main/java/example/springdata/rest/security/ItemRepository.java
index cb4fdcd5..a16ec458 100644
--- a/rest/security/src/main/java/example/springdata/rest/security/ItemRepository.java
+++ b/rest/security/src/main/java/example/springdata/rest/security/ItemRepository.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/rest/security/src/main/java/example/springdata/rest/security/SecurityUtils.java b/rest/security/src/main/java/example/springdata/rest/security/SecurityUtils.java
index cd06ee95..4fc7615c 100644
--- a/rest/security/src/main/java/example/springdata/rest/security/SecurityUtils.java
+++ b/rest/security/src/main/java/example/springdata/rest/security/SecurityUtils.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 @@ class SecurityUtils {
 	/**
 	 * Configures the Spring Security {@link SecurityContext} to be authenticated as the user with the given username and
 	 * password as well as the given granted authorities.
-	 * 
+	 *
 	 * @param username must not be {@literal null} or empty.
 	 * @param password must not be {@literal null} or empty.
 	 * @param roles
diff --git a/rest/security/src/test/java/example/springdata/rest/security/MethodLevelSecurityTests.java b/rest/security/src/test/java/example/springdata/rest/security/MethodLevelSecurityTests.java
index 58566321..6b819a29 100644
--- a/rest/security/src/test/java/example/springdata/rest/security/MethodLevelSecurityTests.java
+++ b/rest/security/src/test/java/example/springdata/rest/security/MethodLevelSecurityTests.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/rest/security/src/test/java/example/springdata/rest/security/UrlLevelSecurityTests.java b/rest/security/src/test/java/example/springdata/rest/security/UrlLevelSecurityTests.java
index f1633d95..feece5c1 100644
--- a/rest/security/src/test/java/example/springdata/rest/security/UrlLevelSecurityTests.java
+++ b/rest/security/src/test/java/example/springdata/rest/security/UrlLevelSecurityTests.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/rest/starbucks/src/main/java/example/springdata/rest/stores/Application.java b/rest/starbucks/src/main/java/example/springdata/rest/stores/Application.java
index 3b4471c6..ba8b9c48 100644
--- a/rest/starbucks/src/main/java/example/springdata/rest/stores/Application.java
+++ b/rest/starbucks/src/main/java/example/springdata/rest/stores/Application.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.
@@ -20,7 +20,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
 
 /**
  * Spring configuration class main application bootstrap point.
- * 
+ *
  * @author Oliver Gierke
  */
 @SpringBootApplication
diff --git a/rest/starbucks/src/main/java/example/springdata/rest/stores/Store.java b/rest/starbucks/src/main/java/example/springdata/rest/stores/Store.java
index e8860562..d1a79469 100644
--- a/rest/starbucks/src/main/java/example/springdata/rest/stores/Store.java
+++ b/rest/starbucks/src/main/java/example/springdata/rest/stores/Store.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.data.mongodb.core.mapping.Document;
 
 /**
  * Entity to represent a {@link Store}.
- * 
+ *
  * @author Oliver Gierke
  */
 @Value
@@ -41,7 +41,7 @@ public class Store {
 
 	/**
 	 * Value object to represent an {@link Address}.
-	 * 
+	 *
 	 * @author Oliver Gierke
 	 */
 	@Value
diff --git a/rest/starbucks/src/main/java/example/springdata/rest/stores/StoreInitializer.java b/rest/starbucks/src/main/java/example/springdata/rest/stores/StoreInitializer.java
index 925364b6..d573ba9e 100644
--- a/rest/starbucks/src/main/java/example/springdata/rest/stores/StoreInitializer.java
+++ b/rest/starbucks/src/main/java/example/springdata/rest/stores/StoreInitializer.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.
@@ -35,7 +35,7 @@ import org.springframework.stereotype.Component;
 
 /**
  * Component initializing a hand full of Starbucks stores and persisting them through a {@link StoreRepository}.
- * 
+ *
  * @author Oliver Gierke
  */
 @Slf4j
@@ -58,7 +58,7 @@ public class StoreInitializer {
 	/**
 	 * Reads a file {@code starbucks.csv} from the class path and parses it into {@link Store} instances about to
 	 * persisted.
-	 * 
+	 *
 	 * @return
 	 * @throws Exception
 	 */
diff --git a/rest/starbucks/src/main/java/example/springdata/rest/stores/StoreRepository.java b/rest/starbucks/src/main/java/example/springdata/rest/stores/StoreRepository.java
index e71ec35f..b09ce233 100644
--- a/rest/starbucks/src/main/java/example/springdata/rest/stores/StoreRepository.java
+++ b/rest/starbucks/src/main/java/example/springdata/rest/stores/StoreRepository.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 com.querydsl.core.types.dsl.StringPath;
 /**
  * Repository interface for out-of-the-box paginating access to {@link Store}s and a query method to find stores by
  * location and distance.
- * 
+ *
  * @author Oliver Gierke
  */
 public interface StoreRepository extends PagingAndSortingRepository, QuerydslPredicateExecutor {
@@ -41,7 +41,7 @@ public interface StoreRepository extends PagingAndSortingRepository
 
 	/**
 	 * Tweak the Querydsl binding if collection resources are filtered.
-	 * 
+	 *
 	 * @see org.springframework.data.web.querydsl.QuerydslBinderCustomizer#customize(org.springframework.data.web.querydsl.QuerydslBindings,
 	 *      com.mysema.query.types.EntityPath)
 	 */
diff --git a/rest/starbucks/src/main/java/example/springdata/rest/stores/web/StoresController.java b/rest/starbucks/src/main/java/example/springdata/rest/stores/web/StoresController.java
index 6e552710..06c456f8 100644
--- a/rest/starbucks/src/main/java/example/springdata/rest/stores/web/StoresController.java
+++ b/rest/starbucks/src/main/java/example/springdata/rest/stores/web/StoresController.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.
@@ -42,7 +42,7 @@ import org.springframework.web.bind.annotation.RequestParam;
 
 /**
  * A Spring MVC controller to produce an HTML frontend.
- * 
+ *
  * @author Oliver Gierke
  */
 @Controller
@@ -69,7 +69,7 @@ class StoresController {
 
 	/**
 	 * Looks up the stores in the given distance around the given location.
-	 * 
+	 *
 	 * @param model the {@link Model} to populate.
 	 * @param location the optional location, if none is given, no search results will be returned.
 	 * @param distance the distance to use, if none is given the {@link #DEFAULT_DISTANCE} is used.
diff --git a/rest/starbucks/src/test/java/example/springdata/rest/stores/StarbucksClient.java b/rest/starbucks/src/test/java/example/springdata/rest/stores/StarbucksClient.java
index f75913e3..493608cd 100644
--- a/rest/starbucks/src/test/java/example/springdata/rest/stores/StarbucksClient.java
+++ b/rest/starbucks/src/test/java/example/springdata/rest/stores/StarbucksClient.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.
@@ -51,7 +51,7 @@ import org.springframework.web.client.RestTemplate;
 
 /**
  * A test case to discover the search resource and execute a predefined search with it.
- * 
+ *
  * @author Oliver Gierke
  */
 @RunWith(SpringRunner.class)
diff --git a/rest/starbucks/src/test/java/example/springdata/rest/stores/StoreRepositoryIntegrationTests.java b/rest/starbucks/src/test/java/example/springdata/rest/stores/StoreRepositoryIntegrationTests.java
index a189a63d..60539d48 100644
--- a/rest/starbucks/src/test/java/example/springdata/rest/stores/StoreRepositoryIntegrationTests.java
+++ b/rest/starbucks/src/test/java/example/springdata/rest/stores/StoreRepositoryIntegrationTests.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.
@@ -35,7 +35,7 @@ import org.springframework.test.context.junit4.SpringRunner;
 
 /**
  * Integration tests for {@link StoreRepository}.
- * 
+ *
  * @author Oliver Gierke
  */
 @RunWith(SpringRunner.class)
diff --git a/rest/uri-customization/src/main/java/example/springdata/rest/uris/Application.java b/rest/uri-customization/src/main/java/example/springdata/rest/uris/Application.java
index 75d79f2f..7271d543 100644
--- a/rest/uri-customization/src/main/java/example/springdata/rest/uris/Application.java
+++ b/rest/uri-customization/src/main/java/example/springdata/rest/uris/Application.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.
@@ -24,7 +24,7 @@ import org.springframework.data.map.repository.config.EnableMapRepositories;
 
 /**
  * Application class to bootstrap the app.
- * 
+ *
  * @author Oliver Gierke
  */
 @SpringBootApplication
diff --git a/rest/uri-customization/src/main/java/example/springdata/rest/uris/SpringDataRestCustomization.java b/rest/uri-customization/src/main/java/example/springdata/rest/uris/SpringDataRestCustomization.java
index f224b0b9..1d6eb486 100644
--- a/rest/uri-customization/src/main/java/example/springdata/rest/uris/SpringDataRestCustomization.java
+++ b/rest/uri-customization/src/main/java/example/springdata/rest/uris/SpringDataRestCustomization.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.
@@ -21,13 +21,13 @@ import org.springframework.stereotype.Component;
 
 /**
  * Spring Data {@link RepositoryRestConfiguration} to customize the identifier mapping for {@link User}s.
- * 
+ *
  * @author Oliver Gierke
  */
 @Component
 public class SpringDataRestCustomization extends RepositoryRestConfigurerAdapter {
 
-	/* 
+	/*
 	 * (non-Javadoc)
 	 * @see org.springframework.data.rest.webmvc.config.RepositoryRestConfigurerAdapter#configureRepositoryRestConfiguration(org.springframework.data.rest.core.config.RepositoryRestConfiguration)
 	 */
diff --git a/rest/uri-customization/src/main/java/example/springdata/rest/uris/User.java b/rest/uri-customization/src/main/java/example/springdata/rest/uris/User.java
index 9c8c3d63..ed00da4b 100644
--- a/rest/uri-customization/src/main/java/example/springdata/rest/uris/User.java
+++ b/rest/uri-customization/src/main/java/example/springdata/rest/uris/User.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.data.annotation.Id;
 
 /**
  * A {@link User}.
- * 
+ *
  * @author Oliver Gierke
  */
 @Value
diff --git a/rest/uri-customization/src/main/java/example/springdata/rest/uris/UserEntityLookup.java b/rest/uri-customization/src/main/java/example/springdata/rest/uris/UserEntityLookup.java
index 59842123..9410e7db 100644
--- a/rest/uri-customization/src/main/java/example/springdata/rest/uris/UserEntityLookup.java
+++ b/rest/uri-customization/src/main/java/example/springdata/rest/uris/UserEntityLookup.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.
@@ -28,7 +28,7 @@ import org.springframework.data.rest.core.support.EntityLookupSupport;
  * property of the {@link User}. This one is not really used out of the box as it's not a Spring bean. It's just a
  * sample of how to deploy a customization in non-Java 8 environments which can't use the fluent API in use in
  * {@link SpringDataRestCustomization}.
- * 
+ *
  * @author Oliver Gierke
  * @see SpringDataRestCustomization#configureRepositoryRestConfiguration(org.springframework.data.rest.core.config.RepositoryRestConfiguration)
  */
@@ -37,7 +37,7 @@ public class UserEntityLookup extends EntityLookupSupport {
 
 	private final @NonNull UserRepository repository;
 
-	/* 
+	/*
 	 * (non-Javadoc)
 	 * @see org.springframework.data.rest.core.support.EntityLookup#getId(java.lang.Object)
 	 */
@@ -46,7 +46,7 @@ public class UserEntityLookup extends EntityLookupSupport {
 		return entity.getUsername();
 	}
 
-	/* 
+	/*
 	 * (non-Javadoc)
 	 * @see org.springframework.data.rest.core.support.EntityLookup#lookupEntity(java.lang.Object)
 	 */
diff --git a/rest/uri-customization/src/main/java/example/springdata/rest/uris/UserRepository.java b/rest/uri-customization/src/main/java/example/springdata/rest/uris/UserRepository.java
index 75e0da8d..ca892fd1 100644
--- a/rest/uri-customization/src/main/java/example/springdata/rest/uris/UserRepository.java
+++ b/rest/uri-customization/src/main/java/example/springdata/rest/uris/UserRepository.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,14 +22,14 @@ import org.springframework.data.repository.CrudRepository;
 
 /**
  * Repository to manage {@link User} instances.
- * 
+ *
  * @author Oliver Gierke
  */
 public interface UserRepository extends CrudRepository {
 
 	/**
 	 * Looks up a unique {@link User} by its user name.
-	 * 
+	 *
 	 * @param username
 	 * @return
 	 */
diff --git a/rest/uri-customization/src/test/java/example/springdata/rest/uris/WebIntegrationTests.java b/rest/uri-customization/src/test/java/example/springdata/rest/uris/WebIntegrationTests.java
index 01c75e9e..91a0e71d 100644
--- a/rest/uri-customization/src/test/java/example/springdata/rest/uris/WebIntegrationTests.java
+++ b/rest/uri-customization/src/test/java/example/springdata/rest/uris/WebIntegrationTests.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/solr/example/src/main/java/example/springdata/solr/product/Product.java b/solr/example/src/main/java/example/springdata/solr/product/Product.java
index 3f1bba03..cc22ea1a 100644
--- a/solr/example/src/main/java/example/springdata/solr/product/Product.java
+++ b/solr/example/src/main/java/example/springdata/solr/product/Product.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 org.springframework.data.solr.repository.Score;
 /**
  * Document representing a {@link Product} and its attributes matching the fields defined in the example solr schema.
- * 
+ *
  * @author Christoph Strobl
  * @author Oliver Gierke
  */
diff --git a/solr/example/src/main/java/example/springdata/solr/product/ProductRepository.java b/solr/example/src/main/java/example/springdata/solr/product/ProductRepository.java
index 13623592..e4a4d086 100644
--- a/solr/example/src/main/java/example/springdata/solr/product/ProductRepository.java
+++ b/solr/example/src/main/java/example/springdata/solr/product/ProductRepository.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.
@@ -26,14 +26,14 @@ import org.springframework.data.solr.repository.Query;
 
 /**
  * Repository definition for {@link Product}.
- * 
+ *
  * @author Christoph Strobl
  */
 public interface ProductRepository extends ProductRepositoryCustom, CrudRepository {
 
 	/**
 	 * Find documents with matching description, highlighting context within a 20 char range around the hit.
-	 * 
+	 *
 	 * @param description
 	 * @param page
 	 * @return
@@ -44,7 +44,7 @@ public interface ProductRepository extends ProductRepositoryCustom, CrudReposito
 	/**
 	 * Find the first 10 documents with a match in name or description. Boosting score for search hits in name by 2 sorts
 	 * documents by relevance.
-	 * 
+	 *
 	 * @param name
 	 * @param description
 	 * @return
diff --git a/solr/example/src/main/java/example/springdata/solr/product/ProductRepositoryCustom.java b/solr/example/src/main/java/example/springdata/solr/product/ProductRepositoryCustom.java
index 4b64dec3..f46b6a32 100644
--- a/solr/example/src/main/java/example/springdata/solr/product/ProductRepositoryCustom.java
+++ b/solr/example/src/main/java/example/springdata/solr/product/ProductRepositoryCustom.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 org.springframework.data.solr.core.query.result.Cursor;
 
 /**
  * Custom repository implementation to show special solr functions without {@link Repository} abstraction.
- * 
+ *
  * @author Christoph Strobl
  */
 interface ProductRepositoryCustom {
@@ -28,7 +28,7 @@ interface ProductRepositoryCustom {
 	/**
 	 * Use a {@link Cursor} to scroll through documents in index. 
* NOTE: Requires at least Solr 4.7. - * + * * @return */ Cursor findAllUsingCursor(); diff --git a/solr/example/src/main/java/example/springdata/solr/product/ProductRepositoryImpl.java b/solr/example/src/main/java/example/springdata/solr/product/ProductRepositoryImpl.java index 2728cf56..b55d8f04 100644 --- a/solr/example/src/main/java/example/springdata/solr/product/ProductRepositoryImpl.java +++ b/solr/example/src/main/java/example/springdata/solr/product/ProductRepositoryImpl.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. @@ -23,7 +23,7 @@ import org.springframework.data.solr.core.query.result.Cursor; /** * Implementation of {@link ProductRepositoryCustom}. - * + * * @author Christoph Strobl * @author Oliver Gierke */ diff --git a/solr/example/src/test/java/example/springdata/solr/AdvancedSolrRepositoryTests.java b/solr/example/src/test/java/example/springdata/solr/AdvancedSolrRepositoryTests.java index 1ad7ebf2..0a4ec5c2 100644 --- a/solr/example/src/test/java/example/springdata/solr/AdvancedSolrRepositoryTests.java +++ b/solr/example/src/test/java/example/springdata/solr/AdvancedSolrRepositoryTests.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/solr/example/src/test/java/example/springdata/solr/BasicSolrRepositoryTests.java b/solr/example/src/test/java/example/springdata/solr/BasicSolrRepositoryTests.java index 286e87c9..e06293b7 100644 --- a/solr/example/src/test/java/example/springdata/solr/BasicSolrRepositoryTests.java +++ b/solr/example/src/test/java/example/springdata/solr/BasicSolrRepositoryTests.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/solr/example/src/test/java/example/springdata/solr/SolrTestConfiguration.java b/solr/example/src/test/java/example/springdata/solr/SolrTestConfiguration.java index f36b7126..079c81a2 100644 --- a/solr/example/src/test/java/example/springdata/solr/SolrTestConfiguration.java +++ b/solr/example/src/test/java/example/springdata/solr/SolrTestConfiguration.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/solr/managed-schema/src/main/java/example/springdata/solr/product/ManagedProduct.java b/solr/managed-schema/src/main/java/example/springdata/solr/product/ManagedProduct.java index ec54ece7..59939d9c 100644 --- a/solr/managed-schema/src/main/java/example/springdata/solr/product/ManagedProduct.java +++ b/solr/managed-schema/src/main/java/example/springdata/solr/product/ManagedProduct.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. @@ -25,7 +25,7 @@ import org.springframework.data.solr.core.mapping.SolrDocument; /** * Document representing a Product and its attributes that are propagated to the solr schema on first save of entity. - * + * * @author Christoph Strobl */ @SolrDocument(solrCoreName = "gettingstarted") diff --git a/solr/managed-schema/src/main/java/example/springdata/solr/product/ProductRepository.java b/solr/managed-schema/src/main/java/example/springdata/solr/product/ProductRepository.java index 051a1161..4f4f17af 100644 --- a/solr/managed-schema/src/main/java/example/springdata/solr/product/ProductRepository.java +++ b/solr/managed-schema/src/main/java/example/springdata/solr/product/ProductRepository.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.repository.CrudRepository; /** * Repository definition for {@link ManagedProduct}. - * + * * @author Christoph Strobl */ public interface ProductRepository extends CrudRepository { diff --git a/solr/managed-schema/src/test/java/example/springdata/solr/SolrRepositoryTests.java b/solr/managed-schema/src/test/java/example/springdata/solr/SolrRepositoryTests.java index 2789fab1..f4ce8e79 100644 --- a/solr/managed-schema/src/test/java/example/springdata/solr/SolrRepositoryTests.java +++ b/solr/managed-schema/src/test/java/example/springdata/solr/SolrRepositoryTests.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/solr/managed-schema/src/test/java/example/springdata/solr/SolrTestConfiguration.java b/solr/managed-schema/src/test/java/example/springdata/solr/SolrTestConfiguration.java index af2e26c0..f7fd0396 100644 --- a/solr/managed-schema/src/test/java/example/springdata/solr/SolrTestConfiguration.java +++ b/solr/managed-schema/src/test/java/example/springdata/solr/SolrTestConfiguration.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. @@ -32,7 +32,7 @@ import org.springframework.data.solr.repository.config.EnableSolrRepositories; *
* NOTE: Requires solr to run in managed schema mode. Run Solr with * {@code ./bin/solr start -e schemaless}. - * + * * @author Christoph Strobl */ @SpringBootApplication diff --git a/solr/util/src/main/java/example/springdata/solr/test/util/RequiresSolrServer.java b/solr/util/src/main/java/example/springdata/solr/test/util/RequiresSolrServer.java index 5082e9d8..ee36bfd2 100644 --- a/solr/util/src/main/java/example/springdata/solr/test/util/RequiresSolrServer.java +++ b/solr/util/src/main/java/example/springdata/solr/test/util/RequiresSolrServer.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.junit.runners.model.Statement; /** * {@link TestRule} implementation using {@link CloseableHttpClient} to check if Solr is running by sending * {@literal GET} request to {@literal /admin/info/system}. - * + * * @author Christoph Strobl */ public class RequiresSolrServer implements TestRule { diff --git a/web/example/src/main/java/example/users/Password.java b/web/example/src/main/java/example/users/Password.java index f2fb6ead..00328699 100644 --- a/web/example/src/main/java/example/users/Password.java +++ b/web/example/src/main/java/example/users/Password.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 lombok.experimental.Delegate; * A value object to represent {@link Password}s in encrypted and unencrypted state. Note how the methods to create a * {@link Password} in encrypted state are restricted to package scope so that only the user subsystem is actually able * to encrypted passwords. - * + * * @author Oliver Gierke */ @EqualsAndHashCode @@ -46,7 +46,7 @@ public class Password implements CharSequence { /** * Creates a new raw {@link Password} for the given source {@link String}. - * + * * @param password must not be {@literal null} or empty. * @return */ @@ -58,7 +58,7 @@ public class Password implements CharSequence { * Creates a new encrypted {@link Password} for the given {@link String}. Note how this method is package protected so * that encrypted passwords can only created by components in this package and not accidentally by clients using the * type from other packages. - * + * * @param password must not be {@literal null} or empty. * @return */ diff --git a/web/example/src/main/java/example/users/User.java b/web/example/src/main/java/example/users/User.java index 37a251a1..64d58873 100644 --- a/web/example/src/main/java/example/users/User.java +++ b/web/example/src/main/java/example/users/User.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. @@ -30,7 +30,7 @@ import lombok.RequiredArgsConstructor; /** * A {@link User} domain object. The primary entity of this example. Basically a combination of a {@link Username} and * {@link Password}. - * + * * @author Oliver Gierke */ @Entity diff --git a/web/example/src/main/java/example/users/UserManagement.java b/web/example/src/main/java/example/users/UserManagement.java index 2c8c7490..c2710307 100644 --- a/web/example/src/main/java/example/users/UserManagement.java +++ b/web/example/src/main/java/example/users/UserManagement.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. @@ -30,7 +30,7 @@ import org.springframework.util.Assert; /** * Domain service to register {@link User}s in the system. - * + * * @author Oliver Gierke */ @Transactional @@ -43,7 +43,7 @@ public class UserManagement { /** * Registers a {@link User} with the given {@link Username} and {@link Password}. - * + * * @param username must not be {@literal null}. * @param password must not be {@literal null}. * @return @@ -64,7 +64,7 @@ public class UserManagement { /** * Returns a {@link Page} of {@link User} for the given {@link Pageable}. - * + * * @param pageable must not be {@literal null}. * @return */ @@ -77,7 +77,7 @@ public class UserManagement { /** * Returns the {@link User} with the given {@link Username}. - * + * * @param username must not be {@literal null}. * @return */ diff --git a/web/example/src/main/java/example/users/UserRepository.java b/web/example/src/main/java/example/users/UserRepository.java index 00ca1194..7b227716 100644 --- a/web/example/src/main/java/example/users/UserRepository.java +++ b/web/example/src/main/java/example/users/UserRepository.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. @@ -21,14 +21,14 @@ import org.springframework.data.repository.PagingAndSortingRepository; /** * A Spring Data repository to persist {@link User}s. - * + * * @author Oliver Gierke */ interface UserRepository extends PagingAndSortingRepository { /** * Returns the user with the given {@link Username}. - * + * * @param username can be {@literal null}. * @return */ diff --git a/web/example/src/main/java/example/users/Username.java b/web/example/src/main/java/example/users/Username.java index bb90f9ef..a5400410 100644 --- a/web/example/src/main/java/example/users/Username.java +++ b/web/example/src/main/java/example/users/Username.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.util.StringUtils; /** * value object to represent user names. - * + * * @author Oliver Gierke */ @EqualsAndHashCode @@ -38,7 +38,7 @@ public class Username { /** * Creates a new {@link Username}. - * + * * @param username must not be {@literal null} or empty. */ public Username(String username) { @@ -50,7 +50,7 @@ public class Username { this.username = username; } - /* + /* * (non-Javadoc) * @see java.lang.Object#toString() */ diff --git a/web/example/src/main/java/example/users/web/UserController.java b/web/example/src/main/java/example/users/web/UserController.java index d19acc8b..c8683655 100644 --- a/web/example/src/main/java/example/users/web/UserController.java +++ b/web/example/src/main/java/example/users/web/UserController.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. @@ -48,7 +48,7 @@ import example.users.Username; * {@link PageableHandlerMethodArgumentResolver}. *
  • Usage of proxy-backed interfaces to bind request parameters.
  • * - * + * * @author Oliver Gierke */ @Controller @@ -62,7 +62,7 @@ class UserController { * Equis the model with a {@link Page} of {@link User}s. Spring Data automatically populates the {@link Pageable} from * request data according to the setup of {@link PageableHandlerMethodArgumentResolver}. Note how the defaults can be * tweaked by using {@link PageableDefault}. - * + * * @param pageable will never be {@literal null}. * @return */ @@ -74,7 +74,7 @@ class UserController { /** * Registers a new {@link User} for the data provided by the given {@link UserForm}. Note, how an interface is used to * bind request parameters. - * + * * @param userForm the request data bound to the {@link UserForm} instance. * @param binding the result of the binding operation. * @param model the Spring MVC {@link Model}. @@ -100,7 +100,7 @@ class UserController { /** * Populates the {@link Model} with the {@link UserForm} automatically created by Spring Data web components. It will * create a {@link Map}-backed proxy for the interface. - * + * * @param model will never be {@literal null}. * @param userForm will never be {@literal null}. * @return @@ -128,7 +128,7 @@ class UserController { /** * Validates the {@link UserForm}. - * + * * @param errors * @param userManagement */ diff --git a/web/example/src/test/java/example/users/AbstractIntegrationTests.java b/web/example/src/test/java/example/users/AbstractIntegrationTests.java index e4e211e1..155fd9cb 100644 --- a/web/example/src/test/java/example/users/AbstractIntegrationTests.java +++ b/web/example/src/test/java/example/users/AbstractIntegrationTests.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. @@ -21,7 +21,7 @@ import org.springframework.test.context.junit4.SpringRunner; /** * Integration tests to bootstrap the application. - * + * * @author Oliver Gierke */ @RunWith(SpringRunner.class) diff --git a/web/example/src/test/java/example/users/UserManagementIntegrationTests.java b/web/example/src/test/java/example/users/UserManagementIntegrationTests.java index f28386ed..44c3c9a4 100644 --- a/web/example/src/test/java/example/users/UserManagementIntegrationTests.java +++ b/web/example/src/test/java/example/users/UserManagementIntegrationTests.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.beans.factory.annotation.Autowired; /** * Integration tests for {@link UserManagement}. - * + * * @author Oliver Gierke */ public class UserManagementIntegrationTests extends AbstractIntegrationTests { diff --git a/web/example/src/test/java/example/users/UserRepositoryIntegrationTests.java b/web/example/src/test/java/example/users/UserRepositoryIntegrationTests.java index 0777e864..dc98f620 100644 --- a/web/example/src/test/java/example/users/UserRepositoryIntegrationTests.java +++ b/web/example/src/test/java/example/users/UserRepositoryIntegrationTests.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. @@ -21,7 +21,7 @@ import org.springframework.dao.InvalidDataAccessApiUsageException; /** * Integration tests for {@link UserRepository}. - * + * * @author Oliver Gierke */ public class UserRepositoryIntegrationTests extends AbstractIntegrationTests { diff --git a/web/projection/src/main/java/example/users/Application.java b/web/projection/src/main/java/example/users/Application.java index 4a528f70..80e09f58 100644 --- a/web/projection/src/main/java/example/users/Application.java +++ b/web/projection/src/main/java/example/users/Application.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/web/projection/src/main/java/example/users/UserController.java b/web/projection/src/main/java/example/users/UserController.java index 08b67b6e..d240885c 100644 --- a/web/projection/src/main/java/example/users/UserController.java +++ b/web/projection/src/main/java/example/users/UserController.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. @@ -32,7 +32,7 @@ import org.xmlbeam.annotation.XBRead; /** * Controller to handle web requests for {@link UserPayload}s. - * + * * @author Oliver Gierke */ @RestController @@ -42,7 +42,7 @@ class UserController { /** * Receiving POST requests supporting both JSON and XML. - * + * * @param user * @return */ @@ -55,7 +55,7 @@ class UserController { /** * Returns a simple JSON payload. - * + * * @return */ @GetMapping(path = "/", produces = MediaType.APPLICATION_JSON_VALUE) @@ -70,7 +70,7 @@ class UserController { /** * Returns the payload of {@link #getJson()} wrapped into another element to simulate a change in the representation. - * + * * @return */ @GetMapping(path = "/changed", produces = MediaType.APPLICATION_JSON_VALUE) @@ -80,7 +80,7 @@ class UserController { /** * Returns a simple XML payload. - * + * * @return */ @GetMapping(path = "/", produces = MediaType.APPLICATION_XML_VALUE) @@ -91,7 +91,7 @@ class UserController { /** * Returns the payload of {@link #getXml()} wrapped into another XML element to simulate a change in the * representation structure. - * + * * @return */ @GetMapping(path = "/changed", produces = MediaType.APPLICATION_XML_VALUE) diff --git a/web/projection/src/test/java/example/users/UserControllerClientTests.java b/web/projection/src/test/java/example/users/UserControllerClientTests.java index 94e51064..9914a3af 100644 --- a/web/projection/src/test/java/example/users/UserControllerClientTests.java +++ b/web/projection/src/test/java/example/users/UserControllerClientTests.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. @@ -42,7 +42,7 @@ import org.springframework.test.context.junit4.SpringRunner; /** * Integration tests for {@link UserController} to demonstrate client-side resilience of the payload type against * changes in the representation. - * + * * @author Oliver Gierke */ @RunWith(SpringRunner.class) diff --git a/web/projection/src/test/java/example/users/UserControllerIntegrationTests.java b/web/projection/src/test/java/example/users/UserControllerIntegrationTests.java index f8dbc362..207ef961 100644 --- a/web/projection/src/test/java/example/users/UserControllerIntegrationTests.java +++ b/web/projection/src/test/java/example/users/UserControllerIntegrationTests.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. @@ -32,7 +32,7 @@ import org.springframework.test.web.servlet.ResultActions; /** * Integration tests for {@link UserController}. - * + * * @author Oliver Gierke */ @RunWith(SpringRunner.class) diff --git a/web/querydsl/src/main/java/example/users/Application.java b/web/querydsl/src/main/java/example/users/Application.java index 0c5ba164..e9245382 100644 --- a/web/querydsl/src/main/java/example/users/Application.java +++ b/web/querydsl/src/main/java/example/users/Application.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/web/querydsl/src/main/java/example/users/User.java b/web/querydsl/src/main/java/example/users/User.java index 84e21ecd..f5ac7919 100644 --- a/web/querydsl/src/main/java/example/users/User.java +++ b/web/querydsl/src/main/java/example/users/User.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/web/querydsl/src/main/java/example/users/UserInitializer.java b/web/querydsl/src/main/java/example/users/UserInitializer.java index 47a9bd32..d61d9093 100644 --- a/web/querydsl/src/main/java/example/users/UserInitializer.java +++ b/web/querydsl/src/main/java/example/users/UserInitializer.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. @@ -38,7 +38,7 @@ import org.springframework.util.StringUtils; /** * Initialize {@link UserRepository} with sample data. - * + * * @author Christoph Strobl * @author Oliver Gierke */ diff --git a/web/querydsl/src/main/java/example/users/UserRepository.java b/web/querydsl/src/main/java/example/users/UserRepository.java index 32b95bfb..57fae6d1 100644 --- a/web/querydsl/src/main/java/example/users/UserRepository.java +++ b/web/querydsl/src/main/java/example/users/UserRepository.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. @@ -26,7 +26,7 @@ import com.querydsl.core.types.dsl.StringPath; * Repository to manage {@link User}s. Also implements {@link QueryDslPredicateExecutor} to enable predicate filtering * on Spring MVC controllers as well as {@link QuerydslBinderCustomizer} to tweak the way predicates are created for * properties. - * + * * @author Christoph Strobl * @author Oliver Gierke */ diff --git a/web/querydsl/src/main/java/example/users/web/UserController.java b/web/querydsl/src/main/java/example/users/web/UserController.java index ea5aee2d..29937f03 100644 --- a/web/querydsl/src/main/java/example/users/web/UserController.java +++ b/web/querydsl/src/main/java/example/users/web/UserController.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. @@ -34,7 +34,7 @@ import com.querydsl.core.types.Predicate; /** * Controller to handle web requests for {@link User}s. - * + * * @author Christoph Strobl * @author Oliver Gierke */ diff --git a/web/querydsl/src/test/java/example/users/ApplicationTests.java b/web/querydsl/src/test/java/example/users/ApplicationTests.java index 1ab514f2..85c8c652 100644 --- a/web/querydsl/src/test/java/example/users/ApplicationTests.java +++ b/web/querydsl/src/test/java/example/users/ApplicationTests.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.