Browse Source

Correct deprecated ErrorPage javadoc's reference to its replacement

Closes gh-6764
pull/6770/head
Andy Wilkinson 9 years ago
parent
commit
cc53f8810a
  1. 5
      spring-boot/src/main/java/org/springframework/boot/context/embedded/ErrorPage.java

5
spring-boot/src/main/java/org/springframework/boot/context/embedded/ErrorPage.java

@ -20,10 +20,11 @@ import org.springframework.http.HttpStatus; @@ -20,10 +20,11 @@ import org.springframework.http.HttpStatus;
/**
* Simple container-independent abstraction for servlet error pages. Roughly equivalent to
* the {@literal <error-page>} element traditionally found in web.xml.
* the {@literal <error-page>} element traditionally found in web.xml.
*
* @author Dave Syer
* @deprecated as of 1.4 in favor of org.springframework.boot.web.ErrorPage
* @deprecated as of 1.4 in favor of
* {@link org.springframework.boot.web.servlet.ErrorPage}
*/
@Deprecated
public class ErrorPage extends org.springframework.boot.web.servlet.ErrorPage {

Loading…
Cancel
Save