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

This commit is contained in:
Christine Poerschke 2018-01-08 19:46:22 +00:00
parent 07afc23dce
commit ad6e8b82ec
1 changed files with 1 additions and 0 deletions

View File

@ -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',