Skip to content

Commit

Permalink
Happy New Year!
Browse files Browse the repository at this point in the history
  • Loading branch information
rbri committed Jan 1, 2025
1 parent 45c8cfb commit 7d0d2f9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<module name="Translation"/>

<module name="Header">
<property name="header" value="/*\n * Copyright (c) 2002-2024 Gargoyle Software Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n"/>
<property name="header" value="/*\n * Copyright (c) 2002-2025 Gargoyle Software Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n"/>
</module>

<module name="FileTabCharacter">
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/htmlunit/Version.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,6 @@ public static String getProductVersion() {
* @return the copyright notice
*/
public static String getCopyright() {
return "Copyright (c) 2002-2024 Gargoyle Software Inc. All rights reserved.";
return "Copyright (c) 2002-2025 Gargoyle Software Inc. All rights reserved.";
}
}
2 changes: 1 addition & 1 deletion src/test/java/org/htmlunit/CodeStyleTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ private void licenseYear() throws IOException {
for (final String line : lines) {
if (line.contains("<property name=\"header\"")) {
if (!line.contains(copyright)) {
addFailure("checkstyle.xml", 0, "Incorrect year in LICENSE.txt");
addFailure("checkstyle.xml", 0, "Incorrect year in checkstyle.xml");
}
check = true;
}
Expand Down

0 comments on commit 7d0d2f9

Please sign in to comment.