Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-7497

[Java Broker] Reduce size of anonymous state change listener classes by using abstract base class

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • qpid-java-broker-7.0.0
    • Broker-J
    • None

    Description

      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

      Attachments

        Activity

          People

            rgodfrey Robert Godfrey
            rgodfrey Robert Godfrey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: