dweiss commented on code in PR #14988:
URL: https://github.com/apache/lucene/pull/14988#discussion_r2227473294


##########
build-tools/build-infra/src/main/groovy/lucene.validation.source-patterns.gradle:
##########
@@ -97,9 +97,7 @@ class ValidateSourcePatternsTask extends DefaultTask {
 
   @TaskAction
   public void check() {
-    def invalidPatterns = [
-      (~$/\Q/**\E((?:\s)|(?:\*))*\Q{@inheritDoc}\E((?:\s)|(?:\*))*\Q*/\E/$) : 
'{@inheritDoc} on its own is unnecessary',
-    ]
+    def invalidPatterns = []

Review Comment:
   Ah... if so then indeed the check becomes much, much simpler. Thank you. 
I'll strip the unused parts when converting it to java (which I'm doing in 
another pr).



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to