markt       2004/04/09 09:31:29

  Modified:    jasper2/src/share/org/apache/jasper/runtime
                        PageContextImpl.java
  Log:
  Fixing indents prior to actually changing the code.
  
  Revision  Changes    Path
  1.58      +6 -7      
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime/PageContextImpl.java
  
  Index: PageContextImpl.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime/PageContextImpl.java,v
  retrieving revision 1.57
  retrieving revision 1.58
  diff -u -r1.57 -r1.58
  --- PageContextImpl.java      17 Mar 2004 19:23:04 -0000      1.57
  +++ PageContextImpl.java      9 Apr 2004 16:31:29 -0000       1.58
  @@ -800,23 +800,22 @@
                   request.removeAttribute("javax.servlet.jsp.jspException");
   
           } else {
  -
  -                // Otherwise throw the exception wrapped inside a ServletException.
  +            // Otherwise throw the exception wrapped inside a ServletException.
               // Set the exception as the root cause in the ServletException
               // to get a stack trace for the real problem
               if (t instanceof IOException) throw (IOException)t;
               if (t instanceof ServletException) throw (ServletException)t;
  -                if (t instanceof RuntimeException) throw (RuntimeException)t;
  +            if (t instanceof RuntimeException) throw (RuntimeException)t;
   
               Throwable rootCause = null;
  -                if (t instanceof JspException) {
  -                    rootCause = ((JspException) t).getRootCause();
  +            if (t instanceof JspException) {
  +                rootCause = ((JspException) t).getRootCause();
               } else if (t instanceof ELException) {
  -            rootCause = ((ELException) t).getRootCause();
  +                rootCause = ((ELException) t).getRootCause();
               }
   
               if (rootCause != null) {
  -            throw new ServletException(t.getMessage(), rootCause);
  +                throw new ServletException(t.getMessage(), rootCause);
               }
                    
               throw new ServletException(t);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to