m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2019-10-22 12:04:40 +0200
committerMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2019-10-22 12:04:40 +0200
commitbc34c65fea5e4422fe40d2fa2f029c96dd8d703d (patch)
treea6ec373c10c4bb58b806426b54e80375c18e6441
parentdf101389d66b34e610068a06154e7784b1609047 (diff)
Fix comments in TypeCollection
-rw-r--r--src/pl/edu/mimuw/cloudatlas/model/TypeCollection.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pl/edu/mimuw/cloudatlas/model/TypeCollection.java b/src/pl/edu/mimuw/cloudatlas/model/TypeCollection.java
index 6e08e42..da5d848 100644
--- a/src/pl/edu/mimuw/cloudatlas/model/TypeCollection.java
+++ b/src/pl/edu/mimuw/cloudatlas/model/TypeCollection.java
@@ -32,7 +32,7 @@ import pl.edu.mimuw.cloudatlas.model.Value;
import pl.edu.mimuw.cloudatlas.model.ValueNull;
/**
- * Represents a collection type with specified element type.
+ * Represents a collection type with a specified element type.
*
* @see TypePrimitve
*/
@@ -43,8 +43,8 @@ public class TypeCollection extends Type {
* Creates a new collection type.
*
* @param primaryType a type of this collection (set, list etc.)
- * @param elementType a type of an element of this collection; may be a complex type (for instance
- * <code>TypeCollection</code>)
+ * @param elementType a type of elements of this collection; may be a complex type (for instance
+ * another <code>TypeCollection</code>)
*/
public TypeCollection(PrimaryType primaryType, Type elementType) {
super(primaryType);
@@ -68,7 +68,7 @@ public class TypeCollection extends Type {
}
/**
- * Returns a friendly textual representation of this collection, for instance: "SET of (STRING)".
+ * Returns a textual representation of this collection, for instance: "SET of (STRING)".
*
* @return a textual representation of this type
*/