Skip to content

Commit 6f26e8a

Browse files
committed
[24] Remove BETA_JAVA24 disclaimers - from Compiler preferences
eclipse-jdt#2048
1 parent 942047a commit 6f26e8a

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/ComplianceConfigurationBlock.java

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@
88
*
99
* SPDX-License-Identifier: EPL-2.0
1010
*
11-
* This is an implementation of an early-draft specification developed under the Java
12-
* Community Process (JCP) and is made available for testing and evaluation purposes
13-
* only. The code is not compatible with any specification of the JCP.
14-
*
1511
* Contributors:
1612
* IBM Corporation - initial API and implementation
1713
* Jesper S Møller - Bug 529432 - Allow JDT UI to target Java 10
@@ -705,8 +701,9 @@ private void validateComplianceStatus() {
705701
}
706702
}
707703

708-
protected boolean isBetaVersion(String compliance) {
709-
return JavaCore.VERSION_24.equals(compliance);
704+
protected boolean isBetaVersion(@SuppressWarnings("unused") String compliance) {
705+
return false;
706+
// return JavaCore.VERSION_24.equals(compliance);
710707
}
711708

712709
private String addsExportToSystemModule() {

0 commit comments

Comments
 (0)