This inspection reports any unnecessary unary minuses. For example:
i
+= -8;
i
=
i
+ -8;
could be replaced by
i
-= 8;
i
=
i
- 8;
New in 7, Powered by InspectionGadgets