You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tubemq.apache.org by "aloyszhang (Jira)" <ji...@apache.org> on 2020/02/17 12:17:00 UTC

[jira] [Created] (TUBEMQ-33) refactor enum implement from annoymouse inner class

aloyszhang created TUBEMQ-33:
--------------------------------

             Summary: refactor enum implement from annoymouse inner class
                 Key: TUBEMQ-33
                 URL: https://issues.apache.org/jira/browse/TUBEMQ-33
             Project: Apache TubeMQ
          Issue Type: Improvement
            Reporter: aloyszhang


Some enum classes are implement by annoymouse inner class, like  [EventStatus |https://github.com/apache/incubator-tubemq/blob/master/tubemq-core/src/main/java/org/apache/tubemq/corebase/balance/EventStatus.java]. 
I think use a constructor with necessary parameters is a better and more graceful way.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)