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/12/10 18:01:58 UTC

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

     [ https://issues.apache.org/jira/browse/QPID-7497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Godfrey resolved QPID-7497.
-------------------------------
       Resolution: Fixed
         Assignee: Rob Godfrey
    Fix Version/s: qpid-java-6.2

> [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
>            Assignee: Rob Godfrey
>             Fix For: qpid-java-6.2
>
>
> 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