Skip to Content.
Sympa Menu

perfsonar-dev - perfsonar: r3735 - branches/perfsonarui/src/org/perfsonar/perfsonarui/ui/actions

Subject: perfsonar development work

List archive

perfsonar: r3735 - branches/perfsonarui/src/org/perfsonar/perfsonarui/ui/actions


Chronological Thread 
  • From:
  • To:
  • Subject: perfsonar: r3735 - branches/perfsonarui/src/org/perfsonar/perfsonarui/ui/actions
  • Date: Fri, 18 Apr 2008 13:42:54 -0400

Author: nina
Date: 2008-04-18 13:42:54 -0400 (Fri, 18 Apr 2008)
New Revision: 3735

Modified:

branches/perfsonarui/src/org/perfsonar/perfsonarui/ui/actions/PSActionMap.java
Log:
check for an empty map

Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/ui/actions/PSActionMap.java
===================================================================
---
branches/perfsonarui/src/org/perfsonar/perfsonarui/ui/actions/PSActionMap.java
2008-04-18 17:40:20 UTC (rev 3734)
+++
branches/perfsonarui/src/org/perfsonar/perfsonarui/ui/actions/PSActionMap.java
2008-04-18 17:42:54 UTC (rev 3735)
@@ -48,7 +48,8 @@
//if (enable) { jobStatus.decrementCount();}
//else jobStatus.incrementCount();
Object[] k = keys();
- for (int i=0; i < k.length; i++) get(k[i]).setEnabled(enable);
+ if (k!=null)
+ for (int i=0; i < k.length; i++) get(k[i]).setEnabled(enable);
//jobStatus.fireObjectEvent(this);
}
public void setFrame(Component frame) {



  • perfsonar: r3735 - branches/perfsonarui/src/org/perfsonar/perfsonarui/ui/actions, svnlog, 04/18/2008

Archive powered by MHonArc 2.6.16.

Top of Page