Github user jdanekrh commented on the pull request: https://github.com/apache/activemq-artemis/commit/dc41f3ca491e96e199290a225fdaa07ac05d66df#commitcomment-27434650 In artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ActiveMQServerImpl.java: In artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ActiveMQServerImpl.java on line 2522: There is one more case of this ``` ________________________________________________________________________________________________________ *** CID 1465020: (FB.BX_UNBOXING_IMMEDIATELY_REBOXED) /activemq-artemis/artemis-jms-client/src/main/java/org/apache/activemq/artemis/jms/client/ActiveMQSession.java: 1187 in org.apache.activemq.artemis.jms.client.ActiveMQSession.createSharedQueue(org.apache.activemq.artemis.jms.client.ActiveMQDestination, org.apache.activemq.artemis.api.core.RoutingType, org.apache.activemq.artemis.api.core.SimpleString, org.apache.activemq.artemis.api.core.SimpleString, boolean, int, boolean, java.lang.Boolean, java.lang.Boolean)() 1181 session.createSharedQueue( 1182 destination.getSimpleAddress(), 1183 routingType, 1184 queueName, 1185 filter, 1186 durable, >>> CID 1465020: (FB.BX_UNBOXING_IMMEDIATELY_REBOXED) >>> Boxed value is unboxed and then immediately reboxed. 1187 queueAttributes.getMaxConsumers() == null ? maxConsumers : queueAttributes.getMaxConsumers(), 1188 queueAttributes.getPurgeOnNoConsumers() == null ? purgeOnNoConsumers : queueAttributes.getPurgeOnNoConsumers(), 1189 queueAttributes.getExclusive() == null ? exclusive : queueAttributes.getExclusive(), 1190 queueAttributes.getLastValue() == null ? lastValue : queueAttributes.getLastValue() 1191 ); 1192 } /activemq-artemis/artemis-jms-client/src/main/java/org/apache/activemq/artemis/jms/client/ActiveMQSession.java: 1188 in org.apache.activemq.artemis.jms.client.ActiveMQSession.createSharedQueue(org.apache.activemq.artemis.jms.client.ActiveMQDestination, org.apache.activemq.artemis.api.core.RoutingType, org.apache.activemq.artemis.api.core.SimpleString, org.apache.activemq.artemis.api.core.SimpleString, boolean, int, boolean, java.lang.Boolean, java.lang.Boolean)() 1182 destination.getSimpleAddress(), 1183 routingType, 1184 queueName, 1185 filter, 1186 durable, 1187 queueAttributes.getMaxConsumers() == null ? maxConsumers : queueAttributes.getMaxConsumers(), >>> CID 1465020: (FB.BX_UNBOXING_IMMEDIATELY_REBOXED) >>> Boxed value is unboxed and then immediately reboxed. 1188 queueAttributes.getPurgeOnNoConsumers() == null ? purgeOnNoConsumers : queueAttributes.getPurgeOnNoConsumers(), 1189 queueAttributes.getExclusive() == null ? exclusive : queueAttributes.getExclusive(), 1190 queueAttributes.getLastValue() == null ? lastValue : queueAttributes.getLastValue() 1191 ); 1192 } 1193 } ```
---