geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r613090 - /geronimo/server/trunk/applications/welcome/geronimo-welcome/src/main/java/org/apache/geronimo/welcome/AbsentSampleServlet.java
Date Fri, 18 Jan 2008 07:52:03 GMT
Author: djencks
Date: Thu Jan 17 23:52:02 2008
New Revision: 613090

URL: http://svn.apache.org/viewvc?rev=613090&view=rev
Log:
improve build problem fix

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=613090&r1=613089&r2=613090&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 23:52:02 2008
@@ -90,8 +90,7 @@
             throw new ServletException("Unable to install sample application", results.getFailure());
         }
         ConfigurationManager mgr = ConfigurationUtil.getConfigurationManager(kernel);
-        for (int i = 0; i < results.getInstalledConfigIDs().size(); i++) {
-            Artifact artifact = results.getInstalledConfigIDs().get(i);
+        for (Artifact artifact: results.getInstalledConfigIDs()) {
             if (mgr.isConfiguration(artifact)) {
                 try {
                     if (!mgr.isLoaded(artifact)) {



Mime
View raw message