File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
enterprise/cloud.oracle/src/org/netbeans/modules/cloud/oracle/steps Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 2020
2121import com .oracle .bmc .identity .model .Tenancy ;
2222import java .util .ArrayList ;
23- import java .util .Collection ;
2423import java .util .LinkedList ;
2524import java .util .List ;
2625import java .util .Optional ;
3231import org .netbeans .modules .cloud .oracle .assets .CloudAssets ;
3332import org .netbeans .modules .cloud .oracle .assets .Steps .Values ;
3433import org .netbeans .modules .cloud .oracle .items .IncompatibleTenancyItem ;
35- import org .netbeans .modules .cloud .oracle .items .OCIItem ;
3634import org .netbeans .modules .cloud .oracle .items .TenancyItem ;
3735import org .openide .NotifyDescriptor ;
3836import org .openide .util .NbBundle ;
@@ -72,7 +70,7 @@ public NotifyDescriptor createInput() {
7270 for (OCIProfile p : profiles ) {
7371 Tenancy t = p .getTenancyData ();
7472 if (t != null ) {
75- items .add (new NotifyDescriptor .QuickPick .Item (p .getId (), Bundle .SelectProfile_Description (t .getName (), t . getHomeRegionKey ())));
73+ items .add (new NotifyDescriptor .QuickPick .Item (p .getId (), Bundle .SelectProfile_Description (t .getName (), p . getRegion (). getRegionCode ())));
7674 }
7775 }
7876 if (profiles .stream ().filter (p -> p .getTenancy ().isPresent ()).count () == 0 ) {
You can’t perform that action at this time.
0 commit comments