Checkstyle

zhaozj2021-02-16  41

Author: New Profile Hu: In 2002 graduated from a university in Xi'an and computing mathematics, has been studying with JAVA and JAVA bread, of course, concerned about the little things OpenSource personal credo: mortal Olics, the same dedication same trouble! Personal blog: Olics.blogone.net exchange email: lics@163.com, because you know the reason, I don't collect garbage and advertisement, thank you for your cooperation msn: lics@msn.com

The benefit of the code format, I don't want to say, everyone will definitely understand its advantages, otherwise you will not see this document. Here I use Checkstyle3.4 as an example, explain the use of Checkstyle, exactly it is Detailed explanation of configuration, if you are checkstyle3.4, then some module will not be allowed, please delete; in this document I tried to analyze all Module, while the following document It is also my setting, I'm commented on the settings I don't like, if you need to cancel your comment or how !! Checkstyle introduction, it is currently the most widely used code check tool, powerful, easy to operate, and ANT combination Using, the most important thing is that it is Open Source, you don't have to worry about receiving a lawyer, haha! Home: http://checkstyle.sourceforge.net/ Download this article: lics_checkstyle_checks.zip

Start our explanation: First, checkstyle can be used in conjunction with Ant, the following is the Ant footpoint segment < ! -CheckStyle pace ->