This is an automated email from the ASF dual-hosted git repository.
jhorvath pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git
The following commit(s) were added to refs/heads/master by this push:
new 485f55ead3 Allow empty jdbc password (#4784)
485f55ead3 is described below
commit 485f55ead3e02660d8fca7ae6a9a3992e2410815
Author: jhorvath <[email protected]>
AuthorDate: Thu Oct 13 18:07:17 2022 +0200
Allow empty jdbc password (#4784)
---
.../src/org/netbeans/modules/java/lsp/server/db/DBAddConnection.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/db/DBAddConnection.java
b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/db/DBAddConnection.java
index b41f80fdb1..20ba44676a 100644
---
a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/db/DBAddConnection.java
+++
b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/db/DBAddConnection.java
@@ -231,7 +231,7 @@ public class DBAddConnection extends CodeActionsProvider {
switch (params.getStep()) {
case 4:
Either<List<QuickPickItem>,String> passwordData =
data.get(PASSWORD);
- if (passwordData != null &&
!passwordData.getRight().isEmpty()) {
+ if (passwordData != null) {
Either<List<QuickPickItem>,String> driverData
= data.get(DRIVER);
Either<List<QuickPickItem>,String> urlData =
data.get(DB_URL);
Either<List<QuickPickItem>,String> userData =
data.get(USER_ID);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists