From: David ‘Bombe’ Roden Date: Thu, 7 Nov 2013 06:28:11 +0000 (+0100) Subject: Remove unused copy-constructor. X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=commitdiff_plain;h=92335556296801cc0f49cba0f297fdc71b59d58e Remove unused copy-constructor. --- diff --git a/src/main/java/net/pterodactylus/sone/freenet/wot/DefaultOwnIdentity.java b/src/main/java/net/pterodactylus/sone/freenet/wot/DefaultOwnIdentity.java index 08a66e3..08b936f 100644 --- a/src/main/java/net/pterodactylus/sone/freenet/wot/DefaultOwnIdentity.java +++ b/src/main/java/net/pterodactylus/sone/freenet/wot/DefaultOwnIdentity.java @@ -45,19 +45,6 @@ public class DefaultOwnIdentity extends DefaultIdentity implements OwnIdentity { this.insertUri = insertUri; } - /** - * Copy constructor for an own identity. - * - * @param ownIdentity - * The own identity to copy - */ - public DefaultOwnIdentity(OwnIdentity ownIdentity) { - super(ownIdentity.getId(), ownIdentity.getNickname(), ownIdentity.getRequestUri()); - this.insertUri = ownIdentity.getInsertUri(); - setContexts(ownIdentity.getContexts()); - setProperties(ownIdentity.getProperties()); - } - // // ACCESSORS //