mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-21 08:39:24 +01:00
added findbugs suppress warning for a false positive
Former-commit-id: 439a2c5f6bf957535779f702532d1edb609330e5
This commit is contained in:
@@ -40,6 +40,9 @@ public final class LuceneUtils {
|
|||||||
* @param text the data to be escaped
|
* @param text the data to be escaped
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("fallthrough")
|
@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,
|
public static void appendEscapedLuceneQuery(StringBuilder buf,
|
||||||
final CharSequence text) {
|
final CharSequence text) {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user