geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ammul...@apache.org
Subject svn commit: r348076 - /geronimo/trunk/applications/console-standard/src/java/org/apache/geronimo/console/databasemanager/wizard/DatabasePoolPortlet.java
Date Tue, 22 Nov 2005 04:08:29 GMT
Author: ammulder
Date: Mon Nov 21 20:08:26 2005
New Revision: 348076

URL: http://svn.apache.org/viewcvs?rev=348076&view=rev
Log:
Off-by-one error.  Nice.

Modified:
    geronimo/trunk/applications/console-standard/src/java/org/apache/geronimo/console/databasemanager/wizard/DatabasePoolPortlet.java

Modified: geronimo/trunk/applications/console-standard/src/java/org/apache/geronimo/console/databasemanager/wizard/DatabasePoolPortlet.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console-standard/src/java/org/apache/geronimo/console/databasemanager/wizard/DatabasePoolPortlet.java?rev=348076&r1=348075&r2=348076&view=diff
==============================================================================
--- geronimo/trunk/applications/console-standard/src/java/org/apache/geronimo/console/databasemanager/wizard/DatabasePoolPortlet.java
(original)
+++ geronimo/trunk/applications/console-standard/src/java/org/apache/geronimo/console/databasemanager/wizard/DatabasePoolPortlet.java
Mon Nov 21 20:08:26 2005
@@ -1045,7 +1045,7 @@
                         begin = j;
                         break;
                     } else if(c == '/') {
-                        if(url.length() >= end && url.charAt(end) == '/') {
+                        if(url.length() > end && url.charAt(end) == '/') {
                             begin = j; // Don't leave // if foo is null for /<foo>/
                         }
                         break;



Mime
View raw message