Skip to content

Commit

Permalink
BLADE-738 cli: BladeUtil: simplify statement
Browse files Browse the repository at this point in the history
  • Loading branch information
drewbrokke committed Nov 10, 2023
1 parent 3a0b435 commit b1258b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ public static Set<String> getWorkspaceProductTargetPlatformVersions(boolean prom
).filter(
entry -> Objects.nonNull(productInfos.get(entry.getKey()))
).map(
entry -> new ProductInfo((Map<String, String>)productInfos.get(entry.getKey()))
entry -> new ProductInfo((Map<String, String>)entry.getValue())
).filter(
product -> Objects.nonNull(product.getTargetPlatformVersion()) && (!promoted || product.isPromoted())
).map(
Expand Down

0 comments on commit b1258b2

Please sign in to comment.