Fix compiler warnings

This commit is contained in:
Andy Wilkinson
2016-04-04 13:26:41 +01:00
parent 83e8b92c3b
commit feb2f352f6
22 changed files with 77 additions and 47 deletions

View File

@@ -16,7 +16,6 @@
package org.springframework.restdocs.mockmvc;
import org.springframework.restdocs.RestDocumentation;
import org.springframework.restdocs.RestDocumentationContextProvider;
import org.springframework.restdocs.generate.RestDocumentationGenerator;
import org.springframework.restdocs.operation.preprocess.OperationRequestPreprocessor;
@@ -32,7 +31,6 @@ import org.springframework.test.web.servlet.setup.MockMvcConfigurer;
*
* @author Andy Wilkinson
*/
@SuppressWarnings("deprecation")
public abstract class MockMvcRestDocumentation {
private static final MockMvcRequestConverter REQUEST_CONVERTER = new MockMvcRequestConverter();
@@ -55,7 +53,7 @@ public abstract class MockMvcRestDocumentation {
*/
@Deprecated
public static MockMvcRestDocumentationConfigurer documentationConfiguration(
RestDocumentation restDocumentation) {
org.springframework.restdocs.RestDocumentation restDocumentation) {
return documentationConfiguration(
(RestDocumentationContextProvider) restDocumentation);
}