#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.
@@ -24,7 +24,7 @@ import org.springframework.data.map.repository.config.EnableMapRepositories;
/**
* Application class to bootstrap the app.
*
*
* @author Oliver Gierke
*/
@SpringBootApplication

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

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.
@@ -23,7 +23,7 @@ import org.springframework.data.annotation.Id;
/**
* A {@link User}.
*
*
* @author Oliver Gierke
*/
@Value

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.
@@ -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<User> {
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<User> {
return entity.getUsername();
}
/*
/*
* (non-Javadoc)
* @see org.springframework.data.rest.core.support.EntityLookup#lookupEntity(java.lang.Object)
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2015 the original author or authors.
* Copyright 2015-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -22,14 +22,14 @@ import org.springframework.data.repository.CrudRepository;
/**
* Repository to manage {@link User} instances.
*
*
* @author Oliver Gierke
*/
public interface UserRepository extends CrudRepository<User, UUID> {
/**
* Looks up a unique {@link User} by its user name.
*
*
* @param username
* @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.