Correct deprecated ErrorPage javadoc's reference to its replacement

Closes gh-6764
This commit is contained in:
Andy Wilkinson 2016-08-26 20:16:08 +01:00
parent 55f6fb94ef
commit cc53f8810a
1 changed files with 3 additions and 2 deletions

View File

@ -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 {