<?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">
    <property name="charset" value="UTF-8" />

    <module name="SuppressionFilter">
        <property name="file" value="${checkstyleConfigDir}/suppressions.xml" />
    </module>

    <module name="SuppressionCommentFilter" />

    <module name="TreeWalker">
        <module name="FileContentsHolder"/>

        <module name="AvoidStarImport" />
        <module name="NoWhitespaceAfter">
            <property name="tokens" value="INC, DEC, UNARY_MINUS, UNARY_PLUS, BNOT, LNOT, DOT, TYPECAST, ARRAY_DECLARATOR, INDEX_OP" />
        </module>
        <module name="NoWhitespaceBefore" />
        <module name="LeftCurly" />
        <module name="ParenPad" />
        <module name="RightCurly" />
        <module name="WhitespaceAfter">
            <property name="tokens" value="COMMA, SEMI" />
        </module>
        <module name="WhitespaceAround">
            <property name="allowEmptyLambdas" value="true" />
        </module>
    </module>
</module>

<?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">
    <property name="charset" value="UTF-8" />

    <module name="SuppressionFilter">
        <property name="file" value="${checkstyleConfigDir}/suppressions.xml" />
    </module>

    <module name="SuppressionCommentFilter" />

    <module name="TreeWalker">
        <module name="FileContentsHolder"/>

        <module name="AvoidStarImport" />
        <module name="NoWhitespaceAfter">
            <property name="tokens" value="INC, DEC, UNARY_MINUS, UNARY_PLUS, BNOT, LNOT, DOT, TYPECAST, ARRAY_DECLARATOR, INDEX_OP" />
        </module>
        <module name="NoWhitespaceBefore" />
        <module name="LeftCurly" />
        <module name="ParenPad" />
        <module name="RedundantImport" />
        <module name="RightCurly" />
        <module name="UnusedImports" />
        <module name="WhitespaceAfter">
            <property name="tokens" value="COMMA, SEMI" />
        </module>
        <module name="WhitespaceAround">
            <property name="allowEmptyLambdas" value="true" />
        </module>
    </module>
</module>

Check for redundant and unused imports
Check for redundant and unused imports
