mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-26 14:02:06 +01:00
Fixed typo condition name. SMACK-236
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10019 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
3a1a6b7830
commit
c795fd7423
1 changed files with 4 additions and 3 deletions
|
@ -129,6 +129,7 @@ public class XMPPError {
|
||||||
* @param type the error type.
|
* @param type the error type.
|
||||||
* @param condition the error condition.
|
* @param condition the error condition.
|
||||||
* @param message a message describing the error.
|
* @param message a message describing the error.
|
||||||
|
* @param extension list of packet extensions
|
||||||
*/
|
*/
|
||||||
public XMPPError(int code, Type type, String condition, String message,
|
public XMPPError(int code, Type type, String condition, String message,
|
||||||
List<PacketExtension> extension) {
|
List<PacketExtension> extension) {
|
||||||
|
@ -334,7 +335,7 @@ public class XMPPError {
|
||||||
public static final Condition service_unavailable = new Condition("service-unavailable");
|
public static final Condition service_unavailable = new Condition("service-unavailable");
|
||||||
public static final Condition subscription_required = new Condition("subscription-required");
|
public static final Condition subscription_required = new Condition("subscription-required");
|
||||||
public static final Condition undefined_condition = new Condition("undefined-condition");
|
public static final Condition undefined_condition = new Condition("undefined-condition");
|
||||||
public static final Condition unexpected_condition = new Condition("unexpected-condition");
|
public static final Condition unexpected_request = new Condition("unexpected-request");
|
||||||
public static final Condition request_timeout = new Condition("request-timeout");
|
public static final Condition request_timeout = new Condition("request-timeout");
|
||||||
|
|
||||||
private String value;
|
private String value;
|
||||||
|
@ -410,8 +411,8 @@ public class XMPPError {
|
||||||
Condition.subscription_required, Type.AUTH, 407));
|
Condition.subscription_required, Type.AUTH, 407));
|
||||||
instances.put(Condition.undefined_condition, new XMPPError.ErrorSpecification(
|
instances.put(Condition.undefined_condition, new XMPPError.ErrorSpecification(
|
||||||
Condition.undefined_condition, Type.WAIT, 500));
|
Condition.undefined_condition, Type.WAIT, 500));
|
||||||
instances.put(Condition.unexpected_condition, new XMPPError.ErrorSpecification(
|
instances.put(Condition.unexpected_request, new XMPPError.ErrorSpecification(
|
||||||
Condition.unexpected_condition, Type.WAIT, 400));
|
Condition.unexpected_request, Type.WAIT, 400));
|
||||||
instances.put(Condition.request_timeout, new XMPPError.ErrorSpecification(
|
instances.put(Condition.request_timeout, new XMPPError.ErrorSpecification(
|
||||||
Condition.request_timeout, Type.CANCEL, 408));
|
Condition.request_timeout, Type.CANCEL, 408));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue