mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-22 14:22:05 +01:00
Fix 'condtions' typo in StreamError
This commit is contained in:
parent
2e23a6f150
commit
313e537394
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue