Skip to content

Commit

Permalink
modified the version change
Browse files Browse the repository at this point in the history
  • Loading branch information
subyssurendran666 committed Sep 24, 2024
1 parent 8c41728 commit 26e8d0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,6 @@ public class ASTRewritingTest extends AbstractJavaModelTests {
private final static int JLS22_INTERNAL = AST.JLS22;
private final static int JLS23_INTERNAL = AST.JLS23;

private final static int JLS23_INTERNAL = AST.JLS23;

private final static int[] JLS_LEVELS = { JLS8_INTERNAL, JLS9_INTERNAL,
JLS10_INTERNAL, JLS14_INTERNAL, JLS15_INTERNAL, JLS16_INTERNAL, JLS17_INTERNAL, JLS18_INTERNAL,
JLS19_INTERNAL, JLS20_INTERNAL, JLS21_INTERNAL , JLS22_INTERNAL, JLS23_INTERNAL};
Expand Down
4 changes: 2 additions & 2 deletions org.eclipse.jdt.core/model/org/eclipse/jdt/core/JavaCore.java
Original file line number Diff line number Diff line change
Expand Up @@ -3374,7 +3374,7 @@ public static List<String> getAllVersions() {
*
* @return all Java source versions fully supported by Eclipse compiler
* @see #isJavaSourceVersionSupportedByCompiler(String)
* @since 3.39
* @since 3.40
*/
public static SortedSet<String> getAllJavaSourceVersionsSupportedByCompiler() {
return SUPPORTED_VERSIONS;
Expand All @@ -3401,7 +3401,7 @@ public static boolean isSupportedJavaVersion(String version) {
*
* @return {@code true} if the given string represents Java language version is fully supported by Eclipse compiler
* @see #getAllJavaSourceVersionsSupportedByCompiler()
* @since 3.39
* @since 3.40
*/
public static boolean isJavaSourceVersionSupportedByCompiler(String version) {
if(version == null || version.isBlank()) {
Expand Down

0 comments on commit 26e8d0d

Please sign in to comment.