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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: qpid-java-broker-7.0.0
    • Component/s: Broker-J
    • Labels:
      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

            • Assignee:
              rgodfrey Rob Godfrey
              Reporter:
              rgodfrey Rob Godfrey
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: