Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

(v3.2.0) Java: checkstyle

LCD 47 edited this page Dec 13, 2014 · 1 revision

Maintainer: Dmitry Geurkov [email protected]

Checkstyle is a style checker for Java. See the project's page for details.

Checker options:

g:syntastic_java_checkstyle_classpath (string; default: `checkstyle-5.5-all.jar`)
path to checkstyle-*-all.jar
g:syntastic_java_checkstyle_conf_file (string; default: `sun_checks.xml`)
path to the configuration file to use.

Notes:

  1. The checker was tested with checkstyle version 5.5. If you're using it with version 5.6 you should remove DoubleCheckedLocking from your configuration file.
  2. At the time of this writing, the checkstyle checker doesn't distinguish between error severity levels. All messages are treated as errors, regardless of their severity defined in the checkstyle config file.
Clone this wiki locally