mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-03-07 17:36:52 +08:00
fix: checkstyle
This commit is contained in:
parent
3b8a0989de
commit
54fe311a3d
@ -35,7 +35,7 @@ import java.util.logging.Level;
|
||||
import static org.jackhuang.hmcl.util.Lang.mapOf;
|
||||
import static org.jackhuang.hmcl.util.Lang.thread;
|
||||
|
||||
public class MicrosoftAuthenticationServer extends NanoHTTPD implements MicrosoftService.OAuthSession {
|
||||
public final class MicrosoftAuthenticationServer extends NanoHTTPD implements MicrosoftService.OAuthSession {
|
||||
private final int port;
|
||||
private final CompletableFuture<String> future = new CompletableFuture<>();
|
||||
|
||||
|
@ -107,7 +107,7 @@ public abstract class HttpRequest {
|
||||
return string(payload instanceof String ? (String) payload : GSON.toJson(payload), "application/json");
|
||||
}
|
||||
|
||||
public final HttpPostRequest form(Map<String, String> params) {
|
||||
public HttpPostRequest form(Map<String, String> params) {
|
||||
return string(NetworkUtils.withQuery("", params), "application/x-www-form-urlencoded");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user