From 5089c50f0d64cf639a8211dae47cb8e3c92e5b97 Mon Sep 17 00:00:00 2001 From: Georgios Andrianakis Date: Fri, 27 Jan 2023 17:20:47 +0200 Subject: [PATCH] Update core/deployment/src/main/java/io/quarkus/deployment/ide/IdeProcessor.java Co-authored-by: George Gastaldi --- .../src/main/java/io/quarkus/deployment/ide/IdeProcessor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/deployment/src/main/java/io/quarkus/deployment/ide/IdeProcessor.java b/core/deployment/src/main/java/io/quarkus/deployment/ide/IdeProcessor.java index ea09fc65656a9..be6b4ed2b63de 100644 --- a/core/deployment/src/main/java/io/quarkus/deployment/ide/IdeProcessor.java +++ b/core/deployment/src/main/java/io/quarkus/deployment/ide/IdeProcessor.java @@ -104,7 +104,7 @@ public EffectiveIdeBuildItem effectiveIde(LaunchModeBuildItem launchModeBuildIte } if (matches.size() == 1) { result = matches.get(0); - } else if ((matches.size() == 0 && runningIdes.size() > 0) || matches.size() > 1) { + } else if (matches.size() > 1 || runningIdes.size() > 0) { result = runningIdes.iterator().next(); } }