Override Object.toString().
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 11 May 2011 05:11:54 +0000 (07:11 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 11 May 2011 05:11:54 +0000 (07:11 +0200)
src/main/java/net/pterodactylus/sone/fcp/AbstractSoneCommand.java

index 8714417..5b146c8 100644 (file)
@@ -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 + "]";
+       }
+
 }