[Swift-commit] r6672 - trunk/src/org/griphyn/vdl/karajan/monitor/monitors/swing

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Sat Jul 27 13:18:12 CDT 2013


Author: hategan
Date: 2013-07-27 13:18:11 -0500 (Sat, 27 Jul 2013)
New Revision: 6672

Modified:
   trunk/src/org/griphyn/vdl/karajan/monitor/monitors/swing/SummaryPanel.java
Log:
fixed zero counts on summary progress bars

Modified: trunk/src/org/griphyn/vdl/karajan/monitor/monitors/swing/SummaryPanel.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/monitor/monitors/swing/SummaryPanel.java	2013-07-27 00:27:09 UTC (rev 6671)
+++ trunk/src/org/griphyn/vdl/karajan/monitor/monitors/swing/SummaryPanel.java	2013-07-27 18:18:11 UTC (rev 6672)
@@ -143,7 +143,7 @@
         if (summary != null) {
             Map<String, Integer> counts = summary.getCounts(state);
             for (int i = 0; i < SummaryItem.STATES.length; i++) {
-                Integer v = counts.get(SummaryItem.STATES[i]);
+                Integer v = counts.get(SummaryItem.STATES[i].getName());
                 if (v != null) {
                     if (v > maxCount) {
                         maxCount = v;




More information about the Swift-commit mailing list