added findbugs suppress warning for a false positive

Former-commit-id: 439a2c5f6bf957535779f702532d1edb609330e5
This commit is contained in:
Jeremy Long
2013-05-27 19:59:16 -04:00
parent 88037af7ef
commit ea3672dd08

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) {