You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by ga...@apache.org on 2008/01/17 19:08:50 UTC

svn commit: r612899 - /geronimo/server/trunk/applications/welcome/geronimo-welcome/src/main/java/org/apache/geronimo/welcome/AbsentSampleServlet.java

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