You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rob Godfrey (JIRA)" <ji...@apache.org> on 2016/11/04 13:35:58 UTC

[jira] [Created] (QPID-7497) [Java Broker] Reduce size of anonymous state change listener classes by using abstract base class

Rob Godfrey created QPID-7497:
---------------------------------

             Summary: [Java Broker] Reduce size of anonymous state change listener classes by using abstract base class
                 Key: QPID-7497
                 URL: https://issues.apache.org/jira/browse/QPID-7497
             Project: Qpid
          Issue Type: Improvement
          Components: Java Broker
            Reporter: Rob Godfrey


Currently there are a number of anonymous inner classes that are used for implementing state change listeners for configured objects.  Most of these do not need to implement every method of the listener interface.  As a result we have many lasses with many empty method definitions.

To reduce the code size we can have all the anonymous classes extend from an abstract base class which provides empty implementations



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org