mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-10 09:39:39 +02:00
Use CharSequence instead of String for username
in XMPPTCPConnection's constructor.
This commit is contained in:
parent
37081b2810
commit
612ca1ad9d
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@ public class XMPPTCPConnection extends AbstractXMPPConnection {
|
||||||
* @param password
|
* @param password
|
||||||
* @param serviceName
|
* @param serviceName
|
||||||
*/
|
*/
|
||||||
public XMPPTCPConnection(String username, String password, String serviceName) {
|
public XMPPTCPConnection(CharSequence username, String password, String serviceName) {
|
||||||
this(XMPPTCPConnectionConfiguration.builder().setUsernameAndPassword(username, password).setServiceName(
|
this(XMPPTCPConnectionConfiguration.builder().setUsernameAndPassword(username, password).setServiceName(
|
||||||
serviceName).build());
|
serviceName).build());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue