mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-25 03:57:58 +01:00
[sinttest] Fix typos in log and exception messages
This commit is contained in:
parent
6859de95d0
commit
9055878748
1 changed files with 3 additions and 3 deletions
|
@ -287,7 +287,7 @@ public class XmppConnectionManager {
|
|||
if (unsuccessfullyDeletedAccountsCount == 0) {
|
||||
LOGGER.info("Successfully deleted all created accounts ✔");
|
||||
} else {
|
||||
LOGGER.warning("Could not delete all created accounts, " + unsuccessfullyDeletedAccountsCount + " remainaing");
|
||||
LOGGER.warning("Could not delete all created accounts, " + unsuccessfullyDeletedAccountsCount + " remaining");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -366,11 +366,11 @@ public class XmppConnectionManager {
|
|||
break;
|
||||
case inBandRegistration:
|
||||
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();
|
||||
if (requiredAttributes.size() > 4) {
|
||||
throw new IllegalStateException("Unkown required attributes");
|
||||
throw new IllegalStateException("Unknown required attributes");
|
||||
}
|
||||
Map<String, String> additionalAttributes = new HashMap<>();
|
||||
additionalAttributes.put("name", "Smack Integration Test");
|
||||
|
|
Loading…
Reference in a new issue