<?xml version="1.0"?>
<!--

    Copyright (c) 2016, 2020 Oracle and/or its affiliates.

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.

-->

<!DOCTYPE suppressions PUBLIC
        "-//Puppy Crawl//DTD Suppressions 1.1//EN"
        "http://checkstyle.sourceforge.net/dtds/suppressions_1_1.dtd">

<suppressions>
    <!-- to do comment suppression for to do project -->
    <suppress checks="TodoComment"
            files="examples/todo-app/.*"/>

    <suppress checks="FileLength"
            files="config/config/src/main/java/io/helidon/config/Config.java|integrations/cdi/jpa-cdi/src/main/java/io/helidon/integrations/cdi/jpa/JpaExtension\.java"
            lines="1"/>

    <!-- Java comments with AsciiDoc tag:: and end:: in import section incorrectly flagged
         as unacceptable blank lines within a package's imports. -->
    <suppress checks="ImportOrder"
            files="examples/guides/se-restful-webservice/src/main/java/io/helidon/guides/se/restfulwebservice/Main.java"/>
    <suppress checks="ImportOrder"
            files="examples/guides/se-restful-webservice/src/main/java/io/helidon/guides/se/restfulwebservice/GreetService.java"/>
    <suppress checks="NoWhitespaceBefore|SeparatorWrap"
            files="examples/guides/mp-restful-webservice/src/main/java/io/helidon/guides/mp/restfulwebservice/GreetApplication.java"/>
    <!--
     The following files are work taken over from other projects,
        where we want to keep the author tag untouched
    -->
    <!-- Common HTTP project -->
    <suppress id="Javadoc.javadocNoAuthor"
            files="common/http/Preconditions\.java|common/http/Ascii\.java|common/http/CharMatcher\.java"/>
    <!-- Webserver project -->
    <suppress id="Javadoc.javadocNoAuthor"
            files="webserver/UriComponent\.java"/>

    <!-- Building a Graph involves a lot of instanceof checks and state manipulation.  -->
    <suppress checks="MethodLength"
              files="HelidonReactiveStreamsEngine\.java"/>
</suppressions>

