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

View File

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

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2016 the original author or authors.
* Copyright 2016-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -32,7 +32,7 @@ import org.springframework.test.web.servlet.ResultActions;
/**
* Integration tests for {@link UserController}.
*
*
* @author Oliver Gierke
*/
@RunWith(SpringRunner.class)