<?xml version="1.0"?>
<!DOCTYPE module PUBLIC
        "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
        "https://checkstyle.org/dtds/configuration_1_3.dtd">

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

    <!-- Headers -->
    <module name="Header">
        <property name="headerFile" value="${checkstyle.header.file}"/>
        <property name="fileExtensions" value="java"/>
    </module>

    <module name="TreeWalker">
        <module name="JavadocMethod"/>
        <module name="MissingJavadocMethod"/>

        <module name="RegexpSinglelineJava">
            <property name="severity" value="warning"/>
            <property name="format" value="^(?!\s+\* $).*?\s+$"/>
            <property name="message" value="Line has trailing spaces."/>
        </module>
    </module>

</module>
