Author: ruschein
Date: 2011-07-15 16:02:52 -0700 (Fri, 15 Jul 2011)
New Revision: 26196
Modified:
core3/log-swing-impl/trunk/src/main/java/org/cytoscape/log/internal/CytoStatusBar.java
Log:
Fixed incorrect units.
Modified:
core3/log-swing-impl/trunk/src/main/java/org/cytoscape/log/internal/CytoStatusBar.java
===================================================================
---
core3/log-swing-impl/trunk/src/main/java/org/cytoscape/log/internal/CytoStatusBar.java
2011-07-15 22:50:24 UTC (rev 26195)
+++
core3/log-swing-impl/trunk/src/main/java/org/cytoscape/log/internal/CytoStatusBar.java
2011-07-15 23:02:52 UTC (rev 26196)
@@ -100,7 +100,7 @@
}
}
- static final String[] MEMORY_SUFFIXES = { "b", "kb", "Mb", "Gb" };
+ static final String[] MEMORY_SUFFIXES = { "B", "KiB", "MiB", "GiB" };
static final double MEMORY_UNIT = 1024.0;
static String formatMemory(long freeMemory, long totalMemory) {
double free = (double) freeMemory;
--
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cytoscape-cvs?hl=en.