ASF GitHub Bot commented on ARTEMIS-1697:

GitHub user jbertram opened a pull request:


    ARTEMIS-1697 give ActivateCallback default methods


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jbertram/activemq-artemis ARTEMIS-1697

Alternatively you can review and apply these changes as the patch at:


To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1888
commit 56f7c523b720f345243bbd423cce9042af6c3ba4
Author: Justin Bertram <jbertram@...>
Date:   2018-02-22T18:42:18Z

    ARTEMIS-1697 give ActivateCallback default methods


> Simplify ActivateCallback interface with default methods
> --------------------------------------------------------
>                 Key: ARTEMIS-1697
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1697
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>            Priority: Major
> Most of the org.apache.activemq.artemis.core.server.ActivateCallback 
> implementations have empty methods.  By providing default method 
> implementations on the interface (thanks Java 8!) we can get rid of a lot of 
> the useless code in the current implementations.

This message was sent by Atlassian JIRA

Reply via email to