Commit d87287fe authored by Phillip Webb's avatar Phillip Webb

Polish

parent 5ab072be
......@@ -62,8 +62,9 @@ public class RestDocsAutoConfigurationAdvancedConfigurationIntegrationTests {
private RestDocumentationResultHandler document;
@Test
@Deprecated
public void snippetGeneration() throws Exception {
this.document.document(links(
this.document.snippets(links(
linkWithRel("self").description("Canonical location of this resource")));
this.mvc.perform(get("/"));
File defaultSnippetsDir = new File(
......
......@@ -39,7 +39,8 @@ import org.springframework.boot.web.servlet.ServletRegistrationBean;
* @see ServletContextInitializer
* @see ServletContext#addFilter(String, Filter)
* @see DelegatingFilterProxyRegistrationBean
* @deprecated as of 1.4 in favor of org.springframework.boot.web.FilterRegistrationBean
* @deprecated as of 1.4 in favor of
* org.springframework.boot.web.servlet.FilterRegistrationBean
*/
@Deprecated
public class FilterRegistrationBean
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment