Polishing
- Correct copyright years - Add `@since` to javadoc of new public classes - Make new classes final where appropriate
This commit is contained in:
@@ -50,7 +50,6 @@ import static org.springframework.restdocs.mockmvc.IterableEnumeration.iterable;
|
||||
* {@link MockHttpServletRequest}.
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
*
|
||||
*/
|
||||
class MockMvcRequestConverter implements RequestConverter<MockHttpServletRequest> {
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user