You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/11/04 13:38:59 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15636348#comment-15636348 ] 

ASF subversion and git services commented on QPID-7497:
-------------------------------------------------------

Commit 1768031 from [~godfrer] in branch 'java/trunk'
[ https://svn.apache.org/r1768031 ]

QPID-7497 : Refactor configured object state change listeners to inhert from an empty base class

> [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