mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-09-22 10:43:57 -04:00
清理代码
This commit is contained in:
parent
53c0036b55
commit
911e33ed7c
@ -271,7 +271,7 @@ public class OAuth {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private static class DeviceTokenResponse extends ErrorResponse {
|
private final static class DeviceTokenResponse extends ErrorResponse {
|
||||||
@SerializedName("user_code")
|
@SerializedName("user_code")
|
||||||
public String userCode;
|
public String userCode;
|
||||||
|
|
||||||
@ -291,7 +291,7 @@ public class OAuth {
|
|||||||
public int interval;
|
public int interval;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static class TokenResponse extends ErrorResponse {
|
private final static class TokenResponse extends ErrorResponse {
|
||||||
@SerializedName("token_type")
|
@SerializedName("token_type")
|
||||||
public String tokenType;
|
public String tokenType;
|
||||||
|
|
||||||
@ -329,7 +329,7 @@ public class OAuth {
|
|||||||
* redirect URI used to obtain the authorization
|
* redirect URI used to obtain the authorization
|
||||||
* code.","correlation_id":"??????"}
|
* code.","correlation_id":"??????"}
|
||||||
*/
|
*/
|
||||||
public static class AuthorizationResponse extends ErrorResponse {
|
public final static class AuthorizationResponse extends ErrorResponse {
|
||||||
@SerializedName("token_type")
|
@SerializedName("token_type")
|
||||||
public String tokenType;
|
public String tokenType;
|
||||||
|
|
||||||
|
@ -321,16 +321,16 @@ public class MicrosoftService {
|
|||||||
public static final long ADD_FAMILY = 2148916238L;
|
public static final long ADD_FAMILY = 2148916238L;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class XBox400Exception extends AuthenticationException {
|
public final static class XBox400Exception extends AuthenticationException {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class NoMinecraftJavaEditionProfileException extends AuthenticationException {
|
public final static class NoMinecraftJavaEditionProfileException extends AuthenticationException {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class NoXuiException extends AuthenticationException {
|
public final static class NoXuiException extends AuthenticationException {
|
||||||
}
|
}
|
||||||
|
|
||||||
private static class XBoxLiveAuthenticationResponseDisplayClaims {
|
private final static class XBoxLiveAuthenticationResponseDisplayClaims {
|
||||||
List<Map<Object, Object>> xui;
|
List<Map<Object, Object>> xui;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -394,7 +394,7 @@ public class MicrosoftService {
|
|||||||
String signature;
|
String signature;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static class MinecraftStoreResponse extends MinecraftErrorResponse {
|
private final static class MinecraftStoreResponse extends MinecraftErrorResponse {
|
||||||
@SerializedName("items")
|
@SerializedName("items")
|
||||||
List<MinecraftStoreResponseItem> items;
|
List<MinecraftStoreResponseItem> items;
|
||||||
|
|
||||||
@ -405,7 +405,7 @@ public class MicrosoftService {
|
|||||||
String keyId;
|
String keyId;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class MinecraftProfileResponseSkin implements Validation {
|
public final static class MinecraftProfileResponseSkin implements Validation {
|
||||||
public String id;
|
public String id;
|
||||||
public String state;
|
public String state;
|
||||||
public String url;
|
public String url;
|
||||||
|
@ -246,11 +246,11 @@ public class YggdrasilService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private static class TextureResponse {
|
private final static class TextureResponse {
|
||||||
public Map<TextureType, Texture> textures;
|
public Map<TextureType, Texture> textures;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static class AuthenticationResponse extends ErrorResponse {
|
private final static class AuthenticationResponse extends ErrorResponse {
|
||||||
public String accessToken;
|
public String accessToken;
|
||||||
public String clientToken;
|
public String clientToken;
|
||||||
public GameProfile selectedProfile;
|
public GameProfile selectedProfile;
|
||||||
|
@ -62,7 +62,7 @@ public final class CleanroomVersionList extends VersionList<CleanroomRemoteVersi
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
private static class ReleaseResult {
|
private final static class ReleaseResult {
|
||||||
String name;
|
String name;
|
||||||
String created_at;
|
String created_at;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user