We're updating the issue view to help you get more done. 

Implicit narrowing conversion in compound assignment

Description

Found by CodeQL:

Compound assignment statements (for example 'intvar += longvar') that implicitly cast a value of a wider type to a narrower type may result in information loss and numeric errors such as overflows.

Ensure that the type of the left-hand side of the compound assignment statement is at least as wide as the type of the right-hand side.

This affects xmppserver/src/main/java/org/jivesoftware/database/ProfiledConnection.java

Environment

None

Acceptance Test - Entry

None

Assignee

Guus der Kinderen

Reporter

Guus der Kinderen

Labels

None

Expected Effort

None

Ignite Forum URL

None

Fix versions

Priority

Minor
Configure