Author: kkolinko Date: Tue Mar 4 10:08:12 2014 New Revision: 1574004 URL: http://svn.apache.org/r1574004 Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56010 Documentation part of the fix
The constants mentioned in JspFactory.getPageContext(..) belong to JspWriter. There are no such constants in PageContext. Javadoc in JavaEE 7 (as referenced in bug 56010) has been updated. Modified: tomcat/trunk/java/javax/servlet/jsp/JspFactory.java Modified: tomcat/trunk/java/javax/servlet/jsp/JspFactory.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/javax/servlet/jsp/JspFactory.java?rev=1574004&r1=1574003&r2=1574004&view=diff ============================================================================== --- tomcat/trunk/java/javax/servlet/jsp/JspFactory.java (original) +++ tomcat/trunk/java/javax/servlet/jsp/JspFactory.java Tue Mar 4 10:08:12 2014 @@ -102,9 +102,9 @@ public abstract class JspFactory { * @param errorPageURL the URL of the error page for the requesting JSP, or * null * @param needsSession true if the JSP participates in a session - * @param buffer size of buffer in bytes, PageContext.NO_BUFFER if no - * buffer, PageContext.DEFAULT_BUFFER if - * implementation default. + * @param buffer size of buffer in bytes, {@link JspWriter#NO_BUFFER} + * if no buffer, {@link JspWriter#DEFAULT_BUFFER} + * if implementation default. * @param autoflush should the buffer autoflush to the output stream on * buffer overflow, or throw an IOException? * --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org