Hi,
I’d like to suggest a new rule for Sonarqube.
This rule would recommend int foo = java.util.Math.toIntExact(longVariable) over int foo = (int) longVariable.
Hi,
I’d like to suggest a new rule for Sonarqube.
This rule would recommend int foo = java.util.Math.toIntExact(longVariable) over int foo = (int) longVariable.