tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/webapps/manager/WEB-INF/classes/org/apache/catalina/manager StatusTransformer.java
Date Thu, 11 Dec 2003 01:06:02 GMT
remm        2003/12/10 17:06:02

  Modified:    webapps/manager/WEB-INF/classes/org/apache/catalina/manager
                        StatusTransformer.java
  Log:
  - Remove leading slashes.
  
  Revision  Changes    Path
  1.7       +7 -4      jakarta-tomcat-catalina/webapps/manager/WEB-INF/classes/org/apache/catalina/manager/StatusTransformer.java
  
  Index: StatusTransformer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/manager/WEB-INF/classes/org/apache/catalina/manager/StatusTransformer.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- StatusTransformer.java	11 Dec 2003 00:59:07 -0000	1.6
  +++ StatusTransformer.java	11 Dec 2003 01:06:02 -0000	1.7
  @@ -558,6 +558,9 @@
               while (iterator.hasNext()) {
                   ObjectName contextON = (ObjectName) iterator.next();
                   String webModuleName = contextON.getKeyProperty("name");
  +                if (webModuleName.startsWith("//")) {
  +                    webModuleName = webModuleName.substring(2);
  +                }
   
                   writer.print("<a href=\"#" + (count++) + ".0\">");
                   writer.print(webModuleName);
  
  
  

---------------------------------------------------------------------
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