From: David ‘Bombe’ Roden Date: Tue, 7 Jan 2025 20:31:25 +0000 (+0100) Subject: 🗑️ Deprecate createIdentity() with request URI X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=722bef1e88950f72373816bfe066991f82a2a931;p=jFCPlib.git 🗑️ Deprecate createIdentity() with request URI Because the request URI is ignored, anyway. --- diff --git a/src/main/java/net/pterodactylus/fcp/plugin/WebOfTrustPlugin.java b/src/main/java/net/pterodactylus/fcp/plugin/WebOfTrustPlugin.java index 464c6da..d118c46 100644 --- a/src/main/java/net/pterodactylus/fcp/plugin/WebOfTrustPlugin.java +++ b/src/main/java/net/pterodactylus/fcp/plugin/WebOfTrustPlugin.java @@ -102,7 +102,9 @@ public class WebOfTrustPlugin { * @return The new identity * @throws IOException if an I/O error occurs * @throws FcpException if an FCP error occurs + * @deprecated Use {@link #createIdentity(String, String, boolean, String)} instead */ + @Deprecated public OwnIdentity createIdentity(String nickname, String context, boolean publishTrustList, @SuppressWarnings("unused") String requestUri, String insertUri) throws IOException, FcpException { return createIdentity(nickname, context, publishTrustList, insertUri); }