aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeny Mandrikov <mandrikov@gmail.com>2011-06-17 14:44:03 +0400
committerEvgeny Mandrikov <mandrikov@gmail.com>2011-06-20 12:27:57 +0400
commitbf4635f2145ce38ee3a198c4fb5ea9438793647c (patch)
tree83b043cc53d584ee226478ea495f56bd6036dd97
parent43825bf2f783c41bb0d044e97fce5f7b216ddbbc (diff)
downloadsonarqube-bf4635f2145ce38ee3a198c4fb5ea9438793647c.tar.gz
sonarqube-bf4635f2145ce38ee3a198c4fb5ea9438793647c.zip
Fix violations
-rw-r--r--sonar-batch/src/main/java/org/sonar/batch/bootstrap/JdbcDriverHolder.java2
-rw-r--r--sonar-check-api/src/main/java/org/sonar/check/Message.java3
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/resources/Project.java1
3 files changed, 5 insertions, 1 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/bootstrap/JdbcDriverHolder.java b/sonar-batch/src/main/java/org/sonar/batch/bootstrap/JdbcDriverHolder.java
index 427ac20e3ab..44daab41ad2 100644
--- a/sonar-batch/src/main/java/org/sonar/batch/bootstrap/JdbcDriverHolder.java
+++ b/sonar-batch/src/main/java/org/sonar/batch/bootstrap/JdbcDriverHolder.java
@@ -36,7 +36,7 @@ import java.util.List;
*/
public class JdbcDriverHolder {
- private static Logger LOG = LoggerFactory.getLogger(JdbcDriverHolder.class);
+ private static final Logger LOG = LoggerFactory.getLogger(JdbcDriverHolder.class);
private JdbcDriverClassLoader classLoader;
public JdbcDriverHolder(ArtifactDownloader extensionDownloader) {
diff --git a/sonar-check-api/src/main/java/org/sonar/check/Message.java b/sonar-check-api/src/main/java/org/sonar/check/Message.java
index 41ba1baf1e2..f0896fbdaf1 100644
--- a/sonar-check-api/src/main/java/org/sonar/check/Message.java
+++ b/sonar-check-api/src/main/java/org/sonar/check/Message.java
@@ -22,6 +22,9 @@ package org.sonar.check;
import java.util.Locale;
+/**
+ * @deprecated in 2.3
+ */
@Deprecated
public interface Message {
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/resources/Project.java b/sonar-plugin-api/src/main/java/org/sonar/api/resources/Project.java
index 8780c8b205e..a689a25bb53 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/resources/Project.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/resources/Project.java
@@ -382,6 +382,7 @@ public class Project extends Resource {
*
* @deprecated since 2.6. See http://jira.codehaus.org/browse/SONAR-2126
*/
+ @Deprecated
public Project setFileSystem(ProjectFileSystem fs) {
this.fileSystem = fs;
return this;