michaelandrepearce commented on a change in pull request #2650:  ARTEMIS-2320 
Multiple math-related fixes
URL: https://github.com/apache/activemq-artemis/pull/2650#discussion_r279147013
 
 

 ##########
 File path: 
artemis-server/src/test/java/org/apache/activemq/artemis/tests/util/ActiveMQTestBase.java
 ##########
 @@ -1783,7 +1783,7 @@ protected final void receiveMessages(ClientConsumer 
consumer,
       journal.load(committedRecords, preparedTransactions, null, false);
 
       for (RecordInfo info : committedRecords) {
-         Integer ikey = new Integer(info.getUserRecordType());
+         Integer ikey = (int) info.getUserRecordType();
 
 Review comment:
   Correct way would actually be to call intValue

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to