mbien commented on code in PR #5477:
URL: https://github.com/apache/netbeans/pull/5477#discussion_r1107756620


##########
enterprise/j2ee.sun.appsrv/src/org/netbeans/modules/j2ee/sun/api/restricted/ResourceConfigurator.java:
##########
@@ -570,8 +570,7 @@ private String isSameDatabaseConnection(JdbcConnectionPool 
connPool, String data
                 if ((databaseUrl.indexOf(serverPort) != -1)
                         && ((databaseUrl.indexOf(databaseName) != -1)
                         || (databaseUrl.indexOf(sid) != -1))) {
-                    if ((username != null && user.equals(username))
-                            && (password != null && pwd.equals(password))) {
+                    if (user.equals(username) && pwd.equals(password)) {

Review Comment:
   no its not reverted!



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
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

Reply via email to