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


##########
tests/unit-tests/src/test/java/org/apache/activemq/artemis/tests/unit/core/message/impl/MessageImplTest.java:
##########
@@ -345,14 +346,11 @@ public void run() {
             }
          }
       }
-
-      final String bigString;
       {
          StringBuffer buffer = new StringBuffer();
          for (int i = 0; i < 500; i++) {
             buffer.append(" ");
          }
-         bigString = buffer.toString();

Review Comment:
   The variable may have been unused before but this change just leaves the 
buffer behind, itself also still effectively unused.



-- 
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