geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xuhaih...@apache.org
Subject svn commit: r783192 - /geronimo/server/branches/2.1/plugins/console/plugin-portlets/src/main/java/org/apache/geronimo/console/car/ExportConfigHandler.java
Date Wed, 10 Jun 2009 03:10:17 GMT
Author: xuhaihong
Date: Wed Jun 10 03:10:17 2009
New Revision: 783192

URL: http://svn.apache.org/viewvc?rev=783192&view=rev
Log:
GERONIMO-4621 Exception occurs when export debugviews-console-tomcat plugin (Patch from Han
Hong Fang)

Modified:
    geronimo/server/branches/2.1/plugins/console/plugin-portlets/src/main/java/org/apache/geronimo/console/car/ExportConfigHandler.java

Modified: geronimo/server/branches/2.1/plugins/console/plugin-portlets/src/main/java/org/apache/geronimo/console/car/ExportConfigHandler.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.1/plugins/console/plugin-portlets/src/main/java/org/apache/geronimo/console/car/ExportConfigHandler.java?rev=783192&r1=783191&r2=783192&view=diff
==============================================================================
--- geronimo/server/branches/2.1/plugins/console/plugin-portlets/src/main/java/org/apache/geronimo/console/car/ExportConfigHandler.java
(original)
+++ geronimo/server/branches/2.1/plugins/console/plugin-portlets/src/main/java/org/apache/geronimo/console/car/ExportConfigHandler.java
Wed Jun 10 03:10:17 2009
@@ -164,7 +164,6 @@
         int counter = 1;
         while (true) {
             String prefix = "prereq" + counter;
-            ++counter;
             String id = request.getParameter(prefix);
             if (id == null || id.trim().equals("")) {
                 break;
@@ -182,6 +181,7 @@
             prereq.setDescription(desc);
             prereq.setId(PluginInstallerGBean.toArtifactType(Artifact.create(id)));
             prereqs.add(counter - 1, prereq);
+            counter++;
         }
 
         // Save updated metadata



Mime
View raw message