Skip to content

Commit

Permalink
feat: Update Checkstyle rules to allow for shortened SPDX license hea…
Browse files Browse the repository at this point in the history
…der (#12)
  • Loading branch information
skaldarnar authored Jul 27, 2020
1 parent a1b7eed commit 74dddd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<!-- Checks that a source file begins with a specified header. -->
<module name="RegexpHeader">
<property name="severity" value="warning"/>
<property name="header" value="/*\n * Copyright 20\d\d MovingBlocks\n *\n * Licensed under the Apache License, Version 2.0"/>
<property name="header" value="(/*\n * Copyright 20\d\d MovingBlocks\n *\n * Licensed under the Apache License, Version 2.0)|(// Copyright 20\d\d The Terasology Foundation\n// SPDX-License-Identifier: Apache-2.0)"/>
<property name="fileExtensions" value="java"/>
</module>

Expand Down

0 comments on commit 74dddd9

Please sign in to comment.