You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by cp...@apache.org on 2018/01/08 20:22:11 UTC

[3/4] lucene-solr:branch_7x: LUCENE-8115: fail precommit on unnecessary-on-its-own {@inheritDoc} annotations.

LUCENE-8115: fail precommit on unnecessary-on-its-own {@inheritDoc} annotations.


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/88bcf22c
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/88bcf22c
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/88bcf22c

Branch: refs/heads/branch_7x
Commit: 88bcf22cca630aa2b409c59105682421d66e8232
Parents: e10f5d2
Author: Christine Poerschke <cp...@apache.org>
Authored: Mon Jan 8 19:46:22 2018 +0000
Committer: Christine Poerschke <cp...@apache.org>
Committed: Mon Jan 8 20:08:06 2018 +0000

----------------------------------------------------------------------
 build.xml | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/88bcf22c/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 9db8312..78e0295 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',