mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 12:02:05 +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) {
|
if (unsuccessfullyDeletedAccountsCount == 0) {
|
||||||
LOGGER.info("Successfully deleted all created accounts ✔");
|
LOGGER.info("Successfully deleted all created accounts ✔");
|
||||||
} else {
|
} 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;
|
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