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

Remove unused variables

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.25.0
    • 2.39.0
    • None

    Description

      These fields have use the private access modifier so they can only be accessed by the methods of their class. However, they are not used anywhere in their class and are therefore redundant.

      Here are some examples:

      • org.apache.activemq.artemis.jms.client.ActiveMQMessage.jmsDeliveryTime
      • org.apache.activemq.artemis.ra.ActiveMQRASessionFactoryImpl.allowLocalTransaction
      • org.apache.activemq.artemis.jms.client.ActiveMQMessage.jmsDeliveryTime
      • org.apache.activemq.artemis.maven.ArtemisCLIPlugin.descriptor
      • org.apache.activemq.artemis.maven.ArtemisCreatePlugin.descriptor
      • org.apache.activemq.artemis.maven.ArtemisDependencyDocPlugin.descriptor
      • org.apache.activemq.artemis.maven.ArtemisDependencyScanPlugin.descriptor
      • org.apache.activemq.artemis.ra.ActiveMQRASessionFactoryImpl.allowLocalTransaction
      • org.apache.activemq.artemis.core.protocol.core.impl.wireformat.ReplicationLiveIsStoppingMessage.finalMessage
      • org.apache.activemq.artemis.core.server.impl.GroupFirstMessageReference.owner
      • org.apache.activemq.artemis.core.management.impl.view.ActiveMQAbstractView.options

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            a.slepykh Andrey Slepykh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 0.5h
                0.5h

                Slack

                  Issue deployment