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/MonitorSkeleton.java
(Generate patch)

Comparing projects/cms/source/server/uk/org/iscream/cms/server/client/MonitorSkeleton.java (file contents):
Revision 1.3 by ajm, Fri Mar 9 03:30:54 2001 UTC vs.
Revision 1.4 by ajm, Fri Mar 9 03:57:01 2001 UTC

# Line 86 | Line 86 | public abstract class MonitorSkeleton implements Plugi
86          int thresholdLevel = reg.getLastThresholdLevel();
87          String thresholdValue = String.valueOf(reg.getThreshold(thresholdLevel));
88          String timeout = String.valueOf(reg.getAlertTimeout(reg.getLastAlertLevel()) / 1000);
89 <        if (thresholdLevel == Alert.thresholdNORMAL) {
89 >        // ensures we display a nice thing if its -1.0
90 >        if (thresholdLevel == -1.0) {
91              thresholdValue = "-";
92          }
93          if (alertLevel == Alert.alertOK) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines