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

@@ -50,7 +50,6 @@ import static org.springframework.restdocs.mockmvc.IterableEnumeration.iterable;
* {@link MockHttpServletRequest}.
*
* @author Andy Wilkinson
*
*/
class MockMvcRequestConverter implements RequestConverter<MockHttpServletRequest> {

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.
@@ -33,8 +33,9 @@ import org.springframework.web.context.WebApplicationContext;
* A MockMvc-specific {@link RestDocumentationConfigurer}.
*
* @author Andy Wilkinson
* @since 1.1.0
*/
public class MockMvcRestDocumentationConfigurer extends
public final class MockMvcRestDocumentationConfigurer extends
RestDocumentationConfigurer<MockMvcSnippetConfigurer, MockMvcRestDocumentationConfigurer>
implements MockMvcConfigurer {

View File

@@ -26,8 +26,9 @@ import org.springframework.web.context.WebApplicationContext;
* A configurer that can be used to configure the generated documentation snippets.
*
* @author Andy Wilkinson
* @since 1.1.0
*/
public class MockMvcSnippetConfigurer extends
public final class MockMvcSnippetConfigurer extends
SnippetConfigurer<MockMvcRestDocumentationConfigurer, MockMvcSnippetConfigurer>
implements MockMvcConfigurer {