piercemar commented on a change in pull request #2874:
URL: https://github.com/apache/netbeans/pull/2874#discussion_r609892277
##########
File path:
enterprise/tomcat5/src/org/netbeans/modules/tomcat5/deploy/TomcatManagerImpl.java
##########
@@ -530,7 +530,7 @@ public synchronized void run () {
// Set up an authorization header with our credentials
TomcatProperties tp = tm.getTomcatProperties();
String input = tp.getUsername () + ":" + tp.getPassword ();
- String auth = new String(Base64.encode(input.getBytes()));
+ String auth = new
String(Base64.getEncoder().encode(input.getBytes()));
Review comment:
Done as suggested. Thanks
--
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.
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