Author: markt Date: Mon Feb 27 16:29:00 2017 New Revision: 1784594 URL: http://svn.apache.org/viewvc?rev=1784594&view=rev Log: No functional change. Modify order to reduce diff when using javap to compare Tomcat's API implementation with the reference implementation.
Modified: tomcat/trunk/java/javax/servlet/RequestDispatcher.java Modified: tomcat/trunk/java/javax/servlet/RequestDispatcher.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/javax/servlet/RequestDispatcher.java?rev=1784594&r1=1784593&r2=1784594&view=diff ============================================================================== --- tomcat/trunk/java/javax/servlet/RequestDispatcher.java (original) +++ tomcat/trunk/java/javax/servlet/RequestDispatcher.java Mon Feb 27 16:29:00 2017 @@ -65,9 +65,9 @@ public interface RequestDispatcher { * request. See the chapter "Forwarded Request Parameters" in the Servlet * Specification for details. * - * @since Servlet 3.0 + * @since Servlet 4.0 */ - static final String FORWARD_PATH_INFO = "javax.servlet.forward.path_info"; + static final String FORWARD_MAPPING = "javax.servlet.forward.mapping"; /** * The name of the request attribute that should be set by the container @@ -78,7 +78,7 @@ public interface RequestDispatcher { * * @since Servlet 3.0 */ - static final String FORWARD_SERVLET_PATH = "javax.servlet.forward.servlet_path"; + static final String FORWARD_PATH_INFO = "javax.servlet.forward.path_info"; /** * The name of the request attribute that should be set by the container @@ -89,7 +89,7 @@ public interface RequestDispatcher { * * @since Servlet 3.0 */ - static final String FORWARD_QUERY_STRING = "javax.servlet.forward.query_string"; + static final String FORWARD_SERVLET_PATH = "javax.servlet.forward.servlet_path"; /** * The name of the request attribute that should be set by the container @@ -98,9 +98,9 @@ public interface RequestDispatcher { * request. See the chapter "Forwarded Request Parameters" in the Servlet * Specification for details. * - * @since Servlet 4.0 + * @since Servlet 3.0 */ - static final String FORWARD_MAPPING = "javax.servlet.forward.mapping"; + static final String FORWARD_QUERY_STRING = "javax.servlet.forward.query_string"; /** * The name of the request attribute that should be set by the container @@ -146,9 +146,9 @@ public interface RequestDispatcher { * {@code RequestDispatcher} instance for this include call. See the chapter * "Included Request Parameters" in the Servlet Specification for details. * - * @since Servlet 3.0 + * @since Servlet 4.0 */ - static final String INCLUDE_SERVLET_PATH = "javax.servlet.include.servlet_path"; + static final String INCLUDE_MAPPING = "javax.servlet.include.mapping"; /** * The name of the request attribute that should be set by the container @@ -160,7 +160,7 @@ public interface RequestDispatcher { * * @since Servlet 3.0 */ - static final String INCLUDE_QUERY_STRING = "javax.servlet.include.query_string"; + static final String INCLUDE_SERVLET_PATH = "javax.servlet.include.servlet_path"; /** * The name of the request attribute that should be set by the container @@ -170,9 +170,9 @@ public interface RequestDispatcher { * {@code RequestDispatcher} instance for this include call. See the chapter * "Included Request Parameters" in the Servlet Specification for details. * - * @since Servlet 4.0 + * @since Servlet 3.0 */ - static final String INCLUDE_MAPPING = "javax.servlet.include.mapping"; + static final String INCLUDE_QUERY_STRING = "javax.servlet.include.query_string"; /** * The name of the request attribute that should be set by the container --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org