From 63c7a9d926e5c603aae2be5d29a9ee40dc400012 Mon Sep 17 00:00:00 2001 From: Hans Joachim Desserud Date: Sun, 11 Jan 2015 11:09:02 +0100 Subject: [PATCH] And since the annotation was switched to avoid name collision, the full name is no longer needed Former-commit-id: ddbe16d074ca2fed635c2e9f4ca8157af0fe9c24 --- .../org/owasp/dependencycheck/data/lucene/LuceneUtils.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dependency-check-core/src/main/java/org/owasp/dependencycheck/data/lucene/LuceneUtils.java b/dependency-check-core/src/main/java/org/owasp/dependencycheck/data/lucene/LuceneUtils.java index d73ba1ae0..3a44c6485 100644 --- a/dependency-check-core/src/main/java/org/owasp/dependencycheck/data/lucene/LuceneUtils.java +++ b/dependency-check-core/src/main/java/org/owasp/dependencycheck/data/lucene/LuceneUtils.java @@ -17,6 +17,7 @@ */ package org.owasp.dependencycheck.data.lucene; +import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; import org.apache.lucene.util.Version; /** @@ -46,7 +47,7 @@ public final class LuceneUtils { * @param text the data to be escaped */ @SuppressWarnings("fallthrough") - @edu.umd.cs.findbugs.annotations.SuppressFBWarnings( + @SuppressFBWarnings( value = "SF_SWITCH_NO_DEFAULT", justification = "The switch below does have a default.") public static void appendEscapedLuceneQuery(StringBuilder buf,