Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-16427: Evaluate and fix errorprone rules - InvalidInlineTag

Kevin Risdenada5473b8093
diff --git a/gradle/validation/error-prone.gradle b/gradle/validation/error-prone.gradle
index 5c9fc2aa932..9be7a74d2e6 100644
--- a/gradle/validation/error-prone.gradle
+++ b/gradle/validation/error-prone.gradle
@@ -100,7 +100,6 @@ allprojects { prj ->
'-Xep:InputStreamSlowMultibyteRead:OFF',
'-Xep:IntLongMath:OFF',
'-Xep:InvalidBlockTag:OFF', // this is needed for tags like lucene.internal
- '-Xep:InvalidInlineTag:OFF',
'-Xep:InvalidParam:OFF',
'-Xep:JavaLangClash:OFF',
'-Xep:JavaUtilDate:OFF',
diff --git a/solr/core/src/java/org/apache/solr/spelling/suggest/jaspell/JaspellTernarySearchTrie.java b/solr/core/src/java/org/apache/solr/spelling/suggest/jaspell/JaspellTernarySearchTrie.java
index ff2a4c489aa..7e2ee78524c 100644
--- a/solr/core/src/java/org/apache/solr/spelling/suggest/jaspell/JaspellTernarySearchTrie.java
+++ b/solr/core/src/java/org/apache/solr/spelling/suggest/jaspell/JaspellTernarySearchTrie.java
@@ -764,7 +764,7 @@ public class JaspellTernarySearchTrie implements Accountable {
* the methods mentioned above provide overloaded versions that allow you to specify the maximum
* number of return values, in which case this value is temporarily overridden.
*
- * <p>*@param num The number of values that will be returned when calling the methods above.
+ * @param num The number of values that will be returned when calling the methods above.
*/
public void setNumReturnValues(int num) {
defaultNumReturnValues = (num < 0) ? -1 : num;