AirStatusCode.java
1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
package com.snapchat.soju.shared.android.air;
public enum AirStatusCode
{
private final int a;
static
{
DUPLICATE_REQUEST = new AirStatusCode("DUPLICATE_REQUEST", 1, 2001);
BAD_REQUEST = new AirStatusCode("BAD_REQUEST", 2, 4000);
UNAUTHORIZED_USER = new AirStatusCode("UNAUTHORIZED_USER", 3, 4001);
}
private AirStatusCode(int paramInt)
{
this.a = paramInt;
}
public static AirStatusCode fromValue(Integer paramInteger)
{
if (paramInteger == null) {
return UNRECOGNIZED_VALUE;
}
AirStatusCode[] arrayOfAirStatusCode = values();
int i = 0;
while (i < arrayOfAirStatusCode.length)
{
if (arrayOfAirStatusCode[i].a == paramInteger.intValue()) {
return arrayOfAirStatusCode[i];
}
i += 1;
}
return UNRECOGNIZED_VALUE;
}
public final int value()
{
return this.a;
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/com/snapchat/soju/shared/android/air/AirStatusCode.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/