1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-22 18:48:00 +01:00

Fix 'condtions' typo in StreamError

This commit is contained in:
Florian Schmaus 2015-01-16 17:26:11 +01:00
parent 2e23a6f150
commit 313e537394

View file

@ -149,7 +149,7 @@ public class StreamError extends AbstractError implements PlainStreamElement {
}
/**
* The defined stream error condtions, see RFC 6120 § 4.9.3
* The defined stream error conditions, see RFC 6120 § 4.9.3
*
*/
public enum Condition {
@ -190,7 +190,8 @@ public class StreamError extends AbstractError implements PlainStreamElement {
try {
condition = Condition.valueOf(string);
} catch (Exception e) {
throw new IllegalStateException("Could not transform string '" + string + "' to XMPPErrorConditoin", e);
throw new IllegalStateException("Could not transform string '" + string
+ "' to XMPPErrorCondition", e);
}
return condition;
}