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

[27/50] [abbrv] lucene-solr:jira/solr-11702: 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/ad6e8b82
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/ad6e8b82
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/ad6e8b82

Branch: refs/heads/jira/solr-11702
Commit: ad6e8b82ec9c2f886c3fd14efc0b9a8634776434
Parents: 07afc23
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 19:46:22 2018 +0000

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


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ad6e8b82/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',