-
Notifications
You must be signed in to change notification settings - Fork 824
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding new action which registers ADB connection #5291
Conversation
added LSP label and restarting tests to enable the right jobs. |
enterprise/cloud.oracle/src/org/netbeans/modules/cloud/oracle/actions/AddADBAction.java
Outdated
Show resolved
Hide resolved
List<CompartmentItem> compartments = CompartmentNode.getCompartments().apply(selectedTenancy.get()); | ||
selectedCompartment = chooseOneItem(compartments, Bundle.SelectCompartment()); | ||
} | ||
Optional<DatabaseItem> selectedDatabase = Optional.empty(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why Optional and not simply DatabaseItem that can be checked for null
?
enterprise/cloud.oracle/src/org/netbeans/modules/cloud/oracle/actions/AddADBAction.java
Outdated
Show resolved
Hide resolved
} | ||
|
||
} | ||
} else if (ociItems.size() == 1) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems that the size() > 0
branch is executed instead of this one ?
enterprise/cloud.oracle/src/org/netbeans/modules/cloud/oracle/actions/AddADBAction.java
Show resolved
Hide resolved
enterprise/cloud.oracle/src/org/netbeans/modules/cloud/oracle/actions/AddADBAction.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
* Adding new action which registers ADB connection * minor fixes in AddABAction
Adding a new action which registers database connection for ADB from Oracle Cloud