mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 12:02: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