Skip to content

Commit

Permalink
Stop truncating long sequence numbers in audittrails to ints
Browse files Browse the repository at this point in the history
  • Loading branch information
kingudk committed Jun 8, 2021
1 parent 99537e4 commit 3a81d0a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ protected void sendRequest() {
msg.setContributor(query.getComponentID());
msg.setDestination(activeContributors.get(query.getComponentID()));
if (query.getMinSequenceNumber() != null) {
msg.setMinSequenceNumber(BigInteger.valueOf(query.getMinSequenceNumber().intValue()));
msg.setMinSequenceNumber(BigInteger.valueOf(query.getMinSequenceNumber().longValue()));
}
if (query.getMaxSequenceNumber() != null) {
msg.setMaxSequenceNumber(BigInteger.valueOf(query.getMaxSequenceNumber().intValue()));
msg.setMaxSequenceNumber(BigInteger.valueOf(query.getMaxSequenceNumber().longValue()));
}
if (query.getMaxNumberOfResults() != null) {
msg.setMaxNumberOfResults(BigInteger.valueOf(query.getMaxNumberOfResults().intValue()));
Expand Down

0 comments on commit 3a81d0a

Please sign in to comment.