diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2011-03-27 23:43:19 +0200 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2011-03-27 23:43:19 +0200 |
commit | d4ae5228bb668e65baa644b52d41286d5f3d55cd (patch) | |
tree | 8b3f18401fade28db31c1b9364e2f4ebad2b017d /plugins/sonar-findbugs-plugin | |
parent | 2b560c35ab24a4f7db27d7e180a64e830b9a56a1 (diff) | |
download | sonarqube-d4ae5228bb668e65baa644b52d41286d5f3d55cd.tar.gz sonarqube-d4ae5228bb668e65baa644b52d41286d5f3d55cd.zip |
Fix coding violations
Diffstat (limited to 'plugins/sonar-findbugs-plugin')
-rw-r--r-- | plugins/sonar-findbugs-plugin/src/main/java/org/sonar/plugins/findbugs/FindbugsPlugin.java | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/plugins/sonar-findbugs-plugin/src/main/java/org/sonar/plugins/findbugs/FindbugsPlugin.java b/plugins/sonar-findbugs-plugin/src/main/java/org/sonar/plugins/findbugs/FindbugsPlugin.java index 29eb7551453..994b9e46f46 100644 --- a/plugins/sonar-findbugs-plugin/src/main/java/org/sonar/plugins/findbugs/FindbugsPlugin.java +++ b/plugins/sonar-findbugs-plugin/src/main/java/org/sonar/plugins/findbugs/FindbugsPlugin.java @@ -19,27 +19,25 @@ */ package org.sonar.plugins.findbugs; +import org.sonar.api.*; + import java.util.ArrayList; import java.util.List; -import org.sonar.api.CoreProperties; -import org.sonar.api.Extension; -import org.sonar.api.Plugin; -import org.sonar.api.Properties; -import org.sonar.api.Property; - @Properties({ @Property( key = CoreProperties.FINDBUGS_EFFORT_PROPERTY, defaultValue = CoreProperties.FINDBUGS_EFFORT_DEFAULT_VALUE, name = "Effort", - description = "Effort of the bug finders. Valid values are Min, Default and Max. Setting 'Max' increases precision but also increases memory consumption.", + description = "Effort of the bug finders. Valid values are Min, Default and Max. Setting 'Max' increases precision but also increases " + + "memory consumption.", project = true, module = true, global = true), @Property( key = CoreProperties.FINDBUGS_TIMEOUT_PROPERTY, defaultValue = CoreProperties.FINDBUGS_TIMEOUT_DEFAULT_VALUE + "", name = "Timeout", - description = "Specifies the amount of time, in milliseconds, that FindBugs may run before it is assumed to be hung and is terminated. The default is 600,000 milliseconds, which is ten minutes.", + description = "Specifies the amount of time, in milliseconds, that FindBugs may run before it is assumed to be hung and is terminated. " + + "The default is 600,000 milliseconds, which is ten minutes.", project = true, module = true, global = true) }) public class FindbugsPlugin implements Plugin { @@ -52,7 +50,8 @@ public class FindbugsPlugin implements Plugin { } public String getDescription() { - return "FindBugs is a program that uses static analysis to look for bugs in Java code. It can detect a variety of common coding mistakes, including thread synchronization problems, misuse of API methods... You can find more by going to the <a href='http://findbugs.sourceforge.net'>Findbugs web site</a>."; + return "FindBugs is a program that uses static analysis to look for bugs in Java code. It can detect a variety of common coding mistakes, " + + "including thread synchronization problems, misuse of API methods... You can find more by going to the <a href='http://findbugs.sourceforge.net'>Findbugs web site</a>."; } public List<Class<? extends Extension>> getExtensions() { |