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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]