lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <>
Subject [jira] [Created] (LUCENE-4362) ban tab-indented source
Date Wed, 05 Sep 2012 04:47:07 GMT
Robert Muir created LUCENE-4362:

             Summary: ban tab-indented source
                 Key: LUCENE-4362
             Project: Lucene - Core
          Issue Type: Task
            Reporter: Robert Muir

This makes code really difficult to read and work with.
Its easy enough to prevent.

Index: build.xml
--- build.xml	(revision 1380979)
+++ build.xml	(working copy)
@@ -77,11 +77,12 @@
           <containsregexp expression="@author\b" casesensitive="yes"/>
           <containsregexp expression="\bno(n|)commit\b" casesensitive="no"/>
+          <containsregexp expression="\t" casesensitive="no"/>
       <map from="${validate.currDir}${file.separator}" to="* "/>
-    <fail if="validate.patternsFound">The following files contain @author tags or nocommits:${line.separator}${validate.patternsFound}</fail>
+    <fail if="validate.patternsFound">The following files contain @author tags, tabs
or nocommits:${line.separator}${validate.patternsFound}</fail>

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message