1
0
Fork 0
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:
Guus der Kinderen 2023-09-29 20:21:14 +02:00 committed by Florian Schmaus
parent 6859de95d0
commit 9055878748

View file

@ -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");