Skip to content

Commit 15e0c7e

Browse files
strkkknrmancuso
authored andcommitted
Issue #14877: drop java 14 build
1 parent 8a4b406 commit 15e0c7e

File tree

212 files changed

+257
-274
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

212 files changed

+257
-274
lines changed

.ci/validation.sh

-15
Original file line numberDiff line numberDiff line change
@@ -536,21 +536,6 @@ javac11)
536536
done
537537
;;
538538

539-
javac14)
540-
files=($(grep -Rl --include='*.java' ': Compilable with Java14' \
541-
src/test/resources-noncompilable \
542-
src/xdocs-examples/resources-noncompilable || true))
543-
if [[ ${#files[@]} -eq 0 ]]; then
544-
echo "No Java14 files to process"
545-
else
546-
mkdir -p target
547-
for file in "${files[@]}"
548-
do
549-
javac --release 14 --enable-preview -d target "${file}"
550-
done
551-
fi
552-
;;
553-
554539
javac17)
555540
files=($(grep -Rl --include='*.java' ': Compilable with Java17' \
556541
src/test/resources-noncompilable \

.circleci/config.yml

-4
Original file line numberDiff line numberDiff line change
@@ -266,10 +266,6 @@ workflows:
266266
- validate-with-script:
267267
name: "javac11"
268268
command: "./.ci/validation.sh javac11"
269-
- validate-with-script:
270-
name: "javac14"
271-
image-name: "cimg/openjdk:14.0.2"
272-
command: "./.ci/validation.sh javac14"
273269
- validate-with-script:
274270
name: "javac17"
275271
image-name: "cimg/openjdk:17.0.5"

src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule526parameternames/InputRecordComponentName.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//non-compiled with javac: Compilable with Java14
1+
//non-compiled with javac: Compilable with Java17
22
package com.puppycrawl.tools.checkstyle.checks.naming.recordcomponentname;
33

44
/* Config:

src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
//non-compiled with javac: Compilable with Java14
1+
//non-compiled with javac: Compilable with Java17
22
package com.google.checkstyle.test.chapter5naming.rule527localvariablenames;
33

4-
import java.util.ArrayList;
4+
import java.util.*;
55
import java.util.Locale;
66

77
public class InputPatternVariableNameEnhancedInstanceofTestDefault {
@@ -42,7 +42,7 @@ public void t(Object o1, Object o2) {
4242
}
4343
b = ((VoidPredicate) () -> o1 instanceof String s).get();
4444

45-
ArrayList<Integer> arrayList = new ArrayList<Integer>();
45+
List<Integer> arrayList = new ArrayList<Integer>();
4646
if (arrayList instanceof ArrayList<Integer> ai) {
4747
System.out.println("Blah");
4848
}

src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule528typevariablenames/InputRecordTypeParameterName.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//non-compiled with javac: Compilable with Java14
1+
//non-compiled with javac: Compilable with Java17
22
package com.puppycrawl.tools.checkstyle.checks.naming.recordtypeparametername;
33

44
import java.io.Serializable;

src/it/resources-noncompilable/org/checkstyle/suppressionxpathfilter/covariantequals/InputXpathCovariantEqualsInRecord.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//non-compiled with javac: Compilable with Java14
1+
//non-compiled with javac: Compilable with Java17
22

33
package org.checkstyle.suppressionxpathfilter.covariantequals;
44

src/it/resources-noncompilable/org/checkstyle/suppressionxpathfilter/illegalidentifiername/InputXpathIllegalIdentifierNameOne.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//non-compiled with javac: Compilable with Java14
1+
//non-compiled with javac: Compilable with Java17
22
package org.checkstyle.suppressionxpathfilter.illegalidentifiername;
33

44
/* Config:

src/it/resources-noncompilable/org/checkstyle/suppressionxpathfilter/illegalidentifiername/InputXpathIllegalIdentifierNameTwo.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//non-compiled with javac: Compilable with Java14
1+
//non-compiled with javac: Compilable with Java17
22
package org.checkstyle.suppressionxpathfilter.illegalidentifiername;
33

44
/* Config:

src/it/resources-noncompilable/org/checkstyle/suppressionxpathfilter/patternvariablename/InputXpathPatternVariableNameFour.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//non-compiled with javac: Compilable with Java14
1+
//non-compiled with javac: Compilable with Java17
22
package com.puppycrawl.tools.checkstyle.checks.naming;
33

44
public class InputXpathPatternVariableNameFour {

src/it/resources-noncompilable/org/checkstyle/suppressionxpathfilter/patternvariablename/InputXpathPatternVariableNameOne.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//non-compiled with javac: Compilable with Java14
1+
//non-compiled with javac: Compilable with Java17
22
package com.puppycrawl.tools.checkstyle.checks.naming;
33

44
public class InputXpathPatternVariableNameOne {

src/it/resources-noncompilable/org/checkstyle/suppressionxpathfilter/patternvariablename/InputXpathPatternVariableNameThree.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//non-compiled with javac: Compilable with Java14
1+
//non-compiled with javac: Compilable with Java17
22
package com.puppycrawl.tools.checkstyle.checks.naming;
33

44
public class InputXpathPatternVariableNameThree {

src/it/resources-noncompilable/org/checkstyle/suppressionxpathfilter/patternvariablename/InputXpathPatternVariableNameTwo.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//non-compiled with javac: Compilable with Java14
1+
//non-compiled with javac: Compilable with Java17
22
package com.puppycrawl.tools.checkstyle.checks.naming;
33

44
public class InputXpathPatternVariableNameTwo {

src/it/resources-noncompilable/org/checkstyle/suppressionxpathfilter/recordcomponentname/InputXpathRecordComponentNameDefault.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//non-compiled with javac: Compilable with Java14
1+
//non-compiled with javac: Compilable with Java17
22
package com.puppycrawl.tools.checkstyle.checks.sizes.recordcomponentname;
33

44
/* Config: default

src/it/resources-noncompilable/org/checkstyle/suppressionxpathfilter/recordcomponentname/InputXpathRecordComponentNameFormat.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//non-compiled with javac: Compilable with Java14
1+
//non-compiled with javac: Compilable with Java17
22
package com.puppycrawl.tools.checkstyle.checks.sizes.recordcomponentname;
33

44
/* Config:

src/it/resources-noncompilable/org/checkstyle/suppressionxpathfilter/recordcomponentnumber/InputXpathRecordComponentNumberCustomMax.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//non-compiled with javac: Compilable with Java14
1+
//non-compiled with javac: Compilable with Java17
22
package com.puppycrawl.tools.checkstyle.checks.sizes.recordcomponentnumber;
33

44
/* Config:

src/it/resources-noncompilable/org/checkstyle/suppressionxpathfilter/recordcomponentnumber/InputXpathRecordComponentNumberDefault.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//non-compiled with javac: Compilable with Java14
1+
//non-compiled with javac: Compilable with Java17
22
package com.puppycrawl.tools.checkstyle.checks.sizes.recordcomponentnumber;
33

44
/* Config:

src/it/resources-noncompilable/org/checkstyle/suppressionxpathfilter/recordtypeparametername/InputXpathRecordTypeParameterNameTypeDeclared.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//non-compiled with javac: Compilable with Java14
1+
//non-compiled with javac: Compilable with Java17
22
package com.puppycrawl.tools.checkstyle.checks.naming.classtypeparametername;
33

44
import java.io.Serializable;

src/it/resources-noncompilable/org/checkstyle/suppressionxpathfilter/recordtypeparametername/InputXpathRecordTypeParameterNameTypeDefault.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//non-compiled with javac: Compilable with Java14
1+
//non-compiled with javac: Compilable with Java17
22
package com.puppycrawl.tools.checkstyle.checks.naming.classtypeparametername;
33

44
public record InputXpathRecordTypeParameterNameTypeDefault<t>(Integer x, String str) { // warn

src/it/resources-noncompilable/org/checkstyle/suppressionxpathfilter/staticvariablename/InputXpathStaticVariableNameInnerClassField.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//non-compiled with javac: Compilable with Java14
1+
//non-compiled with javac: Compilable with Java17
22
package org.checkstyle.suppressionxpathfilter.staticvariablename;
33

44
public class InputXpathStaticVariableNameInnerClassField {

src/it/resources-noncompilable/org/checkstyle/suppressionxpathfilter/staticvariablename/InputXpathStaticVariableNameNoAccessModifier.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//non-compiled with javac: Compilable with Java14
1+
//non-compiled with javac: Compilable with Java17
22
package org.checkstyle.suppressionxpathfilter.staticvariablename;
33

44
public class InputXpathStaticVariableNameNoAccessModifier {

src/test/java/com/puppycrawl/tools/checkstyle/checks/coding/IllegalTypeCheckTest.java

+5-5
Original file line numberDiff line numberDiff line change
@@ -299,11 +299,11 @@ public void testClearDataBetweenFiles() throws Exception {
299299
@Test
300300
public void testIllegalTypeEnhancedInstanceof() throws Exception {
301301
final String[] expected = {
302-
"28:9: " + getCheckMessage(MSG_KEY, "LinkedHashMap"),
303-
"31:28: " + getCheckMessage(MSG_KEY, "LinkedHashMap"),
304-
"35:35: " + getCheckMessage(MSG_KEY, "HashMap"),
305-
"40:52: " + getCheckMessage(MSG_KEY, "TreeSet"),
306-
"41:32: " + getCheckMessage(MSG_KEY, "TreeSet"),
302+
"29:9: " + getCheckMessage(MSG_KEY, "LinkedHashMap"),
303+
"32:28: " + getCheckMessage(MSG_KEY, "LinkedHashMap"),
304+
"36:35: " + getCheckMessage(MSG_KEY, "HashMap"),
305+
"41:52: " + getCheckMessage(MSG_KEY, "TreeSet"),
306+
"43:28: " + getCheckMessage(MSG_KEY, "TreeSet"),
307307
};
308308

309309
verifyWithInlineConfigParser(

src/test/resources-noncompilable/com/puppycrawl/tools/checkstyle/asttreestringprinter/InputAstTreeStringPrinterTextBlocksEscapesAreOneChar.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//non-compiled with javac: Compilable with Java14
1+
//non-compiled with javac: Compilable with Java17
22

33
public class InputAstTreeStringPrinterTextBlocksEscapesAreOneChar {
44
String emptyTextBlock = """

src/test/resources-noncompilable/com/puppycrawl/tools/checkstyle/checks/annotation/annotationlocation/InputAnnotationLocationRecordsAndCompactCtors.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
1010
*/
1111

12-
//non-compiled with javac: Compilable with Java14
12+
//non-compiled with javac: Compilable with Java17
1313
package com.puppycrawl.tools.checkstyle.checks.annotation.annotationlocation;
1414

1515
public class InputAnnotationLocationRecordsAndCompactCtors {

src/test/resources-noncompilable/com/puppycrawl/tools/checkstyle/checks/annotation/annotationonsameline/InputAnnotationOnSameLineRecordsAndCompactCtors.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
77
*/
88

9-
//non-compiled with javac: Compilable with Java14
9+
//non-compiled with javac: Compilable with Java17
1010
package com.puppycrawl.tools.checkstyle.checks.annotation.annotationonsameline;
1111

1212
public class InputAnnotationOnSameLineRecordsAndCompactCtors {

src/test/resources-noncompilable/com/puppycrawl/tools/checkstyle/checks/annotation/suppresswarnings/InputSuppressWarningsRecords.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
99
*/
1010

11-
//non-compiled with javac: Compilable with Java14
11+
//non-compiled with javac: Compilable with Java17
1212
package com.puppycrawl.tools.checkstyle.checks.annotation.suppresswarnings;
1313

1414
import java.lang.annotation.Documented;

src/test/resources-noncompilable/com/puppycrawl/tools/checkstyle/checks/avoidescapedunicodecharacters/InputAvoidEscapedUnicodeCharactersEscapedS.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
99
*/
1010

11-
//non-compiled with javac: Compilable with Java14
11+
//non-compiled with javac: Compilable with Java17
1212
package com.puppycrawl.tools.checkstyle.checks.avoidescapedunicodecharacters;
1313

1414
public class InputAvoidEscapedUnicodeCharactersEscapedS {

src/test/resources-noncompilable/com/puppycrawl/tools/checkstyle/checks/avoidescapedunicodecharacters/InputAvoidEscapedUnicodeCharactersTextBlocks.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
99
*/
1010

11-
//non-compiled with javac: Compilable with Java14
11+
//non-compiled with javac: Compilable with Java17
1212
package com.puppycrawl.tools.checkstyle.checks.avoidescapedunicodecharacters;
1313

1414
public class InputAvoidEscapedUnicodeCharactersTextBlocks {

src/test/resources-noncompilable/com/puppycrawl/tools/checkstyle/checks/avoidescapedunicodecharacters/InputAvoidEscapedUnicodeCharactersTextBlocksAllowByComment.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
99
*/
1010

11-
//non-compiled with javac: Compilable with Java14
11+
//non-compiled with javac: Compilable with Java17
1212
package com.puppycrawl.tools.checkstyle.checks.avoidescapedunicodecharacters;
1313

1414
public class InputAvoidEscapedUnicodeCharactersTextBlocksAllowByComment {

src/test/resources-noncompilable/com/puppycrawl/tools/checkstyle/checks/blocks/emptyblock/InputEmptyBlockSwitchExpressions.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
77
*/
88

9-
//non-compiled with javac: Compilable with Java14
9+
//non-compiled with javac: Compilable with Java17
1010
package com.puppycrawl.tools.checkstyle.checks.blocks.emptyblock;
1111

1212
public class InputEmptyBlockSwitchExpressions {

src/test/resources-noncompilable/com/puppycrawl/tools/checkstyle/checks/blocks/leftcurly/InputLeftCurlyTestRecordsAndCompactCtors.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
1212
*/
1313

14-
//non-compiled with javac: Compilable with Java14
14+
//non-compiled with javac: Compilable with Java17
1515
package com.puppycrawl.tools.checkstyle.checks.blocks.leftcurly;
1616

1717
import org.w3c.dom.Node;

src/test/resources-noncompilable/com/puppycrawl/tools/checkstyle/checks/blocks/leftcurly/InputLeftCurlyTestSwitchExpressions.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
1212
*/
1313

14-
//non-compiled with javac: Compilable with Java14
14+
//non-compiled with javac: Compilable with Java17
1515
package com.puppycrawl.tools.checkstyle.checks.blocks.leftcurly;
1616

1717
public class InputLeftCurlyTestSwitchExpressions {

src/test/resources-noncompilable/com/puppycrawl/tools/checkstyle/checks/blocks/leftcurly/InputLeftCurlyTestSwitchExpressionsNewLine.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
1212
*/
1313

14-
//non-compiled with javac: Compilable with Java14
14+
//non-compiled with javac: Compilable with Java17
1515
package com.puppycrawl.tools.checkstyle.checks.blocks.leftcurly;
1616
// violation below ''{' at column 57 should be on a new line'
1717
public class InputLeftCurlyTestSwitchExpressionsNewLine {

src/test/resources-noncompilable/com/puppycrawl/tools/checkstyle/checks/blocks/needbraces/InputNeedBracesTestSwitchExpression.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
88
*/
99

10-
//non-compiled with javac: Compilable with Java14
10+
//non-compiled with javac: Compilable with Java17
1111
package com.puppycrawl.tools.checkstyle.checks.blocks.needbraces;
1212

1313
public class InputNeedBracesTestSwitchExpression {

src/test/resources-noncompilable/com/puppycrawl/tools/checkstyle/checks/blocks/needbraces/InputNeedBracesTestSwitchExpressionNoSingleLine.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
88
*/
99

10-
//non-compiled with javac: Compilable with Java14
10+
//non-compiled with javac: Compilable with Java17
1111
package com.puppycrawl.tools.checkstyle.checks.blocks.needbraces;
1212

1313
public class InputNeedBracesTestSwitchExpressionNoSingleLine {

src/test/resources-noncompilable/com/puppycrawl/tools/checkstyle/checks/blocks/rightcurly/InputRightCurlyCaseBlocksWithSwitchExpressionAlone.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
*/
77

8-
//non-compiled with javac: Compilable with Java14
8+
//non-compiled with javac: Compilable with Java17
99
package com.puppycrawl.tools.checkstyle.checks.blocks.rightcurly;
1010

1111
public class InputRightCurlyCaseBlocksWithSwitchExpressionAlone {

src/test/resources-noncompilable/com/puppycrawl/tools/checkstyle/checks/blocks/rightcurly/InputRightCurlyCaseBlocksWithSwitchExpressionAloneOrSingleline.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
*/
77

8-
//non-compiled with javac: Compilable with Java14
8+
//non-compiled with javac: Compilable with Java17
99
package com.puppycrawl.tools.checkstyle.checks.blocks.rightcurly;
1010

1111
public class InputRightCurlyCaseBlocksWithSwitchExpressionAloneOrSingleline {

src/test/resources-noncompilable/com/puppycrawl/tools/checkstyle/checks/blocks/rightcurly/InputRightCurlyCaseBlocksWithSwitchRuleAlone.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
*/
77

8-
//non-compiled with javac: Compilable with Java14
8+
//non-compiled with javac: Compilable with Java17
99
package com.puppycrawl.tools.checkstyle.checks.blocks.rightcurly;
1010

1111
public class InputRightCurlyCaseBlocksWithSwitchRuleAlone {

src/test/resources-noncompilable/com/puppycrawl/tools/checkstyle/checks/blocks/rightcurly/InputRightCurlyCaseBlocksWithSwitchRuleAloneOrSingleline.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
*/
77

8-
//non-compiled with javac: Compilable with Java14
8+
//non-compiled with javac: Compilable with Java17
99
package com.puppycrawl.tools.checkstyle.checks.blocks.rightcurly;
1010

1111
public class InputRightCurlyCaseBlocksWithSwitchRuleAloneOrSingleline {

src/test/resources-noncompilable/com/puppycrawl/tools/checkstyle/checks/blocks/rightcurly/InputRightCurlyTestRecordsAndCompactCtors.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
77
*/
88

9-
//non-compiled with javac: Compilable with Java14
9+
//non-compiled with javac: Compilable with Java17
1010
package com.puppycrawl.tools.checkstyle.checks.blocks.rightcurly;
1111

1212
import org.w3c.dom.Node;

src/test/resources-noncompilable/com/puppycrawl/tools/checkstyle/checks/blocks/rightcurly/InputRightCurlyTestSwitchExpression.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
77
*/
88

9-
//non-compiled with javac: Compilable with Java14
9+
//non-compiled with javac: Compilable with Java17
1010
package com.puppycrawl.tools.checkstyle.checks.blocks.rightcurly;
1111

1212
public class InputRightCurlyTestSwitchExpression {

src/test/resources-noncompilable/com/puppycrawl/tools/checkstyle/checks/blocks/rightcurly/InputRightCurlyTestSwitchExpression2.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
77
*/
88

9-
//non-compiled with javac: Compilable with Java14
9+
//non-compiled with javac: Compilable with Java17
1010
package com.puppycrawl.tools.checkstyle.checks.blocks.rightcurly;
1111

1212
public class InputRightCurlyTestSwitchExpression2 {

src/test/resources-noncompilable/com/puppycrawl/tools/checkstyle/checks/blocks/rightcurly/InputRightCurlyTestSwitchExpression3.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
77
*/
88

9-
//non-compiled with javac: Compilable with Java14
9+
//non-compiled with javac: Compilable with Java17
1010
package com.puppycrawl.tools.checkstyle.checks.blocks.rightcurly;
1111

1212
public class InputRightCurlyTestSwitchExpression3 {

src/test/resources-noncompilable/com/puppycrawl/tools/checkstyle/checks/blocks/rightcurly/InputRightCurlyTestSwitchExpression4.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
*/
77

8-
//non-compiled with javac: Compilable with Java14
8+
//non-compiled with javac: Compilable with Java17
99
package com.puppycrawl.tools.checkstyle.checks.blocks.rightcurly;
1010

1111
public class InputRightCurlyTestSwitchExpression4 {

src/test/resources-noncompilable/com/puppycrawl/tools/checkstyle/checks/blocks/rightcurly/InputRightCurlyTestSwitchExpression5.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
*/
77

8-
//non-compiled with javac: Compilable with Java14
8+
//non-compiled with javac: Compilable with Java17
99
package com.puppycrawl.tools.checkstyle.checks.blocks.rightcurly;
1010

1111
import java.io.IOException;

src/test/resources-noncompilable/com/puppycrawl/tools/checkstyle/checks/blocks/rightcurly/InputRightCurlyTestSwitchExpression6.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
*/
77

8-
//non-compiled with javac: Compilable with Java14
8+
//non-compiled with javac: Compilable with Java17
99
package com.puppycrawl.tools.checkstyle.checks.blocks.rightcurly;
1010

1111
public class InputRightCurlyTestSwitchExpression6 {

src/test/resources-noncompilable/com/puppycrawl/tools/checkstyle/checks/blocks/rightcurly/InputRightCurlyTestSwitchExpression7.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
*/
77

8-
//non-compiled with javac: Compilable with Java14
8+
//non-compiled with javac: Compilable with Java17
99
package com.puppycrawl.tools.checkstyle.checks.blocks.rightcurly;
1010

1111
public class InputRightCurlyTestSwitchExpression7 {

0 commit comments

Comments
 (0)