🗑️ Deprecate createIdentity() with request URI
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Tue, 7 Jan 2025 20:31:25 +0000 (21:31 +0100)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Wed, 8 Jan 2025 06:25:18 +0000 (07:25 +0100)
Because the request URI is ignored, anyway.

src/main/java/net/pterodactylus/fcp/plugin/WebOfTrustPlugin.java

index 464c6da..d118c46 100644 (file)
@@ -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);
        }