From 77490744413b5c2aa994f6d599ef229425201551 Mon Sep 17 00:00:00 2001 From: Snjezana Peco Date: Mon, 12 Aug 2024 20:46:26 +0200 Subject: [PATCH] Fix Gradle tests started with Java 23 --- .../jdt/ls/core/internal/managers/GradleUtils.java | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/org.eclipse.jdt.ls.core/src/org/eclipse/jdt/ls/core/internal/managers/GradleUtils.java b/org.eclipse.jdt.ls.core/src/org/eclipse/jdt/ls/core/internal/managers/GradleUtils.java index c7f86ccf82..0f950fb8ed 100644 --- a/org.eclipse.jdt.ls.core/src/org/eclipse/jdt/ls/core/internal/managers/GradleUtils.java +++ b/org.eclipse.jdt.ls.core/src/org/eclipse/jdt/ls/core/internal/managers/GradleUtils.java @@ -28,9 +28,9 @@ import java.util.HashMap; import java.util.List; import java.util.Map; +import java.util.Map.Entry; import java.util.Optional; import java.util.Set; -import java.util.Map.Entry; import java.util.stream.Stream; import org.apache.commons.lang3.StringUtils; @@ -218,7 +218,7 @@ private static File getGradleInitScriptTempFile(String scriptPath) { *