From: David ‘Bombe’ Roden Date: Wed, 29 Oct 2014 17:52:22 +0000 (+0100) Subject: Remove unused fields. X-Git-Tag: 0.9-rc1^2~3^2~65 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=bcc5ab46b598395bd0b0dbcdb3a0d902fb92a74c;p=Sone.git Remove unused fields. --- diff --git a/src/main/java/net/pterodactylus/sone/data/SoneImpl.java b/src/main/java/net/pterodactylus/sone/data/SoneImpl.java index 5678824..725f32a 100644 --- a/src/main/java/net/pterodactylus/sone/data/SoneImpl.java +++ b/src/main/java/net/pterodactylus/sone/data/SoneImpl.java @@ -61,13 +61,6 @@ public class SoneImpl implements Sone { /** The identity of this Sone. */ private final Identity identity; - /** The URI under which the Sone is stored in Freenet. */ - private volatile FreenetURI requestUri; - - /** The URI used to insert a new version of this Sone. */ - /* This will be null for remote Sones! */ - private volatile FreenetURI insertUri; - /** The latest edition of the Sone. */ private volatile long latestEdition; @@ -710,7 +703,7 @@ public class SoneImpl implements Sone { /** {@inheritDoc} */ @Override public String toString() { - return getClass().getName() + "[identity=" + identity + ",requestUri=" + requestUri + ",insertUri(" + String.valueOf(insertUri).length() + "),friends(" + friendSones.size() + "),posts(" + posts.size() + "),replies(" + replies.size() + "),albums(" + getRootAlbum().getAlbums().size() + ")]"; + return getClass().getName() + "[identity=" + identity + ",friends(" + friendSones.size() + "),posts(" + posts.size() + "),replies(" + replies.size() + "),albums(" + getRootAlbum().getAlbums().size() + ")]"; } }