Apache Lucene open-source search software
LUCENE-8115: fail precommit on unnecessary-on-its-own {@inheritDoc} annotations.
Christine Poerschkead6e8b82ec9c
diff --git a/build.xml b/build.xmlindex 9db8312f383..78e0295c20d 100755--- a/build.xml+++ b/build.xml@@ -145,6 +145,7 @@(~$/(?i)\bno(n|)commit\b/$) : 'nocommit',(~$/\bTOOD:/$) : 'TOOD instead TODO',(~$/\t/$) : 'tabs instead spaces',+ (~$/\Q/**\E((?:\s)|(?:\*))*\Q{@inheritDoc}\E((?:\s)|(?:\*))*\Q*/\E/$) : '{@inheritDoc} on its own is unnecessary',(~$/\$$(?:LastChanged)?Date\b/$) : 'svn keyword',(~$/\$$(?:(?:LastChanged)?Revision|Rev)\b/$) : 'svn keyword',(~$/\$$(?:LastChangedBy|Author)\b/$) : 'svn keyword',