From 95f1efbaaa9b24270308092b9bca302b2dc76ab1 Mon Sep 17 00:00:00 2001 From: leonardo-pilastri-sonarsource <115481625+leonardo-pilastri-sonarsource@users.noreply.github.com> Date: Thu, 24 Oct 2024 16:13:57 +0200 Subject: [PATCH] NO-JIRA Fix wrong JAVA_20 version constant value (#4914) --- .../src/main/java/org/sonar/java/model/JavaVersionImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-frontend/src/main/java/org/sonar/java/model/JavaVersionImpl.java b/java-frontend/src/main/java/org/sonar/java/model/JavaVersionImpl.java index f07257e0d2d..28b299ee9fb 100644 --- a/java-frontend/src/main/java/org/sonar/java/model/JavaVersionImpl.java +++ b/java-frontend/src/main/java/org/sonar/java/model/JavaVersionImpl.java @@ -40,7 +40,7 @@ public class JavaVersionImpl implements JavaVersion { private static final int JAVA_17 = 17; private static final int JAVA_18 = 18; private static final int JAVA_19 = 19; - private static final int JAVA_20 = 21; + private static final int JAVA_20 = 20; private static final int JAVA_21 = 21; private static final int JAVA_22 = 22; public static final int MAX_SUPPORTED = JAVA_22;