From 1c87ee80aeefcac5ea4934a4b8d3ccdd20dfbde1 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Thu, 3 Nov 2011 15:34:10 +0100 Subject: Fix coding violations --- .../src/main/java/org/sonar/plugins/squid/bridges/DependencyIndex.java | 1 + .../src/main/java/org/sonar/plugins/squid/bridges/ResourceIndex.java | 2 ++ 2 files changed, 3 insertions(+) (limited to 'plugins/sonar-squid-java-plugin') 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 { + 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 { + private static final long serialVersionUID = -918346378374943773L; + public ResourceIndex loadSquidResources(Squid squid, SensorContext context, Project project) { loadSquidProject(squid, project); loadSquidPackages(squid, context); -- cgit v1.2.3