Tab police and line length
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 8 Feb 2010 22:15:36 +0000 (22:15 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 8 Feb 2010 22:15:36 +0000 (22:15 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@907824 13f79535-47bb-0310-9956-ffa450edef68

java/javax/servlet/jsp/JspFactory.java

index dfd66ae..6deb49d 100644 (file)
@@ -35,8 +35,8 @@ import javax.servlet.jsp.PageContext;
  * the instance created with this class via the
  * static <code> setDefaultFactory() </code> method.
  * <p>
- * 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.
  * <p>
  * 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.
      * </p>
      *
-     * @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().
      * </p>
      *
-     * @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);
 
     /**
      * <p>
      * 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.
      * </p>
      *
      * @param pc A PageContext previously obtained by getPageContext()
      */
-
     public abstract void releasePageContext(PageContext pc);
 
     /**
      * <p>
-     * called to get implementation-specific information on the current JSP engine.
+     * called to get implementation-specific information on the current JSP
+     * engine.
      * </p>
      *
      * @return a JspEngineInfo object describing the current JSP engine
@@ -145,13 +144,15 @@ public abstract class JspFactory {
     
     /**
      * <p>
-     * Obtain the <code>JspApplicationContext</code> instance that was associated
-     * within the passed <code>ServletContext</code> for this web application.
+     * Obtain the <code>JspApplicationContext</code> instance that was
+     * associated within the passed <code>ServletContext</code> for this web
+     * application.
      * </p>
      * 
      * @param context the current web application's <code>ServletContext</code>
      * @return <code>JspApplicationContext</code> instance
      * @since 2.1
      */
-    public abstract JspApplicationContext getJspApplicationContext(ServletContext context);
+    public abstract JspApplicationContext getJspApplicationContext(
+            ServletContext context);
 }