🔊 Implement toString() on post reply
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 14 Feb 2020 17:46:56 +0000 (18:46 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 14 Feb 2020 17:46:56 +0000 (18:46 +0100)
src/main/java/net/pterodactylus/sone/database/memory/MemoryPostReply.java

index e4a8f30..ef21a75 100644 (file)
@@ -177,4 +177,17 @@ class MemoryPostReply implements PostReply {
                return memoryPostReply.id.equals(id);
        }
 
+       @Override
+       public String toString() {
+               return "MemoryPostReply{" +
+                               "database=" + database +
+                               ", soneProvider=" + soneProvider +
+                               ", id='" + id + '\'' +
+                               ", soneId='" + soneId + '\'' +
+                               ", time=" + time +
+                               ", text='" + text + '\'' +
+                               ", postId='" + postId + '\'' +
+                               '}';
+       }
+
 }