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

Improve implementations of equal methods in various classes to be able to account for sub-classes

    XMLWordPrintableJSON

    Details

      Description

      The equals method of the following classes break symmetry if the passed in object is a subclass. Use this.getClass() instead of instanceof.

      • BindingImpl
      • QpidSslRMIServerSocketFactory
      • HeadersBinding
      • AMQPProtocolVersionWrapper
      • UsernamePrincipal
      • GroupPrincipal
      • Action
      • Rule
      • InetNetwork
      • AMQBrokerDetails
      • AMQDestination
      • AMQQueue
      • AMQTopic
      • XidImpl
      • FieldTable
      • ProtocolInitiation
      • QpidRAConnectionRequestInfo
      • QpidRAManagedConnectionFactory
      • QpidRAMessage
      • QpidResourceAdapter
      • ListPropertyValue
      • NumericGeneratedPropertySupport
      • RangePropertyValue

        Attachments

          Activity

            People

            • Assignee:
              kwall Keith Wall
              Reporter:
              orudyy Alex Rudyy
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: