remove checkstyle ExplicitInitialization check

"Variable explicitly initialized to 'false' (default value for its type)"

I never remember what the default init value of booleans are, so this error
is quite annoying to me, and I can't see the harm of this behavior.
checkstyle says: "So in this case, x gets initialized to 0 twice, and bar
gets initialized to null twice. So there is a minor inefficiency."
This commit is contained in:
Hans-Christoph Steiner 2016-03-23 15:57:12 +01:00
parent 538830d5a3
commit 9656de0147

View File

@ -81,7 +81,6 @@
<module name="WhitespaceAfter" />
<module name="WhitespaceAround" />
<module name="UnnecessaryParentheses" />
<module name="ExplicitInitialization" />
<module name="ModifierOrder" />
<module name="RedundantModifier" />