diff options
author | Evgeny Mandrikov <mandrikov@gmail.com> | 2011-11-07 00:06:37 +0400 |
---|---|---|
committer | Evgeny Mandrikov <mandrikov@gmail.com> | 2011-11-07 00:26:32 +0400 |
commit | ba029cb715b4e6fba210ca48d73289b749165946 (patch) | |
tree | 8aa2c605465910164892856e245a4b1c1025f21f /plugins/sonar-squid-java-plugin | |
parent | 3a61986c5815fda72fd97aff91d69e56e7364d1d (diff) | |
download | sonarqube-ba029cb715b4e6fba210ca48d73289b749165946.tar.gz sonarqube-ba029cb715b4e6fba210ca48d73289b749165946.zip |
Fix 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/NoSonarFilterLoader.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/sonar-squid-java-plugin/src/main/java/org/sonar/plugins/squid/bridges/NoSonarFilterLoader.java b/plugins/sonar-squid-java-plugin/src/main/java/org/sonar/plugins/squid/bridges/NoSonarFilterLoader.java index e73de853a8a..0fa8fd0e05b 100644 --- a/plugins/sonar-squid-java-plugin/src/main/java/org/sonar/plugins/squid/bridges/NoSonarFilterLoader.java +++ b/plugins/sonar-squid-java-plugin/src/main/java/org/sonar/plugins/squid/bridges/NoSonarFilterLoader.java @@ -42,9 +42,7 @@ public class NoSonarFilterLoader extends Bridge { @Override public void onFile(SourceFile squidFile, Resource sonarFile) { if (noSonarFilter != null) { - // lines with NOSONAR tag Set<Integer> ignoredLines = new HashSet<Integer>(squidFile.getNoSonarTagLines()); - // classes and methods with annotation SuppressWarnings new SquidVisitorNotifier(squidFile, new SuppressWarningsVisitor(ignoredLines)).notifyVisitors(); noSonarFilter.addResource(sonarFile, ignoredLines); |