mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-23 04: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 {
|
public enum Condition {
|
||||||
|
@ -190,7 +190,8 @@ public class StreamError extends AbstractError implements PlainStreamElement {
|
||||||
try {
|
try {
|
||||||
condition = Condition.valueOf(string);
|
condition = Condition.valueOf(string);
|
||||||
} catch (Exception e) {
|
} 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;
|
return condition;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue