HBASE-18438 Precommit doesn't warn about unused imports

Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
Mike Drob 2017-10-29 20:45:20 +08:00 committed by Chia-Ping Tsai
parent 0ad8a6f51b
commit 8fb22d9c1f
1 changed files with 3 additions and 0 deletions

View File

@ -909,6 +909,7 @@
<configuration> <configuration>
<configLocation>hbase/checkstyle.xml</configLocation> <configLocation>hbase/checkstyle.xml</configLocation>
<suppressionsLocation>hbase/checkstyle-suppressions.xml</suppressionsLocation> <suppressionsLocation>hbase/checkstyle-suppressions.xml</suppressionsLocation>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>
@ -1137,6 +1138,7 @@
<configuration> <configuration>
<configLocation>hbase/checkstyle.xml</configLocation> <configLocation>hbase/checkstyle.xml</configLocation>
<suppressionsLocation>hbase/checkstyle-suppressions.xml</suppressionsLocation> <suppressionsLocation>hbase/checkstyle-suppressions.xml</suppressionsLocation>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
@ -3502,6 +3504,7 @@
<excludes>target/**</excludes> <excludes>target/**</excludes>
<configLocation>hbase/checkstyle.xml</configLocation> <configLocation>hbase/checkstyle.xml</configLocation>
<suppressionsLocation>hbase/checkstyle-suppressions.xml</suppressionsLocation> <suppressionsLocation>hbase/checkstyle-suppressions.xml</suppressionsLocation>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
</configuration> </configuration>
</plugin> </plugin>