Skip to content

Commit 3326be2

Browse files
AmitKumarDeoghoriaromani
authored andcommitted
Issue #369: Migrate repo to jdk17
1 parent 6d38758 commit 3326be2

24 files changed

+26
-27
lines changed

.github/workflows/maven.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ jobs:
1919
path: ~/.m2/repository
2020
key: maven-cache-${{ hashFiles('**/pom.xml') }}
2121

22-
- name: Set up JDK 11
22+
- name: Set up JDK 17
2323
uses: actions/setup-java@v3
2424
with:
2525
distribution: corretto
26-
java-version: 11
26+
java-version: 17
2727

2828
- name: Build with Maven
2929
run: mvn -e --no-transfer-progress install

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3636
<checkstyle.version>10.4</checkstyle.version>
3737
<maven.checkstyle.plugin.version>3.2.0</maven.checkstyle.plugin.version>
38-
<maven.compiler.source>11</maven.compiler.source>
39-
<maven.compiler.target>11</maven.compiler.target>
38+
<maven.compiler.source>17</maven.compiler.source>
39+
<maven.compiler.target>17</maven.compiler.target>
4040
<junit.version>5.9.1</junit.version>
4141
</properties>
4242

src/main/java/com/github/checkstyle/generatepatchfile/GeneratePatchFile.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
///////////////////////////////////////////////////////////////////////////////////////////////
22
// checkstyle: Checks Java source code and other text files for adherence to a set of rules.
3-
// Copyright (C) 2001-2022 the original author or authors.
3+
// Copyright (C) 2001-2025 the original author or authors.
44
//
55
// This library is free software; you can redistribute it and/or
66
// modify it under the terms of the GNU Lesser General Public

src/main/java/com/github/checkstyle/generatepatchfile/GeneratePatchFileLauncher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
///////////////////////////////////////////////////////////////////////////////////////////////
22
// checkstyle: Checks Java source code and other text files for adherence to a set of rules.
3-
// Copyright (C) 2001-2022 the original author or authors.
3+
// Copyright (C) 2001-2025 the original author or authors.
44
//
55
// This library is free software; you can redistribute it and/or
66
// modify it under the terms of the GNU Lesser General Public

src/main/java/com/github/checkstyle/generatepatchfile/GeneratePatchFileWithGitCommandLauncher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
///////////////////////////////////////////////////////////////////////////////////////////////
22
// checkstyle: Checks Java source code and other text files for adherence to a set of rules.
3-
// Copyright (C) 2001-2022 the original author or authors.
3+
// Copyright (C) 2001-2025 the original author or authors.
44
//
55
// This library is free software; you can redistribute it and/or
66
// modify it under the terms of the GNU Lesser General Public

src/main/java/com/github/checkstyle/generatepatchfile/Utils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
///////////////////////////////////////////////////////////////////////////////////////////////
22
// checkstyle: Checks Java source code and other text files for adherence to a set of rules.
3-
// Copyright (C) 2001-2022 the original author or authors.
3+
// Copyright (C) 2001-2025 the original author or authors.
44
//
55
// This library is free software; you can redistribute it and/or
66
// modify it under the terms of the GNU Lesser General Public

src/main/java/com/github/checkstyle/generatepatchfile/package-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
///////////////////////////////////////////////////////////////////////////////////////////////
22
// checkstyle: Checks Java source code and other text files for adherence to a set of rules.
3-
// Copyright (C) 2001-2022 the original author or authors.
3+
// Copyright (C) 2001-2025 the original author or authors.
44
//
55
// This library is free software; you can redistribute it and/or
66
// modify it under the terms of the GNU Lesser General Public

src/main/java/com/puppycrawl/tools/checkstyle/filters/CrFilterInputStream.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
///////////////////////////////////////////////////////////////////////////////////////////////
22
// checkstyle: Checks Java source code and other text files for adherence to a set of rules.
3-
// Copyright (C) 2001-2022 the original author or authors.
3+
// Copyright (C) 2001-2025 the original author or authors.
44
//
55
// This library is free software; you can redistribute it and/or
66
// modify it under the terms of the GNU Lesser General Public

src/main/java/com/puppycrawl/tools/checkstyle/filters/JavaPatchFilterElement.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
///////////////////////////////////////////////////////////////////////////////////////////////
22
// checkstyle: Checks Java source code and other text files for adherence to a set of rules.
3-
// Copyright (C) 2001-2022 the original author or authors.
3+
// Copyright (C) 2001-2025 the original author or authors.
44
//
55
// This library is free software; you can redistribute it and/or
66
// modify it under the terms of the GNU Lesser General Public

src/main/java/com/puppycrawl/tools/checkstyle/filters/LoadPatchFileUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
///////////////////////////////////////////////////////////////////////////////////////////////
22
// checkstyle: Checks Java source code and other text files for adherence to a set of rules.
3-
// Copyright (C) 2001-2022 the original author or authors.
3+
// Copyright (C) 2001-2025 the original author or authors.
44
//
55
// This library is free software; you can redistribute it and/or
66
// modify it under the terms of the GNU Lesser General Public

0 commit comments

Comments
 (0)