forked from NationalSecurityAgency/datawave
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcheckstyle.xml
More file actions
26 lines (26 loc) · 1.13 KB
/
checkstyle.xml
File metadata and controls
26 lines (26 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?xml version="1.0"?>
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
<module name="Checker">
<property name="charset" value="UTF-8"/>
<property name="severity" value="info"/>
<property name="basedir" value="${basedir}"/>
<module name="TreeWalker">
<!--check that only Accumulo 2.1.x public APIs are imported-->
<module name="ImportControl">
<!--Allows per-package enforcement for importing Accumulo 2.1.x public APIs -->
<property name="file" value="${basedir}/import-control-accumulo.xml"/>
<property name="severity" value="warning"/>
</module>
<!-- Check that forbidden classes are not imported anywhere. -->
<module name="IllegalImport">
<property name="regexp" value="true"/>
<property name="illegalClasses"
value="^org\.apache\.accumulo\.core\.util\.Pair"/>
<property name="severity" value="error"/>
</module>
<!-- Do not allow any unused imports. -->
<module name="UnusedImports">
<property name="severity" value="error"/>
</module>
</module>
</module>