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(); } }