You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code multiplies the result of an integer remaining by an integer constant. Be sure you don't have your operator precedence confused. For example i % 60 * 1000 is (i % 60) * 1000, not i % (60 * 1000).
I tried the official example i % 60 * 1000 with spotbugs maven plugin, but got no warning.
In the official bug description of IM: Integer multiply of result of integer remainder (IM_MULTIPLYING_RESULT_OF_IREM), you say
I tried the official example
i % 60 * 1000
with spotbugs maven plugin, but got no warning.Test code
pom.xml
The text was updated successfully, but these errors were encountered: