Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-1697

Simplify ActivateCallback interface with default methods

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.5.0
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              jbertram Justin Bertram
              jbertram Justin Bertram
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: