From cc53f8810addf624fb8ecca42421a8e05bc1044e Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Fri, 26 Aug 2016 20:16:08 +0100 Subject: [PATCH] Correct deprecated ErrorPage javadoc's reference to its replacement Closes gh-6764 --- .../org/springframework/boot/context/embedded/ErrorPage.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/spring-boot/src/main/java/org/springframework/boot/context/embedded/ErrorPage.java b/spring-boot/src/main/java/org/springframework/boot/context/embedded/ErrorPage.java index 9789c8cdf5a..bea3143e613 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/embedded/ErrorPage.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/embedded/ErrorPage.java @@ -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 } 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 {