From d06d807f4d63c7ddcc16cd1ed1161a669ec9c3f0 Mon Sep 17 00:00:00 2001 From: markt Date: Mon, 8 Feb 2010 22:15:36 +0000 Subject: [PATCH] Tab police and line length git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@907824 13f79535-47bb-0310-9956-ffa450edef68 --- java/javax/servlet/jsp/JspFactory.java | 55 +++++++++++++++++----------------- 1 file changed, 28 insertions(+), 27 deletions(-) diff --git a/java/javax/servlet/jsp/JspFactory.java b/java/javax/servlet/jsp/JspFactory.java index dfd66ae19..6deb49dd1 100644 --- a/java/javax/servlet/jsp/JspFactory.java +++ b/java/javax/servlet/jsp/JspFactory.java @@ -35,8 +35,8 @@ import javax.servlet.jsp.PageContext; * the instance created with this class via the * static setDefaultFactory() method. *

- * The PageContext and the JspEngineInfo classes are the only implementation-dependent - * classes that can be created from the factory. + * The PageContext and the JspEngineInfo classes are the only + * implementation-dependent classes that can be created from the factory. *

* JspFactory objects should not be used by JSP page authors. */ @@ -59,11 +59,11 @@ public abstract class JspFactory { * any principal other than the JSP Engine runtime to call this method. *

* - * @param deflt The default factory implementation + * @param deflt The default factory implementation */ public static synchronized void setDefaultFactory(JspFactory deflt) { - JspFactory.deflt = deflt; + JspFactory.deflt = deflt; } /** @@ -73,7 +73,7 @@ public abstract class JspFactory { */ public static synchronized JspFactory getDefaultFactory() { - return deflt; + return deflt; } /** @@ -97,45 +97,44 @@ public abstract class JspFactory { * by invoking releasePageContext(). *

* - * @param servlet the requesting servlet - * @param request the current request pending on the servlet - * @param response the current response pending on the servlet - * @param errorPageURL the URL of the error page for the requesting JSP, or null + * @param servlet the requesting servlet + * @param request the current request pending on the servlet + * @param response the current response pending on the servlet + * @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 autoflush should the buffer autoflush to the output stream on buffer - * overflow, or throw an IOException? + * @param buffer size of buffer in bytes, PageContext.NO_BUFFER if no + * buffer, PageContext.DEFAULT_BUFFER if + * implementation default. + * @param autoflush should the buffer autoflush to the output stream on + * buffer overflow, or throw an IOException? * * @return the page context * * @see javax.servlet.jsp.PageContext */ - public abstract PageContext getPageContext(Servlet servlet, - ServletRequest request, - ServletResponse response, - String errorPageURL, - boolean needsSession, - int buffer, - boolean autoflush); + public abstract PageContext getPageContext(Servlet servlet, + ServletRequest request, ServletResponse response, + String errorPageURL, boolean needsSession, int buffer, + boolean autoflush); /** *

* called to release a previously allocated PageContext object. * Results in PageContext.release() being invoked. - * This method should be invoked prior to returning from the _jspService() method of a JSP implementation - * class. + * This method should be invoked prior to returning from the _jspService() + * method of a JSP implementation class. *

* * @param pc A PageContext previously obtained by getPageContext() */ - public abstract void releasePageContext(PageContext pc); /** *

- * called to get implementation-specific information on the current JSP engine. + * called to get implementation-specific information on the current JSP + * engine. *

* * @return a JspEngineInfo object describing the current JSP engine @@ -145,13 +144,15 @@ public abstract class JspFactory { /** *

- * Obtain the JspApplicationContext instance that was associated - * within the passed ServletContext for this web application. + * Obtain the JspApplicationContext instance that was + * associated within the passed ServletContext for this web + * application. *

* * @param context the current web application's ServletContext * @return JspApplicationContext instance * @since 2.1 */ - public abstract JspApplicationContext getJspApplicationContext(ServletContext context); + public abstract JspApplicationContext getJspApplicationContext( + ServletContext context); } -- 2.11.0