You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2011/07/12 01:25:18 UTC
svn commit: r1145397 -
/myfaces/core/trunk/api/src/main/java/javax/faces/webapp/FacesServlet.java
Author: lu4242
Date: Mon Jul 11 23:25:18 2011
New Revision: 1145397
URL: http://svn.apache.org/viewvc?rev=1145397&view=rev
Log:
MYFACES-3194 trivial improvements to procedural commentary in FacesServlet.service()
Modified:
myfaces/core/trunk/api/src/main/java/javax/faces/webapp/FacesServlet.java
Modified: myfaces/core/trunk/api/src/main/java/javax/faces/webapp/FacesServlet.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/java/javax/faces/webapp/FacesServlet.java?rev=1145397&r1=1145396&r2=1145397&view=diff
==============================================================================
--- myfaces/core/trunk/api/src/main/java/javax/faces/webapp/FacesServlet.java (original)
+++ myfaces/core/trunk/api/src/main/java/javax/faces/webapp/FacesServlet.java Mon Jul 11 23:25:18 2011
@@ -160,7 +160,7 @@ public final class FacesServlet implemen
}
// If none of the cases described above in the specification for this method apply to the servicing of this
- // request, the following action must be taken to service the request.
+ // request, the following action must be taken to service the request:
if (log.isLoggable(Level.FINEST))
log.finest("service begin");
@@ -171,7 +171,7 @@ public final class FacesServlet implemen
{
// jsf 2.0 : get the current ResourceHandler and
// check if it is a resource request, if true
- // delegate to ResourceHandler, if continue with
+ // delegate to ResourceHandler, else continue with
// the lifecycle.
// Acquire the ResourceHandler for this request by calling Application.getResourceHandler().
ResourceHandler resourceHandler = facesContext.getApplication().getResourceHandler();
@@ -184,7 +184,7 @@ public final class FacesServlet implemen
}
else
{
- // If this returns false, handle as follow
+ // If this returns false, handle as follows:
// call Lifecycle.execute(javax.faces.context.FacesContext)
_lifecycle.execute(facesContext);
// followed by Lifecycle.render(javax.faces.context.FacesContext).
@@ -199,7 +199,7 @@ public final class FacesServlet implemen
Throwable cause = e.getCause();
if (cause == null)
{
- // If the cause is null extract the message from the FacesException put it inside of a new
+ // If the cause is null extract the message from the FacesException, put it inside of a new
// ServletException instance, and pass the FacesException instance as the root cause, then
// rethrow the ServletException instance.
throw new ServletException(e.getLocalizedMessage(), e);