incubator-lokahi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tob...@apache.org
Subject svn commit: r480120 - in /incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi: httpd/api/pool/ApachePoolModel.java tomcat/api/pool/TomcatPoolModel.java
Date Tue, 28 Nov 2006 16:27:43 GMT
Author: toback
Date: Tue Nov 28 08:27:41 2006
New Revision: 480120

URL: http://svn.apache.org/viewvc?view=rev&rev=480120
Log:
Fixed a bug where deleting a collection of tomcat pools or apache pools would create two job
pools for the action.

Modified:
    incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/httpd/api/pool/ApachePoolModel.java
    incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/tomcat/api/pool/TomcatPoolModel.java

Modified: incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/httpd/api/pool/ApachePoolModel.java
URL: http://svn.apache.org/viewvc/incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/httpd/api/pool/ApachePoolModel.java?view=diff&rev=480120&r1=480119&r2=480120
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/httpd/api/pool/ApachePoolModel.java
(original)
+++ incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/httpd/api/pool/ApachePoolModel.java
Tue Nov 28 08:27:41 2006
@@ -6,9 +6,9 @@
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
-* 
+*
 *   http://www.apache.org/licenses/LICENSE-2.0
-* 
+*
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
@@ -238,7 +238,7 @@
     for (final ApachePool ap : c) {
       names.append(ap.getName());
       names.append(',');
-      this.deleteApachePool(u, ap, f);
+      this.deletePool(u, ap, f);
     }
     jp.setOptions(names.toString());
     jp.setState(State.COMPLETE);

Modified: incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/tomcat/api/pool/TomcatPoolModel.java
URL: http://svn.apache.org/viewvc/incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/tomcat/api/pool/TomcatPoolModel.java?view=diff&rev=480120&r1=480119&r2=480120
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/tomcat/api/pool/TomcatPoolModel.java
(original)
+++ incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/tomcat/api/pool/TomcatPoolModel.java
Tue Nov 28 08:27:41 2006
@@ -6,9 +6,9 @@
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
-* 
+*
 *   http://www.apache.org/licenses/LICENSE-2.0
-* 
+*
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
@@ -95,7 +95,7 @@
     for (final TomcatPool tp : c) {
       names.append(tp.getName());
       names.append(',');
-      this.deleteTomcatPool(u, tp, f);
+      this.deletePool(u, tp, f);
     }
     jp.setOptions(names.toString());
     jp.setState(State.COMPLETE);



Mime
View raw message