From ed94340d04dafab803964b25f0b8b9bf2b5495ca Mon Sep 17 00:00:00 2001 From: allombar Date: Sun, 19 May 2024 16:36:17 +0200 Subject: [PATCH] Implement Nitro Feature for macOS --- .../protocol/connection/proxy/nitro/os/macos/NitroMacOS.java | 1 - 1 file changed, 1 deletion(-) diff --git a/G-Earth/src/main/java/gearth/protocol/connection/proxy/nitro/os/macos/NitroMacOS.java b/G-Earth/src/main/java/gearth/protocol/connection/proxy/nitro/os/macos/NitroMacOS.java index fd094a3..35d5ff1 100644 --- a/G-Earth/src/main/java/gearth/protocol/connection/proxy/nitro/os/macos/NitroMacOS.java +++ b/G-Earth/src/main/java/gearth/protocol/connection/proxy/nitro/os/macos/NitroMacOS.java @@ -59,7 +59,6 @@ public class NitroMacOS implements NitroOsFunctions { @Override public boolean registerSystemProxy(String host, int port) { try { - final String proxy = String.format("%s:%d", host, port); final String[] ignoreHosts = PROXY_IGNORE.split(";"); // Enable proxy