AutoRefactor
AutoRefactor copied to clipboard
New refactoring - remove unnecessary primitive type suffix in literals
Given
The following code:
long l1 = 0l;
long l2 = 0L;
double d1 = 0.0d;
double d2 = 0.0D;
if (l1 == 0L) ...
if (d1 == 0D) ...
When
...applying automatic refactoring...
Then
code should be rewritten to:
long l1 = 0;
long l2 = 0;
double d1 = 0.0;
double d2 = 0.0;
if (l1 == 0) ...
if (d1 == 0) ...