accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmil...@apache.org
Subject [accumulo-testing] branch master updated: ACCUMULO-4717 Tweak regex for API checkstyle
Date Fri, 06 Oct 2017 20:35:41 GMT
This is an automated email from the ASF dual-hosted git repository.

mmiller pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/accumulo-testing.git


The following commit(s) were added to refs/heads/master by this push:
     new d71c061  ACCUMULO-4717 Tweak regex for API checkstyle
d71c061 is described below

commit d71c061a9d1c063cc646f1680d371d20a8b91dd3
Author: Mike Miller <mmiller@apache.org>
AuthorDate: Fri Oct 6 16:34:41 2017 -0400

    ACCUMULO-4717 Tweak regex for API checkstyle
---
 contrib/checkstyle.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/checkstyle.xml b/contrib/checkstyle.xml
index 54d2a94..68bb068 100644
--- a/contrib/checkstyle.xml
+++ b/contrib/checkstyle.xml
@@ -19,7 +19,7 @@
   <module name="TreeWalker">
     <module name="RegexpSinglelineJava">
       <!--check that only Accumulo public APIs are imported-->
-      <property name="format" value="import\s+org[.]apache[.]accumulo[.](?:.*[.](?:impl|thrift)[.].*|(?!core|minicluster).*|core[.](?!client|data|iterators|security[.]Authorizations|security[.]ColumnVisibility|util[.]format[.]Formatter).*|core[.]data[.](?!Key|Mutation|Value|Range|Condition|ConditionalMutation|ByteSequence|PartialKey|ColumnUpdate|ArrayByteSequence).*)"
/>
+      <property name="format" value="import\s+org\.apache\.accumulo\.(.*\.(impl|thrift|crypto)\..*|(?!core|minicluster|testing).*|core\.(?!client|data|security).*)"/>
       <property name="ignoreComments" value="true" />
       <property name="message" value="Accumulo non-public classes imported" />
     </module>

-- 
To stop receiving notification emails like this one, please contact
['"commits@accumulo.apache.org" <commits@accumulo.apache.org>'].

Mime
View raw message