Skip to content

Commit b301a4e

Browse files
committed
Fix checkstyle
1 parent df87858 commit b301a4e

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

NOTICE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Copyright 2016-2025 The Apache Software Foundation
44
This product includes software developed at
55
The Apache Software Foundation (http://www.apache.org/).
66

7-
This product contains code form the Netty Project:
7+
This product contains code from the Netty Project:
88
---------------------------------------------------
99
The Netty Project
1010
=================

dev/checkstyle/suppressions.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<suppress checks="Header" files="AutoCloseables.java|Collections2.java" />
3838

3939
<!-- no license file in vendored dependencies -->
40-
<suppress checks="Header" files="IntObjectMap.java|IntObjectHashMap.java" />
40+
<suppress checks="Header" files="IntObjectMap.java|IntObjectHashMap.java|Preconditions.java" />
4141

4242
<!-- Suppress certain checks requiring many code changes, that add little benefit -->
4343
<suppress checks="NoFinalizer|OverloadMethodsDeclarationOrder|VariableDeclarationUsageDistance" files=".*" />

pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -739,6 +739,11 @@ under the License.
739739
<file>${maven.multiModuleProjectDirectory}/dev/license/asf-java.license</file>
740740
<delimiter>package</delimiter>
741741
</licenseHeader>
742+
<excludes>
743+
<exclude>**/Preconditions.java</exclude>
744+
<exclude>**/IntObjectMap.java</exclude>
745+
<exclude>**/IntObjectHashMap.java</exclude>
746+
</excludes>
742747
</java>
743748
</configuration>
744749
<executions>

0 commit comments

Comments
 (0)