[
https://issues.apache.org/jira/browse/ARTEMIS-2320?focusedWorklogId=233897&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-233897
]
ASF GitHub Bot logged work on ARTEMIS-2320:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 27/Apr/19 07:46
Start Date: 27/Apr/19 07:46
Worklog Time Spent: 10m
Work Description: michaelandrepearce commented on 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]
Issue Time Tracking
-------------------
Worklog Id: (was: 233897)
Time Spent: 2h 10m (was: 2h)
> Upgrade errorprone compiler dependency to 2.3.3 and review the new warnings
> ---------------------------------------------------------------------------
>
> Key: ARTEMIS-2320
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2320
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Components: Broker
> Affects Versions: 2.7.0
> Reporter: Jiri Daněk
> Priority: Minor
> Time Spent: 2h 10m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)