Skip to content

Commit 2886912

Browse files
authored
Upgrade the testcase to compliance 14 since switch expressions #1792
#1794
1 parent 24e0b7e commit 2886912

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/AssistQuickFixTest12.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 2019, 2020 IBM Corporation and others.
2+
* Copyright (c) 2019, 2024 IBM Corporation and others.
33
*
44
* This program and the accompanying materials
55
* are made available under the terms of the Eclipse Public License 2.0
@@ -126,7 +126,7 @@ enum Day {
126126
public void testSplitSwitchCaseLabelRuleStatement() throws Exception {
127127
fJProject1= JavaProjectHelper.createJavaProject("TestProject1", "bin");
128128
fJProject1.setRawClasspath(projectSetup.getDefaultClasspath(), null);
129-
JavaProjectHelper.set12CompilerOptions(fJProject1, true);
129+
JavaProjectHelper.set14CompilerOptions(fJProject1, true);
130130
fSourceFolder= JavaProjectHelper.addSourceContainer(fJProject1, "src");
131131

132132
String str= """

0 commit comments

Comments
 (0)