perfsonar-dev - perfsonar: r5185 - branches/perfsonarui/src/org/perfsonar/perfsonarui/ui/actions
Subject: perfsonar development work
List archive
perfsonar: r5185 - branches/perfsonarui/src/org/perfsonar/perfsonarui/ui/actions
Chronological Thread
- From:
- To:
- Subject: perfsonar: r5185 - branches/perfsonarui/src/org/perfsonar/perfsonarui/ui/actions
- Date: Wed, 17 Jun 2009 04:54:22 -0400
Author: iva
Date: 2009-06-17 04:54:22 -0400 (Wed, 17 Jun 2009)
New Revision: 5185
Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/ui/actions/EchoAction.java
Log:
Fix for bug 738. Now the Service status checked is performed only for the
selected items.
Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/ui/actions/EchoAction.java
===================================================================
---
branches/perfsonarui/src/org/perfsonar/perfsonarui/ui/actions/EchoAction.java
2009-06-17 08:52:09 UTC (rev 5184)
+++
branches/perfsonarui/src/org/perfsonar/perfsonarui/ui/actions/EchoAction.java
2009-06-17 08:54:22 UTC (rev 5185)
@@ -71,8 +71,9 @@
public Object run(ActionEvent arg0) {
if (frame != null)
frame.setCursor(hourglassCursor);
+
for (int i= 0; i < endpoints.size(); i++)
- if (!isInterrupted()) {
+ if (!isInterrupted()&& endpoints.get(i).isEnabled()) {
MAEndpoint e = endpoints.get(i);
AbstractUserData data = new
AbstractUserData();
data.setEndpoint(e);
@@ -85,8 +86,8 @@
if (request instanceof SmartMARequest)
((SmartMARequest) request).isReady();
- for (int i= 0; i < endpoints.size(); i++)
- endpoints.setEnabled(i, endpoints.get(i).isEnabled());
+ for (int i= 0; i < endpoints.size(); i++) {
+ endpoints.setEnabled(i,
endpoints.get(i).isEnabled());}
return null;
}
- perfsonar: r5185 - branches/perfsonarui/src/org/perfsonar/perfsonarui/ui/actions, svnlog, 06/17/2009
Archive powered by MHonArc 2.6.16.