[Swift-commit] r6836 - trunk/src/org/griphyn/vdl/karajan/monitor/monitors/ansi

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Mon Aug 12 20:01:24 CDT 2013


Author: hategan
Date: 2013-08-12 20:01:24 -0500 (Mon, 12 Aug 2013)
New Revision: 6836

Modified:
   trunk/src/org/griphyn/vdl/karajan/monitor/monitors/ansi/SummaryPane.java
Log:
fixed summary bars

Modified: trunk/src/org/griphyn/vdl/karajan/monitor/monitors/ansi/SummaryPane.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/monitor/monitors/ansi/SummaryPane.java	2013-08-13 00:29:53 UTC (rev 6835)
+++ trunk/src/org/griphyn/vdl/karajan/monitor/monitors/ansi/SummaryPane.java	2013-08-13 01:01:24 UTC (rev 6836)
@@ -66,7 +66,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) {
                         bars.setValue(i, v);
                         bars.setText(i, v.toString());




More information about the Swift-commit mailing list