Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian W. Damus2017-07-04 15:00:52 +0000
committerLaurent Goubet2017-07-06 09:51:08 +0000
commit05cddc96b4e6e7359707344219b92f4284036f21 (patch)
tree6a6fe48a12d143ed1c0af3ebc5b55ad4cfc7f35d /org.eclipse.emf.compare-parent
parent6a711952a06f70b3be58c997fd5041dc4b809adf (diff)
downloadorg.eclipse.emf.compare-05cddc96b4e6e7359707344219b92f4284036f21.tar.gz
org.eclipse.emf.compare-05cddc96b4e6e7359707344219b92f4284036f21.tar.xz
org.eclipse.emf.compare-05cddc96b4e6e7359707344219b92f4284036f21.zip
[519170] [Checkstyle] Author format constraint is too restrictive
Allow more flexibility in the name (still at least two names required, even if one is an initial) and in the e-mail address. Use a beginning-of-input anchor to try to enforce the e-mail tag format if there is anything before the name. Bug: 519170 Signed-off-by: Christian W. Damus <give.a.damus@gmail.com> Change-Id: I199d6eef474b5bb3755bd2e1d5ea826c3ac61913
Diffstat (limited to 'org.eclipse.emf.compare-parent')
-rw-r--r--org.eclipse.emf.compare-parent/codeStyle/EMFCompareCheckstyle6Configuration.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.emf.compare-parent/codeStyle/EMFCompareCheckstyle6Configuration.xml b/org.eclipse.emf.compare-parent/codeStyle/EMFCompareCheckstyle6Configuration.xml
index 31e9e1d7b..8c9c17f51 100644
--- a/org.eclipse.emf.compare-parent/codeStyle/EMFCompareCheckstyle6Configuration.xml
+++ b/org.eclipse.emf.compare-parent/codeStyle/EMFCompareCheckstyle6Configuration.xml
@@ -27,7 +27,7 @@
</module>
<module name="JavadocType">
<property name="severity" value="error"/>
- <property name="authorFormat" value="(&lt;a href=&quot;mailto:[a-z.]+@[a-z.]+\.[a-z]{2,4}\&quot;&gt;)?[A-Z][a-z]+\s[A-Z][a-z]+(&lt;/a&gt;)?"/>
+ <property name="authorFormat" value="^(&lt;a href=&quot;mailto:[a-z0-9+.]+@[a-z0-9.]+\.[a-z]{2,}\&quot;&gt;)?(([A-Z][a-z]+|[A-Z]\.?)\s)+[A-Z][a-z]+(&lt;/a&gt;)?"/>
<property name="allowUnknownTags" value="true"/>
</module>
<module name="JavadocVariable">

Back to the top