geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r598776 - /geronimo/server/trunk/plugins/system-database/system-database-portlets/src/main/java/org/apache/geronimo/console/databasemanager/wizard/DatabasePoolPortlet.java
Date Tue, 27 Nov 2007 21:36:59 GMT
Author: gawor
Date: Tue Nov 27 13:36:58 2007
New Revision: 598776

URL: http://svn.apache.org/viewvc?rev=598776&view=rev
Log:
actaully examine multiple repos instead of failing on the first one (fixes a problem in creating
a database pool using the console on jetty)

Modified:
    geronimo/server/trunk/plugins/system-database/system-database-portlets/src/main/java/org/apache/geronimo/console/databasemanager/wizard/DatabasePoolPortlet.java

Modified: geronimo/server/trunk/plugins/system-database/system-database-portlets/src/main/java/org/apache/geronimo/console/databasemanager/wizard/DatabasePoolPortlet.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/system-database/system-database-portlets/src/main/java/org/apache/geronimo/console/databasemanager/wizard/DatabasePoolPortlet.java?rev=598776&r1=598775&r2=598776&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/system-database/system-database-portlets/src/main/java/org/apache/geronimo/console/databasemanager/wizard/DatabasePoolPortlet.java
(original)
+++ geronimo/server/trunk/plugins/system-database/system-database-portlets/src/main/java/org/apache/geronimo/console/databasemanager/wizard/DatabasePoolPortlet.java
Tue Nov 27 13:36:58 2007
@@ -1144,6 +1144,8 @@
                 SortedSet results = repo.list(artifact);
                 if (!results.isEmpty()) {
                     artifact = (Artifact) results.first();
+                } else {
+                    continue;
                 }
             }
             File url = repo.getLocation(artifact);



Mime
View raw message