• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0"?>
2
3<!--
4  ~ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
5  ~
6  ~ Licensed under the Apache License, Version 2.0 (the "License").
7  ~ You may not use this file except in compliance with the License.
8  ~ A copy of the License is located at
9  ~
10  ~  http://aws.amazon.com/apache2.0
11  ~
12  ~ or in the "license" file accompanying this file. This file is distributed
13  ~ on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
14  ~ express or implied. See the License for the specific language governing
15  ~ permissions and limitations under the License.
16  -->
17
18<!DOCTYPE suppressions PUBLIC
19        "-//Puppy Crawl//DTD Suppressions 1.2//EN"
20        "http://www.puppycrawl.com/dtds/suppressions_1_2.dtd">
21<suppressions>
22    <!-- ignore all checks for test classes except for the NoIgnoreAnnotationsCheck -->
23    <suppress checks="^((?!NoIgnoreAnnotationsCheck).)*$"
24              files=".*[\\/](test|it)[\\/]java[\\/].+\.java$"/>
25
26    <!-- ignore missing annotation checks under test/codegen directory -->
27    <suppress checks="MissingSdkAnnotationCheck"
28              files=".(codegen|test|release)[\\/].+\.java$"/>
29
30    <!-- TODO want to contribute this back to Netty -->
31    <suppress checks=".*"
32              files=".*BetterFixedChannelPool\.java$"/>
33
34    <!-- TODO want to contribute this back to Netty -->
35    <suppress checks=".*"
36              files=".*[\\/]io[\\/]netty[\\/]handler[\\/]codec[\\/]http2[\\/].*\.java$"/>
37
38    <!-- Assumes getter/setter match JSON property -->
39    <suppress checks="AbbreviationAsWordInName"
40              files=".*[\\/]software[\\/]amazon[\\/]awssdk[\\/]services[\\/]s3[\\/]event[\\/]S3EventNotification.java$"/>
41
42    <!-- Ignore usage of Thread.currentThread().getContextClassLoader for ClassLoaderHelper.!-->
43    <suppress checks="Regexp"
44              files=".*ClassLoaderHelper\.java$"/>
45
46    <!-- Ignore usage of sslContext.newHandler for NettyUtils.!-->
47    <suppress checks="Regexp"
48              files=".*NettyUtils\.java$"/>
49
50    <!-- Allow non-java.base usage in tests -->
51    <suppress checks="software.amazon.awssdk.buildtools.checkstyle.NonJavaBaseModuleCheck" files=".*testutils.*"/>
52
53    <!-- Allow private field declaration before public, to have correct initialization order -->
54    <suppress checks="DeclarationOrder"
55              files=".*SdkAdvancedClientOption\.java$"/>
56</suppressions>
57