Skip to content

Commit 16fdfd4

Browse files
authored
BUILD-10792 Remove copyright years from license header templates (#41)
* BUILD-10792 Remove copyright years from license header templates Drop ${license.years} from all bundled headers; align SSALv1 and SonarSource templates with dateless wording and legal link. * Address PR review: MIT (C) consistency; SSALv1 wrap without trailing space - Align MIT copyright line with AL2/GNU LGPL/SSALv1 (C) convention. - Break SSALv1 sentence at word boundary so stamped headers have no trailing whitespace (sonar-review-alpha). * SSALv1: strip trailing space after PURPOSE. in header template
1 parent a1db62a commit 16fdfd4

5 files changed

Lines changed: 9 additions & 9 deletions

File tree

src/main/resources/sonarsource/licenseheaders/AL2.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
${license.title}
2-
Copyright (c) ${license.years} ${license.owner}
2+
Copyright (C) ${license.owner}
33
${license.mailto}
44

55
Licensed under the Apache License, Version 2.0 (the "License");

src/main/resources/sonarsource/licenseheaders/GNU LGPL v3.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
${license.title}
2-
Copyright (C) ${license.years} ${license.owner}
2+
Copyright (C) ${license.owner}
33
${license.mailto}
44

55
This program is free software; you can redistribute it and/or

src/main/resources/sonarsource/licenseheaders/MIT.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) ${license.years} ${license.owner}
3+
Copyright (C) ${license.owner}
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

src/main/resources/sonarsource/licenseheaders/SSALv1.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
${license.title}
2-
Copyright (C) ${license.years} ${license.owner}
2+
Copyright (C) ${license.owner}
33
${license.mailto}
44

5-
This program is free software; you can redistribute it and/or
6-
modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource Sàrl.
5+
You can redistribute and/or modify this program under the terms of
6+
the Sonar Source-Available License Version 1, as published by SonarSource Sàrl.
77

88
This program is distributed in the hope that it will be useful,
99
but WITHOUT ANY WARRANTY; without even the implied warranty of
10-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
1111
See the Sonar Source-Available License for more details.
1212

1313
You should have received a copy of the Sonar Source-Available License
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Copyright (C) ${license.years} ${license.owner}
2-
All rights reserved
1+
Copyright (C) ${license.owner}
2+
For more information, see https://sonarsource.com/legal/
33
${license.mailto}

0 commit comments

Comments
 (0)