aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-squid-java-plugin
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2011-11-03 15:34:10 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2011-11-03 15:34:18 +0100
commit1c87ee80aeefcac5ea4934a4b8d3ccdd20dfbde1 (patch)
treec416d3460d15e668a16d47acc09c5c867867e162 /plugins/sonar-squid-java-plugin
parentb0d440578ea601e2f3fdc3afe624cfb13a4aea51 (diff)
downloadsonarqube-1c87ee80aeefcac5ea4934a4b8d3ccdd20dfbde1.tar.gz
sonarqube-1c87ee80aeefcac5ea4934a4b8d3ccdd20dfbde1.zip
Fix coding violations
Diffstat (limited to 'plugins/sonar-squid-java-plugin')
-rw-r--r--plugins/sonar-squid-java-plugin/src/main/java/org/sonar/plugins/squid/bridges/DependencyIndex.java1
-rw-r--r--plugins/sonar-squid-java-plugin/src/main/java/org/sonar/plugins/squid/bridges/ResourceIndex.java2
2 files changed, 3 insertions, 0 deletions
diff --git a/plugins/sonar-squid-java-plugin/src/main/java/org/sonar/plugins/squid/bridges/DependencyIndex.java b/plugins/sonar-squid-java-plugin/src/main/java/org/sonar/plugins/squid/bridges/DependencyIndex.java
index f46c399e9b4..8ecf0417a0d 100644
--- a/plugins/sonar-squid-java-plugin/src/main/java/org/sonar/plugins/squid/bridges/DependencyIndex.java
+++ b/plugins/sonar-squid-java-plugin/src/main/java/org/sonar/plugins/squid/bridges/DependencyIndex.java
@@ -25,4 +25,5 @@ import org.sonar.graph.Edge;
import java.util.HashMap;
public final class DependencyIndex extends HashMap<Edge, Dependency> {
+ private static final long serialVersionUID = -3915853089587077911L;
}
diff --git a/plugins/sonar-squid-java-plugin/src/main/java/org/sonar/plugins/squid/bridges/ResourceIndex.java b/plugins/sonar-squid-java-plugin/src/main/java/org/sonar/plugins/squid/bridges/ResourceIndex.java
index ba49a80d6de..dcb0a150e8e 100644
--- a/plugins/sonar-squid-java-plugin/src/main/java/org/sonar/plugins/squid/bridges/ResourceIndex.java
+++ b/plugins/sonar-squid-java-plugin/src/main/java/org/sonar/plugins/squid/bridges/ResourceIndex.java
@@ -39,6 +39,8 @@ import java.util.HashMap;
public final class ResourceIndex extends HashMap<SourceCode, Resource> {
+ private static final long serialVersionUID = -918346378374943773L;
+
public ResourceIndex loadSquidResources(Squid squid, SensorContext context, Project project) {
loadSquidProject(squid, project);
loadSquidPackages(squid, context);