gemmellr commented on code in PR #5477:
URL: https://github.com/apache/activemq-artemis/pull/5477#discussion_r1932590511


##########
tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v1/ActiveMQBytesMessageTest.java:
##########
@@ -40,7 +40,6 @@ public Object createObject() throws Exception {
    @Override
    protected void populateObject(Object object) throws Exception {
       super.populateObject(object);
-      ActiveMQBytesMessage info = (ActiveMQBytesMessage) object;

Review Comment:
   This removal then also renders the entire method superflous since all it 
does is call super.
   
   I'd either leave it as it is, since these are originally generated files 
from ported tests (so the more we change them, the further from the originals 
they go)...or delete the methods instead of just the variable.
   
   Same goes for the likely tens of other similar cases



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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


Reply via email to