ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/Memory__Monitor.java
(Generate patch)

Comparing projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/Memory__Monitor.java (file contents):
Revision 1.15 by tdb, Mon Mar 10 08:42:57 2003 UTC vs.
Revision 1.16 by tdb, Mon Mar 10 08:59:19 2003 UTC

# Line 140 | Line 140 | public class Memory__Monitor extends MonitorSkeleton {
140              type = "%";
141          }
142  
143 <        // format the memoryInUse to a String
143 >        // format the value to a String
144          NumberFormat nf = NumberFormat.getInstance();
145          nf.setMaximumFractionDigits(2);
146          nf.setMinimumFractionDigits(2);
147          String strCurValue = nf.format(curValue);
148          
149          // set the attributeName nicely
150 <        String attributeName = type + " Memory in use";
150 >        String attributeName = type + " Memory in use " + type;
151          if(useCache) {
152              attributeName += " (ex. cache)";
153          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines