From b1258b25689962754282a3ec9ea9853ca50d543c Mon Sep 17 00:00:00 2001 From: drewbrokke Date: Fri, 10 Nov 2023 13:18:40 -0600 Subject: [PATCH] BLADE-738 cli: BladeUtil: simplify statement --- cli/src/main/java/com/liferay/blade/cli/util/BladeUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/main/java/com/liferay/blade/cli/util/BladeUtil.java b/cli/src/main/java/com/liferay/blade/cli/util/BladeUtil.java index f0bb2b92b..481102fa6 100644 --- a/cli/src/main/java/com/liferay/blade/cli/util/BladeUtil.java +++ b/cli/src/main/java/com/liferay/blade/cli/util/BladeUtil.java @@ -458,7 +458,7 @@ public static Set getWorkspaceProductTargetPlatformVersions(boolean prom ).filter( entry -> Objects.nonNull(productInfos.get(entry.getKey())) ).map( - entry -> new ProductInfo((Map)productInfos.get(entry.getKey())) + entry -> new ProductInfo((Map)entry.getValue()) ).filter( product -> Objects.nonNull(product.getTargetPlatformVersion()) && (!promoted || product.isPromoted()) ).map(