From: David ‘Bombe’ Roden Date: Wed, 11 May 2011 05:11:54 +0000 (+0200) Subject: Override Object.toString(). X-Git-Tag: 0.6.5^2~37 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=4e3ad16ce022e5842ef8e00e71583299445b5069;p=Sone.git Override Object.toString(). --- diff --git a/src/main/java/net/pterodactylus/sone/fcp/AbstractSoneCommand.java b/src/main/java/net/pterodactylus/sone/fcp/AbstractSoneCommand.java index 8714417..5b146c8 100644 --- a/src/main/java/net/pterodactylus/sone/fcp/AbstractSoneCommand.java +++ b/src/main/java/net/pterodactylus/sone/fcp/AbstractSoneCommand.java @@ -330,4 +330,16 @@ public abstract class AbstractSoneCommand extends AbstractCommand { return likesBuilder.get(); } + // + // OBJECT METHODS + // + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return getClass().getName() + "[writeAccess=" + writeAccess + "]"; + } + }