Sign in
android
/
platform
/
tools
/
idea
/
2250e7e055295bee73366d360d15ea0270573ef6
/
.
/
plugins
/
InspectionGadgets
/
src
/
inspectionDescriptions
/
UnnecessaryUnaryMinus.html
blob: 8085c9791b97d09403d97b79ad19afe9e7631f7d [
file
] [
log
] [
blame
]
<html>
<body>
Reports any unnecessary unary minuses.
<p>
For example:
<code><pre>
i += -8;
i = i + -8;
</pre></code>
could be replaced by:
<code><pre>
i -= 8;
i = i - 8;
</pre></code>
<!-- tooltip end -->
<p>
</body>
</html>