User: ejort   
  Date: 02/03/29 04:14:34

  Modified:    src/main/javax/management/monitor CounterMonitor.java
  Log:
  Merge differences between RelMX_1_0_0_13 and RelMX_1_0_0_14 to head
  
  Revision  Changes    Path
  1.3       +7 -1      jmx/src/main/javax/management/monitor/CounterMonitor.java
  
  Index: CounterMonitor.java
  ===================================================================
  RCS file: /cvsroot/jboss/jmx/src/main/javax/management/monitor/CounterMonitor.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- CounterMonitor.java       24 Mar 2002 13:12:12 -0000      1.2
  +++ CounterMonitor.java       29 Mar 2002 12:14:34 -0000      1.3
  @@ -19,6 +19,12 @@
    * <ul>
    * <li>Reset the threshold when the value becomes negative in difference mode
    * </ul>
  + * <p><b>20020326 Adrian Brock:</b>
  + * <ul>
  + * <li>The spec says the modulus should be *strictly* exceeded. It appears
  + * from testing the RI, it is a mathematical definition of modulus. e.g.
  + * 10 exceeds a modulus of 10
  + * </ul>
    *
    * @author <a href="mailto:[EMAIL PROTECTED]";>Adrian Brock</a>
    * @version $Revision$
  @@ -285,7 +291,7 @@
   
       // For normal mode, restart when modulus exceeded
       if (differenceMode == false && modulus.longValue() != 0 &&
  -        number.longValue() > modulus.longValue())
  +        number.longValue() >= modulus.longValue())
       {
         threshold = initialThreshold;
         alreadyNotified &= ~THRESHOLD_EXCEEDED_NOTIFIED;
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to