m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src/pl
diff options
context:
space:
mode:
authorMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2019-10-21 21:37:43 +0200
committerMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2019-10-21 21:37:43 +0200
commit78887414be686192bc10898730affe63028b0a6e (patch)
tree640f8f2abb22447942c383e10a2816645e09a38c /src/pl
parentc2ccf4e675c68d8b1cca6f662dbfbf800449247a (diff)
Improve docstrings
Diffstat (limited to 'src/pl')
-rw-r--r--src/pl/edu/mimuw/cloudatlas/model/Attribute.java9
1 files changed, 4 insertions, 5 deletions
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 <code>attribute</code> represents a query. This is true if and only if attribute name starts with an
- * ampersand.
+ * Indicates whether an <code>attribute</code> 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 <code>attribute</code> represents a query
@@ -69,8 +68,8 @@ public class Attribute {
}
/**
- * Returns a hash code value for this attribute. For a proper behavior when using <code>Attribute</code> objects in
- * <code>HashMap</code>, <code>HashSet</code> 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 <code>Attribute</code> objects in
+ * <code>HashMap</code>, <code>HashSet</code> 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 <code>object</code> is an instance of <code>Attribute</code> class and has
- * identical name
+ * an identical name
*/
@Override
public boolean equals(Object object) {