checkstyle
Allow simple if statement without else to have no braces in codestyle
I use checkstyle to check if my java code respects the guidelines of our project. However, we have one guideline that I cannot figure out how to check with this tool. We want to allow simple if (unde[详细]
2023-03-08 10:02 分类:问答tortoise svn fails to import to repository due to Inconsistent line ending style
I was very excited to see that there is a check-style like plugin called CheckStyle-IDEA plugin for IntelliJ that i can enforce code style on the source.[详细]
2023-03-03 12:28 分类:问答Different Checkstyle Rules For Main And Test In Maven
I am trying to setup a maven project such that I will be able to run checkstyle using two distinct rule sets: one for main, and one for test. What I would like to do is something along the lines of:[详细]
2023-03-03 01:55 分类:问答maven sonar plugin use checkstyle rules from pom
Is there a way to get sonar to use the checkstyle configuration from my pom file? I have the maven checkstyle plugin setup, and I have the maven sonar plugin (version 2.7) setup, but sonar seems to us[详细]
2023-03-01 23:27 分类:问答Checkstyle "Method Not Designed For Extension" error being incorrectly issued?
I\'m using Checkstyle and am getting an error about this method:开发者_JAVA技巧 public final String getAdmitCodeStatus() {[详细]
2023-02-28 19:33 分类:问答Checkstyle SuppressionCommentFilter not ignoring specified rule
I have a checkstyle.xml that looks something like this: <module name=\"Checker\"> .... <module name=\"SuppressionCommentFilter\">[详细]
2023-02-27 23:57 分类:问答Ease of writing custom rules in (Java) static code analysis tools
At present I am working for a group where source code (Java) for multiple projects have to be analysed by static code analysic tools[详细]
2023-02-26 02:02 分类:问答Checkstyle for ColdFusion?
I开发者_开发技巧s there some kind of Checkstyle plug-in for Eclipse available for ColdFusion.There aren\'t really any coding specifications for ColdFusion.Sean Corfield wrote one for Macromedia\'s int[详细]
2023-02-25 18:45 分类:问答Maven Checkstyle Site
this question seems to be quite common, but I really couldn\'t make it work from the existing answers.[详细]
2023-02-21 19:35 分类:问答Eclipse CheckStyle Marker
I think this is a question for eclipse experts. Where is the checkstyle marker location? I am using a plug in that is calculating warnings that apper in project and andit shows me zero checkstyle warn[详细]
2023-02-21 05:05 分类:问答