From: David ‘Bombe’ Roden Date: Fri, 14 Feb 2020 17:46:56 +0000 (+0100) Subject: 🔊 Implement toString() on post reply X-Git-Tag: v82^2~70 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=a587722cd144900aead772ef8ae16efe7445b60e;p=Sone.git 🔊 Implement toString() on post reply --- diff --git a/src/main/java/net/pterodactylus/sone/database/memory/MemoryPostReply.java b/src/main/java/net/pterodactylus/sone/database/memory/MemoryPostReply.java index e4a8f30..ef21a75 100644 --- a/src/main/java/net/pterodactylus/sone/database/memory/MemoryPostReply.java +++ b/src/main/java/net/pterodactylus/sone/database/memory/MemoryPostReply.java @@ -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 + '\'' + + '}'; + } + }