geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r612899 - /geronimo/server/trunk/applications/welcome/geronimo-welcome/src/main/java/org/apache/geronimo/welcome/AbsentSampleServlet.java
Date Thu, 17 Jan 2008 18:08:50 GMT
Author: gawor
Date: Thu Jan 17 10:08:41 2008
New Revision: 612899

URL: http://svn.apache.org/viewvc?rev=612899&view=rev
Log:
fixed build problem

Modified:
    geronimo/server/trunk/applications/welcome/geronimo-welcome/src/main/java/org/apache/geronimo/welcome/AbsentSampleServlet.java

Modified: geronimo/server/trunk/applications/welcome/geronimo-welcome/src/main/java/org/apache/geronimo/welcome/AbsentSampleServlet.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/applications/welcome/geronimo-welcome/src/main/java/org/apache/geronimo/welcome/AbsentSampleServlet.java?rev=612899&r1=612898&r2=612899&view=diff
==============================================================================
--- geronimo/server/trunk/applications/welcome/geronimo-welcome/src/main/java/org/apache/geronimo/welcome/AbsentSampleServlet.java
(original)
+++ geronimo/server/trunk/applications/welcome/geronimo-welcome/src/main/java/org/apache/geronimo/welcome/AbsentSampleServlet.java
Thu Jan 17 10:08:41 2008
@@ -90,8 +90,8 @@
             throw new ServletException("Unable to install sample application", results.getFailure());
         }
         ConfigurationManager mgr = ConfigurationUtil.getConfigurationManager(kernel);
-        for (int i = 0; i < results.getInstalledConfigIDs().length; i++) {
-            Artifact artifact = results.getInstalledConfigIDs()[i];
+        for (int i = 0; i < results.getInstalledConfigIDs().size(); i++) {
+            Artifact artifact = results.getInstalledConfigIDs().get(i);
             if (mgr.isConfiguration(artifact)) {
                 try {
                     if (!mgr.isLoaded(artifact)) {



Mime
View raw message