[jira] [Updated] (ARTEMIS-4660) BAD_COPY_PASTE in VersionedStompFrameHandler.java

2024-06-19 Thread Justin Bertram (Jira)


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

Justin Bertram updated ARTEMIS-4660:

Description: 
PR: 
[https://github.com/apache/activemq-artemis/pull/4835/commits/b893c6c4d35b42ee2364144c8850bd104caf6fe7]

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.

  was:
PR: 
[https://github.com/apache/activemq-artemis/pull/4835/commits/b893c6c4d35b42ee2364144c8850bd104caf6fe7]

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.


> BAD_COPY_PASTE in VersionedStompFrameHandler.java
> -
>
> Key: ARTEMIS-4660
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4660
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>Affects Versions: 2.32.0
>Reporter: Andrey Slepykh
>Priority: Minor
>
> PR: 
> [https://github.com/apache/activemq-artemis/pull/4835/commits/b893c6c4d35b42ee2364144c8850bd104caf6fe7]
> 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.



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

-
To unsubscribe, e-mail: issues-unsubscr...@activemq.apache.org
For additional commands, e-mail: issues-h...@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact




[jira] [Updated] (ARTEMIS-4660) BAD_COPY_PASTE in VersionedStompFrameHandler.java

2024-03-22 Thread Justin Bertram (Jira)


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

Justin Bertram updated ARTEMIS-4660:

Language:   (was: Java java)

> BAD_COPY_PASTE in VersionedStompFrameHandler.java
> -
>
> Key: ARTEMIS-4660
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4660
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>Affects Versions: 2.32.0
>Reporter: Andrey Slepykh
>Priority: Minor
>
> PR: 
> [https://github.com/apache/activemq-artemis/pull/4835/commits/b893c6c4d35b42ee2364144c8850bd104caf6fe7]
> 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.



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


[jira] [Updated] (ARTEMIS-4660) BAD_COPY_PASTE in VersionedStompFrameHandler.java

2024-03-22 Thread Justin Bertram (Jira)


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

Justin Bertram updated ARTEMIS-4660:

External issue URL:   (was: 
https://github.com/apache/activemq-artemis/pull/4835/commits/b893c6c4d35b42ee2364144c8850bd104caf6fe7)

> BAD_COPY_PASTE in VersionedStompFrameHandler.java
> -
>
> Key: ARTEMIS-4660
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4660
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>Affects Versions: 2.32.0
>Reporter: Andrey Slepykh
>Priority: Minor
>
> PR: 
> [https://github.com/apache/activemq-artemis/pull/4835/commits/b893c6c4d35b42ee2364144c8850bd104caf6fe7]
> 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.



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


[jira] [Updated] (ARTEMIS-4660) BAD_COPY_PASTE in VersionedStompFrameHandler.java

2024-03-22 Thread Justin Bertram (Jira)


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

Justin Bertram updated ARTEMIS-4660:

Component/s: (was: ActiveMQ-Artemis-Native)

> BAD_COPY_PASTE in VersionedStompFrameHandler.java
> -
>
> Key: ARTEMIS-4660
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4660
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>Affects Versions: 2.32.0
>Reporter: Andrey Slepykh
>Priority: Minor
>  Labels: easyfix, pull-request-available
>
> PR: 
> [https://github.com/apache/activemq-artemis/pull/4835/commits/b893c6c4d35b42ee2364144c8850bd104caf6fe7]
> 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.



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


[jira] [Updated] (ARTEMIS-4660) BAD_COPY_PASTE in VersionedStompFrameHandler.java

2024-03-22 Thread Justin Bertram (Jira)


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

Justin Bertram updated ARTEMIS-4660:

Labels:   (was: easyfix pull-request-available)

> BAD_COPY_PASTE in VersionedStompFrameHandler.java
> -
>
> Key: ARTEMIS-4660
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4660
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>Affects Versions: 2.32.0
>Reporter: Andrey Slepykh
>Priority: Minor
>
> PR: 
> [https://github.com/apache/activemq-artemis/pull/4835/commits/b893c6c4d35b42ee2364144c8850bd104caf6fe7]
> 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.



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


[jira] [Updated] (ARTEMIS-4660) BAD_COPY_PASTE in VersionedStompFrameHandler.java

2024-02-28 Thread Andrey Slepykh (Jira)


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

Andrey Slepykh updated ARTEMIS-4660:

Description: 
PR: 
[https://github.com/apache/activemq-artemis/pull/4835/commits/b893c6c4d35b42ee2364144c8850bd104caf6fe7]

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.

  was:
PR: 
[https://github.com/apache/activemq-artemis/pull/4835|https://github.com/apache/activemq-artemis/pull/4831]

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.


> BAD_COPY_PASTE in VersionedStompFrameHandler.java
> -
>
> Key: ARTEMIS-4660
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4660
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: ActiveMQ-Artemis-Native
>Affects Versions: 2.32.0
>Reporter: Andrey Slepykh
>Assignee: Clebert Suconic
>Priority: Minor
>  Labels: easyfix, pull-request-available
>
> PR: 
> [https://github.com/apache/activemq-artemis/pull/4835/commits/b893c6c4d35b42ee2364144c8850bd104caf6fe7]
> 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.



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


[jira] [Updated] (ARTEMIS-4660) BAD_COPY_PASTE in VersionedStompFrameHandler.java

2024-02-28 Thread Andrey Slepykh (Jira)


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

Andrey Slepykh updated ARTEMIS-4660:

External issue URL: 
https://github.com/apache/activemq-artemis/pull/4835/commits/b893c6c4d35b42ee2364144c8850bd104caf6fe7
  (was: https://github.com/apache/activemq-artemis/pull/4835)

> BAD_COPY_PASTE in VersionedStompFrameHandler.java
> -
>
> Key: ARTEMIS-4660
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4660
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: ActiveMQ-Artemis-Native
>Affects Versions: 2.32.0
>Reporter: Andrey Slepykh
>Assignee: Clebert Suconic
>Priority: Minor
>  Labels: easyfix, pull-request-available
>
> PR: 
> [https://github.com/apache/activemq-artemis/pull/4835/commits/b893c6c4d35b42ee2364144c8850bd104caf6fe7]
> 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.



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


[jira] [Updated] (ARTEMIS-4660) BAD_COPY_PASTE in VersionedStompFrameHandler.java

2024-02-28 Thread Andrey Slepykh (Jira)


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

Andrey Slepykh updated ARTEMIS-4660:

External issue URL: https://github.com/apache/activemq-artemis/pull/4835  
(was: https://github.com/apache/activemq-artemis/pull/4831)

> BAD_COPY_PASTE in VersionedStompFrameHandler.java
> -
>
> Key: ARTEMIS-4660
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4660
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: ActiveMQ-Artemis-Native
>Affects Versions: 2.32.0
>Reporter: Andrey Slepykh
>Assignee: Clebert Suconic
>Priority: Minor
>  Labels: easyfix, pull-request-available
>
> PR: 
> [https://github.com/apache/activemq-artemis/pull/4835|https://github.com/apache/activemq-artemis/pull/4831]
> 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.



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


[jira] [Updated] (ARTEMIS-4660) BAD_COPY_PASTE in VersionedStompFrameHandler.java

2024-02-28 Thread Andrey Slepykh (Jira)


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

Andrey Slepykh updated ARTEMIS-4660:

Description: 
PR: 
[https://github.com/apache/activemq-artemis/pull/4835|https://github.com/apache/activemq-artemis/pull/4831]

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.

  was:
PR: https://github.com/apache/activemq-artemis/pull/4831

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.


> BAD_COPY_PASTE in VersionedStompFrameHandler.java
> -
>
> Key: ARTEMIS-4660
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4660
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: ActiveMQ-Artemis-Native
>Affects Versions: 2.32.0
>Reporter: Andrey Slepykh
>Assignee: Clebert Suconic
>Priority: Minor
>  Labels: easyfix, pull-request-available
>
> PR: 
> [https://github.com/apache/activemq-artemis/pull/4835|https://github.com/apache/activemq-artemis/pull/4831]
> 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.



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