mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-23 20:42:06 +01:00
Fix typos in XmppConnectionManager
This commit is contained in:
parent
92e8f81b3c
commit
03bde438ce
1 changed files with 2 additions and 2 deletions
|
@ -336,11 +336,11 @@ public class XmppConnectionManager<DC extends AbstractXMPPConnection> {
|
||||||
break;
|
break;
|
||||||
case inBandRegistration:
|
case inBandRegistration:
|
||||||
if (!accountManager.supportsAccountCreation()) {
|
if (!accountManager.supportsAccountCreation()) {
|
||||||
throw new UnsupportedOperationException("Account creation/registation is not supported");
|
throw new UnsupportedOperationException("Account creation/registration is not supported");
|
||||||
}
|
}
|
||||||
Set<String> requiredAttributes = accountManager.getAccountAttributes();
|
Set<String> requiredAttributes = accountManager.getAccountAttributes();
|
||||||
if (requiredAttributes.size() > 4) {
|
if (requiredAttributes.size() > 4) {
|
||||||
throw new IllegalStateException("Unkown required attributes");
|
throw new IllegalStateException("Unknown required attributes");
|
||||||
}
|
}
|
||||||
Map<String, String> additionalAttributes = new HashMap<>();
|
Map<String, String> additionalAttributes = new HashMap<>();
|
||||||
additionalAttributes.put("name", "Smack Integration Test");
|
additionalAttributes.put("name", "Smack Integration Test");
|
||||||
|
|
Loading…
Reference in a new issue