io.codemodder.codemods.RemoveUselessParenthesesCodemod.description.md Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core-codemods Show documentation
Show all versions of core-codemods Show documentation
Codemods for fixing common errors across many Java projects
The newest version!
This change removes redundant parentheses. These extra parentheses make it harder to understand the code.
Our changes look something like this:
```diff
- int leftOver = (int) (((bitCount >>> 3)) & 0x3f);
+ int leftOver = (int) ((bitCount >>> 3) & 0x3f);
```