From: David ‘Bombe’ Roden Date: Fri, 8 Apr 2011 03:45:13 +0000 (+0200) Subject: Add javadoc comments. X-Git-Tag: 0.6.1^2~13 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=64561f92233e7105055714a9de3db8eead92dd44;p=Sone.git Add javadoc comments. --- diff --git a/src/main/java/net/pterodactylus/sone/freenet/wot/DefaultOwnIdentity.java b/src/main/java/net/pterodactylus/sone/freenet/wot/DefaultOwnIdentity.java index eade03e..ab46b43 100644 --- a/src/main/java/net/pterodactylus/sone/freenet/wot/DefaultOwnIdentity.java +++ b/src/main/java/net/pterodactylus/sone/freenet/wot/DefaultOwnIdentity.java @@ -171,12 +171,18 @@ public class DefaultOwnIdentity extends DefaultIdentity implements OwnIdentity { // OBJECT METHODS // + /** + * {@inheritDoc} + */ @Override public int hashCode() { /* The hash of DefaultIdentity is fine. */ return super.hashCode(); } + /** + * {@inheritDoc} + */ @Override public boolean equals(Object object) { /* The ID of the superclass is still enough. */ diff --git a/src/main/java/net/pterodactylus/sone/text/PartContainer.java b/src/main/java/net/pterodactylus/sone/text/PartContainer.java index 4993324..d52658e 100644 --- a/src/main/java/net/pterodactylus/sone/text/PartContainer.java +++ b/src/main/java/net/pterodactylus/sone/text/PartContainer.java @@ -97,6 +97,9 @@ public class PartContainer implements Part { // OBJECT METHODS // + /** + * {@inheritDoc} + */ @Override public String toString() { StringWriter stringWriter = new StringWriter(); diff --git a/src/main/java/net/pterodactylus/sone/text/TemplatePart.java b/src/main/java/net/pterodactylus/sone/text/TemplatePart.java index b948f10..ac5694c 100644 --- a/src/main/java/net/pterodactylus/sone/text/TemplatePart.java +++ b/src/main/java/net/pterodactylus/sone/text/TemplatePart.java @@ -94,6 +94,9 @@ public class TemplatePart implements Part, net.pterodactylus.util.template.Part // OBJECT METHODS // + /** + * {@inheritDoc} + */ @Override public String toString() { StringWriter stringWriter = new StringWriter();