From: David ‘Bombe’ Roden Date: Fri, 6 Sep 2024 11:59:47 +0000 (+0200) Subject: 🔥 Remove fixed FIXMEs X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=add58711d936dc18b23f82cb45a2ce584ba03265;p=jFCPlib.git 🔥 Remove fixed FIXMEs Fuck the person who added FIXMEs in the source code and didn’t bother to actually fix the issues. It’s me. I was the one who did that. --- diff --git a/src/main/java/net/pterodactylus/fcp/highlevel/FcpClient.java b/src/main/java/net/pterodactylus/fcp/highlevel/FcpClient.java index 8f35393..55d7d08 100644 --- a/src/main/java/net/pterodactylus/fcp/highlevel/FcpClient.java +++ b/src/main/java/net/pterodactylus/fcp/highlevel/FcpClient.java @@ -599,7 +599,7 @@ public class FcpClient implements Closeable { * if an FCP error occurs */ public void addPeer(URL url, Trust trust, Visibility visibility) throws IOException, FcpException { - addPeer(new AddPeer(trust, visibility, url)); // FIXME – add parameters + addPeer(new AddPeer(trust, visibility, url)); } /** @@ -615,7 +615,7 @@ public class FcpClient implements Closeable { * if an FCP error occurs */ public void addPeer(String file, Trust trust, Visibility visibility) throws IOException, FcpException { - addPeer(new AddPeer(trust, visibility, file)); // FIXME – add parameters + addPeer(new AddPeer(trust, visibility, file)); } /**