From 879546f69dfa89a2a0079d90c465f84da3abdcd0 Mon Sep 17 00:00:00 2001 From: Philip Leonard Date: Fri, 26 May 2023 13:59:35 +0200 Subject: [PATCH] Better summary --- .../errorprone/bugpatterns/MongoFullTextSearchQueryUsage.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/MongoFullTextSearchQueryUsage.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/MongoFullTextSearchQueryUsage.java index 55086f74c99..4b7db6bbbbc 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/MongoFullTextSearchQueryUsage.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/MongoFullTextSearchQueryUsage.java @@ -24,7 +24,8 @@ */ @AutoService(BugChecker.class) @BugPattern( - summary = "Usage of the Mongo FTS ($text) queries is discouraged", + summary = + "Usage of Mongo for full-text search queries via the `$text` operator is discouraged.", link = BUG_PATTERNS_BASE_URL + "MongoFullTextSearchQueryUsage", linkType = CUSTOM, severity = WARNING,