[ https://issues.apache.org/jira/browse/ARTEMIS-4695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17828491#comment-17828491 ]
ASF subversion and git services commented on ARTEMIS-4695: ---------------------------------------------------------- Commit 97a9c690ae238e805e34158e85fa9aaa0920650a in activemq-artemis's branch refs/heads/main from aslepykh [ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=97a9c690ae ] ARTEMIS-4695 BAD_COPY_PASTE in VersionedStompFrameHandler.java In 1st branch (line 274) of the if() statement, the Boolean.parseBoolean() method accepts the value frame.getHeader(Stomp.Headers.Subscribe.NO_LOCAL), which is used in line 273. In 2nd branch (line 276), the Boolean.parseBoolean() method accepts the value frame.getHeader(Stomp.Headers.Subscribe.NO_LOCAL), although the other value frame.hasHeader(Stomp.Headers.Subscribe.ACTIVEMQ_NO_LOCAL) is used. Found by Linux Verification Center (portal.linuxtesting.ru) with SVACE. Author A. Slepykh. > Fix a few bugs found via static analysis > ---------------------------------------- > > Key: ARTEMIS-4695 > URL: https://issues.apache.org/jira/browse/ARTEMIS-4695 > Project: ActiveMQ Artemis > Issue Type: Bug > Reporter: Justin Bertram > Priority: Major > > These issues were found using https://www.ispras.ru/en/technologies/svace/. -- This message was sent by Atlassian Jira (v8.20.10#820010)