| <?xml version="1.0" encoding="UTF-8"?> |
| <problems> |
| |
| <problem> |
| <file>MathRandomCastToInt.java</file> |
| <line>6</line> |
| <problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">'Math.random()' cast to 'int'</problem_class> |
| <description><code>Math.random()</code> cast to 'int' is always rounded down to '0' #loc</description> |
| </problem> |
| |
| <problem> |
| <file>MathRandomCastToInt.java</file> |
| <line>7</line> |
| <description><code>Math.random()</code> cast to 'int' is always rounded down to '0' #loc</description> |
| </problem> |
| |
| </problems> |