Go to file
Michal Kordas 5de9cd8c77 Use constants for empty arrays of zero length. #1555
Fixes `ZeroLengthArrayInitialization` inspection violations.

Description:
>Reports on allocations of arrays with known lengths of zero. Since array lengths in Java are non-modifiable, it is almost always possible to share zero-length arrays, rather than repeatedly allocating new zero-length arrays. Such sharing may provide useful optimizations in program runtime or footprint. Note that this inspection does not report zero-length arrays allocated as static final fields, as it is assumed that those arrays are being used to implement array sharing.
2015-08-27 13:20:42 -07:00
config Issue #1566: Added NPathComplexityCheck to checkstyle_checks 2015-08-27 13:23:44 -04:00
src Use constants for empty arrays of zero length. #1555 2015-08-27 13:20:42 -07:00
.gitattributes Add LineSeparatorOption.LF_CR_CRLF. Issue #1045 2015-05-21 11:48:15 -07:00
.gitignore Fix typos in xdocs. #1555 2015-08-25 04:53:48 -07:00
.travis.yml 6.10-SNAPSHOT 2015-08-07 16:57:36 +03:00
LICENSE Remove unnecessary consecutive lines in Checkstyle code. #1534 2015-08-02 18:41:32 -07:00
LICENSE.apache20 chmod all files to 644 2013-10-05 00:22:22 -04:00
README.md Corrected links on website, issue #751 2015-08-09 18:49:19 +03:00
RIGHTS.antlr Remove obsolete double spaces 2015-03-09 23:26:22 -07:00
appveyor.yml appveyor: matrix: fast_finish: true 2015-07-24 23:38:19 -07:00
fast-forward-merge.sh script to make linear history (fast forward) in git 2014-03-23 16:04:04 -07:00
pom.xml Indentation fix for pom.xml. Issue #46 2015-08-26 22:37:54 +01:00

README.md

Members chat: Contributors chat: https://gitter.im/checkstyle/checkstyle

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)