added findbugs suppress warning for a false positive

Former-commit-id: c493f8178c129cb73f023b605599dc3dfa558f58
This commit is contained in:
Jeremy Long
2013-05-27 19:59:16 -04:00
parent 7c14017db3
commit 9f08cf553b

View File

@@ -40,6 +40,9 @@ public final class LuceneUtils {
* @param text the data to be escaped
*/
@SuppressWarnings("fallthrough")
@edu.umd.cs.findbugs.annotations.SuppressWarnings(
value = "SF_SWITCH_NO_DEFAULT",
justification = "The switch below does have a default.")
public static void appendEscapedLuceneQuery(StringBuilder buf,
final CharSequence text) {