From 722bef1e88950f72373816bfe066991f82a2a931 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Tue, 7 Jan 2025 21:31:25 +0100 Subject: [PATCH] =?utf8?q?=F0=9F=97=91=EF=B8=8F=20Deprecate=20createIdenti?= =?utf8?q?ty()=20with=20request=20URI?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Because the request URI is ignored, anyway. --- src/main/java/net/pterodactylus/fcp/plugin/WebOfTrustPlugin.java | 2 ++ 1 file changed, 2 insertions(+) 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); } -- 2.7.4