mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-10 14:16:00 +01:00
24b637876f
This makes Smack more portable, as there are platforms that support the XmlPullParser interface, but not MXParser (e.g. Android). Also enable checkstyle check that MXParser is not used.
36 lines
1.2 KiB
XML
36 lines
1.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE module PUBLIC
|
|
"-//Puppy Crawl//DTD Check Configuration 1.3//EN"
|
|
"http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
|
|
<module name="Checker">
|
|
<module name="SuppressionFilter">
|
|
<property name="file" value="config/suppressions.xml"/>
|
|
</module>
|
|
<module name="Header">
|
|
<property name="headerFile" value="config/header.txt"/>
|
|
<property name="ignoreLines" value="3"/>
|
|
<property name="fileExtensions" value="java"/>
|
|
</module>
|
|
<module name="NewlineAtEndOfFile">
|
|
<property name="lineSeparator" value="lf"/>
|
|
</module>
|
|
<module name="RegexpSingleline">
|
|
<property name="format" value="MXParser"/>
|
|
<property name="message" value="Must not use MXParser, use XmlPullParserFactory instead"/>
|
|
</module>
|
|
<module name="TreeWalker">
|
|
<module name="UnusedImports">
|
|
<property name="processJavadoc" value="true"/>
|
|
</module>
|
|
<!-- TODO: enable later on
|
|
<module name="AvoidStarImport"/>
|
|
<module name="IllegalImport"/>
|
|
<module name="RedundantImport"/>
|
|
<module name="UpperEll"/>
|
|
<module name="ArrayTypeStyle"/>
|
|
<module name="GenericWhitespace"/>
|
|
<module name="EmptyStatement"/>
|
|
<module name="PackageDeclaration"/>
|
|
-->
|
|
</module>
|
|
</module>
|