You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2010/02/08 23:15:36 UTC

svn commit: r907824 - /tomcat/trunk/java/javax/servlet/jsp/JspFactory.java

Author: markt
Date: Mon Feb  8 22:15:36 2010
New Revision: 907824

URL: http://svn.apache.org/viewvc?rev=907824&view=rev
Log:
Tab police and line length

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=907824&r1=907823&r2=907824&view=diff
==============================================================================
--- tomcat/trunk/java/javax/servlet/jsp/JspFactory.java (original)
+++ tomcat/trunk/java/javax/servlet/jsp/JspFactory.java Mon Feb  8 22:15:36 2010
@@ -35,8 +35,8 @@
  * 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 @@
      * 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 static synchronized JspFactory getDefaultFactory() {
-	return deflt;
+        return deflt;
     }
 
     /**
@@ -97,45 +97,44 @@
      * 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 @@
     
     /**
      * <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);
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org