From 4fb6353d68f9d05e589307b5226dd7f59be61093 Mon Sep 17 00:00:00 2001 From: Jan Horvath Date: Sun, 22 Sep 2024 20:40:03 +0200 Subject: [PATCH] Fix adding dependencies for ADB --- .../modules/cloud/oracle/assets/AddNewAssetCommand.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/enterprise/cloud.oracle/src/org/netbeans/modules/cloud/oracle/assets/AddNewAssetCommand.java b/enterprise/cloud.oracle/src/org/netbeans/modules/cloud/oracle/assets/AddNewAssetCommand.java index 67ec5de19158..6861eb0776bc 100644 --- a/enterprise/cloud.oracle/src/org/netbeans/modules/cloud/oracle/assets/AddNewAssetCommand.java +++ b/enterprise/cloud.oracle/src/org/netbeans/modules/cloud/oracle/assets/AddNewAssetCommand.java @@ -86,10 +86,10 @@ public CompletableFuture runCommand(String command, List argumen return new TenancyStep(); }).stepForClass(TenancyStep.class, (s) -> new CompartmentStep()) .stepForClass(CompartmentStep.class, (s) -> new SuggestedStep(null)) - .stepForClass(SuggestedStep.class, (s) -> new ProjectStep()) + .stepForClass(ProjectStep.class, (s) -> new ItemTypeStep()) .build(); Steps.getDefault() - .executeMultistep(new ItemTypeStep(), Lookups.fixed(nsProvider)) + .executeMultistep(new ProjectStep(), Lookups.fixed(nsProvider)) .thenAccept(values -> { Project project = values.getValueForStep(ProjectStep.class); CompletableFuture item = null;