From 78887414be686192bc10898730affe63028b0a6e Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Mon, 21 Oct 2019 21:37:43 +0200 Subject: Improve docstrings --- src/pl/edu/mimuw/cloudatlas/model/Attribute.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/pl/edu/mimuw/cloudatlas/model') diff --git a/src/pl/edu/mimuw/cloudatlas/model/Attribute.java b/src/pl/edu/mimuw/cloudatlas/model/Attribute.java index d0af5bb..6e91672 100644 --- a/src/pl/edu/mimuw/cloudatlas/model/Attribute.java +++ b/src/pl/edu/mimuw/cloudatlas/model/Attribute.java @@ -49,8 +49,7 @@ public class Attribute { } /** - * Indicates whether an attribute represents a query. This is true if and only if attribute name starts with an - * ampersand. + * Indicates whether an attribute represents a query. This is true if and only if the attribute's name starts with an ampersand. * * @param attribute the attribute to check * @return whether the attribute represents a query @@ -69,8 +68,8 @@ public class Attribute { } /** - * Returns a hash code value for this attribute. For a proper behavior when using Attribute objects in - * HashMap, HashSet etc. this is the hash code of a string representing attribute name. + * Returns a hash code value for this attribute. For proper behavior when using Attribute objects in + * HashMap, HashSet etc. this is the hash code of a string representing the attribute's name. * * @return hash code for this attribute */ @@ -84,7 +83,7 @@ public class Attribute { * * @param object the object to check * @return true if and only if the object is an instance of Attribute class and has - * identical name + * an identical name */ @Override public boolean equals(Object object) { -- cgit v1.2.3