🔀 Merge branch 'release/v82'
[Sone.git] / src / main / java / net / pterodactylus / sone / data / impl / IdOnlySone.java
index e9a0c57..ddd96b9 100644 (file)
@@ -23,8 +23,6 @@ import com.google.common.base.Objects;
 /**
  * {@link Sone} implementation that only stores the ID of a Sone and returns
  * {@code null}, {@code 0}, or empty collections where appropriate.
- *
- * @author <a href="mailto:bombe@pterodactylus.net">David â€˜Bombe’ Roden</a>
  */
 public class IdOnlySone implements Sone {
 
@@ -55,11 +53,6 @@ public class IdOnlySone implements Sone {
        }
 
        @Override
-       public FreenetURI getInsertUri() {
-               return null;
-       }
-
-       @Override
        public long getLatestEdition() {
                return 0;
        }
@@ -184,8 +177,7 @@ public class IdOnlySone implements Sone {
        }
 
        @Override
-       public Sone removeLikedPostId(String postId) {
-               return this;
+       public void removeLikedPostId(String postId) {
        }
 
        @Override
@@ -209,8 +201,7 @@ public class IdOnlySone implements Sone {
        }
 
        @Override
-       public Sone removeLikedReplyId(String replyId) {
-               return this;
+       public void removeLikedReplyId(String replyId) {
        }
 
        @Override