Polishing

- Correct copyright years
- Add `@since` to javadoc of new public classes
- Make new classes final where appropriate
This commit is contained in:
Andy Wilkinson
2016-05-25 11:26:02 +01:00
parent 42353a0b5f
commit 0446c99a10
57 changed files with 71 additions and 46 deletions

View File

@@ -26,6 +26,7 @@ import org.springframework.restdocs.snippet.Snippet;
* Static factory methods for documenting RESTful APIs using REST Assured.
*
* @author Andy Wilkinson
* @since 1.1.0
*/
public abstract class RestAssuredRestDocumentation {

View File

@@ -33,6 +33,7 @@ import org.springframework.restdocs.config.RestDocumentationConfigurer;
* A REST Assured-specific {@link RestDocumentationConfigurer}.
*
* @author Andy Wilkinson
* @since 1.1.0
*/
public final class RestAssuredRestDocumentationConfigurer extends
RestDocumentationConfigurer<RestAssuredSnippetConfigurer, RestAssuredRestDocumentationConfigurer>

View File

@@ -29,6 +29,7 @@ import org.springframework.restdocs.config.SnippetConfigurer;
* using REST Assured.
*
* @author Andy Wilkinson
* @since 1.1.0
*/
public final class RestAssuredSnippetConfigurer extends
SnippetConfigurer<RestAssuredRestDocumentationConfigurer, RestAssuredSnippetConfigurer>

View File

@@ -34,6 +34,7 @@ import org.springframework.util.Assert;
* A REST Assured {@link Filter} for documenting RESTful APIs.
*
* @author Andy Wilkinson
* @since 1.1.0
*/
public class RestDocumentationFilter implements Filter {

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2014-2016 the original author 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,6 +28,7 @@ import org.springframework.restdocs.operation.OperationResponse;
* {@link OperationResponse response} before it is documented.
*
* @author Andy Wilkinson
* @since 1.1.0
*/
public abstract class RestAssuredPreprocessors {

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2014-2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -53,6 +53,7 @@ import org.springframework.web.util.UriComponentsBuilder;
* </ul>
*
* @author Andy Wilkinson
* @since 1.1.0
*/
public final class UriModifyingOperationPreprocessor implements OperationPreprocessor {

View File

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