Skip to main content

Remove useless parentheses (Sonar)

sonar:java/remove-useless-parentheses-s1110

ImportanceReview GuidanceRequires Scanning Tool
LOWMerge Without ReviewYes (Sonar)

This change removes redundant parentheses. These extra parentheses make it harder to understand the code.

Our changes look something like this:


- int leftOver = (int) (((bitCount >>> 3)) & 0x3f);
+ int leftOver = (int) ((bitCount >>> 3) & 0x3f);

References