[ 
https://issues.apache.org/jira/browse/ARTEMIS-5133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Bertram updated ARTEMIS-5133:
------------------------------------
    Description: Private field systemProperties is not written anywhere in the 
class, so it will always be empty at the time of checking in the doExecute 
method and system properties will not be set. If this variable is not used, 
consider removing it from the class. 
[link|https://github.com/apache/activemq-artemis/blob/0afab64f6426a00e0b0faef416133aac10496e42/artemis-maven-plugin/src/main/java/org/apache/activemq/artemis/maven/ArtemisClientPlugin.java#L74]
  (was: Private field systemProperties is not written anywhere in the class, so 
it will always be empty at the time of checking in the doExecute method and 
system properties will not be set. If this variable is not used, consider 
removing it from the class. 
[link|https://github.com/apache/activemq-artemis/blob/0afab64f6426a00e0b0faef416133aac10496e42/artemis-maven-plugin/src/main/java/org/apache/activemq/artemis/maven/ArtemisClientPlugin.java#L74]

Found by Linux Verification Center (portal.linuxtesting.ru) with SVACE.
Author A. Burke.)

> FB.UWF_UNWRITTEN_FIELD in ArtemisClientPlugin.java
> --------------------------------------------------
>
>                 Key: ARTEMIS-5133
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5133
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Andrey Slepykh
>            Priority: Minor
>
> Private field systemProperties is not written anywhere in the class, so it 
> will always be empty at the time of checking in the doExecute method and 
> system properties will not be set. If this variable is not used, consider 
> removing it from the class. 
> [link|https://github.com/apache/activemq-artemis/blob/0afab64f6426a00e0b0faef416133aac10496e42/artemis-maven-plugin/src/main/java/org/apache/activemq/artemis/maven/ArtemisClientPlugin.java#L74]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to