Fixes `ReuseOfLocalVariable` inspection violation. Description: >Reports local variables that are "reused", overwriting their values with new values unrelated to their original use. Such local variable reuse may be confusing, as the intended semantics of the local variable may vary with each use. It may also be prone to bugs, if code changes result in values that were thought to be overwritten actually being live. It is good practices to keep variable lifetimes as short as possible, and not reuse local variables for the sake of brevity. |
||
|---|---|---|
| config | ||
| src | ||
| .gitattributes | ||
| .gitignore | ||
| .travis.yml | ||
| LICENSE | ||
| LICENSE.apache20 | ||
| README.md | ||
| RIGHTS.antlr | ||
| appveyor.yml | ||
| fast-forward-merge.sh | ||
| pom.xml | ||
README.md
Members chat:
Contributors chat:
Checkstyle is a tool for checking Java source code for adherence to a Code Standard or set of validation rules (best practices).
The latest version can be found at SourceForge downloads or at Maven repo.
Documentation is available in HTML format, see http://checkstyle.sourceforge.net/checks.html.
Continuous integration and Quality reports
Travis (Linux build):
Appveyor (Windows build):
Quality reports: http://checkstyle.sourceforge.net/project-reports.html
Feedback/Support
Please send any feedback to https://groups.google.com/forum/?hl=en#!forum/checkstyle
Questions and Answers from community:
Bugs and Feature requests: https://github.com/checkstyle/checkstyle/issues
Licensing
This software is licensed under the terms in the file named "LICENSE" in this directory.
The software uses the ANTLR package (http://www.antlr.org). Its license terms are in the file named "RIGHTS.antlr" in this directory.
This product includes software developed by The Apache Software Foundation (http://www.apache.org/).
The software uses the Cli, Logging and Beanutils packages from the Apache Commons project (http://commons.apache.org/). The license terms of these packages are in the file named "LICENSE.apache20" in this directory.
The software uses the Google Guava Libraries (https://code.google.com/p/guava-libraries/). The license terms of these packages are in the file named "LICENSE.apache20" in this directory.
[gitterpublic img]:https://badges.gitter.im/Join%20Chat.svg)

