jeanouii commented on code in PR #2276:
URL: https://github.com/apache/activemq/pull/2276#discussion_r4483415786


##########
activemq-client/src/main/java/org/apache/activemq/usage/Usage.java:
##########


Review Comment:
   I would extract this into a method that you can call in the refresh within 
something like
   
   if (oldValue >= 100 && value < 100) {                                        
                                                                                
                                                                                
  
      ///////// Call here the extracted method
   }
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to