Merge pull request #2007 from PrismLauncher/backport-2005-to-release-8.x

[Backport release-8.x] Format java code
This commit is contained in:
Alexandru Ionut Tripon 2024-01-04 22:29:21 +02:00 committed by GitHub
commit afc73ffa16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,14 +35,14 @@
package org.prismlauncher.legacy.fix.online;
import org.prismlauncher.legacy.utils.url.UrlUtils;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.Proxy;
import java.net.URL;
import java.net.URLConnection;
import org.prismlauncher.legacy.utils.url.UrlUtils;
public final class OnlineModeFix {
public static URLConnection openConnection(URL address, Proxy proxy) throws IOException {
// we start with "http://www.minecraft.net/game/joinserver.jsp?user=..."