#342 - Expanded copyright headers to 2018.

Removed trailing whitespace in touched files.
This commit is contained in:
Oliver Gierke
2018-02-22 11:42:36 +01:00
parent 20c910183e
commit d854c6d084
351 changed files with 654 additions and 654 deletions

View File

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

View File

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

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2015 the original author or authors.
* Copyright 2015-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -30,7 +30,7 @@ import lombok.Value;
/**
* Simple domain class representing a {@link Customer}.
*
*
* @author Oliver Gierke
*/
@Entity

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2015 the original author or authors.
* Copyright 2015-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -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<Order, Long> {
/**
* Returns all {@link Order}s for the {@link Customer} with the given identifier.
*
*
* @param id must not be {@literal null}.
* @return
*/

View File

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

View File

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