Skip to content

Commit

Permalink
Recommend copyright header without a year (#1131)
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr authored Jan 3, 2024
1 parent b166ff4 commit 660d4f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .changeset/tall-chicken-push.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 1 addition & 1 deletion config/checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<property name="fileNamePattern" value="(module\-info\.java$|Test.java$|src/test/java)"/>
</module>

<!-- Files must contain a copyright header, with or without a year. -->
<!-- Files must contain a copyright header without a year. The check for 2019-2023 is retained for historical purposes. -->
<module name="RegexpHeader">
<property name="header"
value="/\*\n \* Copyright( 20(19|20|21|22|23)|) Amazon\.com, Inc\. or its affiliates\. All Rights Reserved\.\n"/>
Expand Down

0 comments on commit 660d4f5

Please sign in to comment.