You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by dj...@apache.org on 2008/01/18 08:52:03 UTC
svn commit: r613090 -
/geronimo/server/trunk/applications/welcome/geronimo-welcome/src/main/java/org/apache/geronimo/welcome/AbsentSampleServlet.java
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)) {