tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfarc...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core StandardHostValve.java
Date Tue, 27 Sep 2005 19:20:54 GMT
jfarcand    2005/09/27 12:20:54

  Modified:    catalina/src/share/org/apache/catalina/core
                        StandardHostValve.java
  Log:
  Minor fix. Use the the class instead of the String.
  
  Revision  Changes    Path
  1.27      +2 -2      jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardHostValve.java
  
  Index: StandardHostValve.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardHostValve.java,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- StandardHostValve.java	25 Aug 2005 12:32:30 -0000	1.26
  +++ StandardHostValve.java	27 Sep 2005 19:20:54 -0000	1.27
  @@ -309,7 +309,7 @@
               return (null);
           Class clazz = exception.getClass();
           String name = clazz.getName();
  -        while (!"java.lang.Object".equals(clazz)) {
  +        while (!Object.class.equals(clazz)) {
               ErrorPage errorPage = context.findErrorPage(name);
               if (errorPage != null)
                   return (errorPage);
  
  
  

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


Mime
View raw message