ASF GitHub Bot commented on ARTEMIS-1697:

Github user michaelandrepearce commented on the issue:

    Cleans the code nicely up , not on hot path, so defaults method is fine +1 
from me.

> 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: Minor
> 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