m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2019-10-22 00:44:57 +0200
committerMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2019-10-22 11:34:55 +0200
commit8500b8b6fbbc9c4a94ceb609611818a40e0be314 (patch)
tree26e67e374992ad14eef517d4af10eb725108bd2e
parentc08e466f19e6da4dcf6bc93dfd2709a35cf3e248 (diff)
Fix comments in ValueNull
-rw-r--r--src/pl/edu/mimuw/cloudatlas/model/ValueList.java2
-rw-r--r--src/pl/edu/mimuw/cloudatlas/model/ValueNull.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/pl/edu/mimuw/cloudatlas/model/ValueList.java b/src/pl/edu/mimuw/cloudatlas/model/ValueList.java
index ae438e2..76d59ff 100644
--- a/src/pl/edu/mimuw/cloudatlas/model/ValueList.java
+++ b/src/pl/edu/mimuw/cloudatlas/model/ValueList.java
@@ -81,7 +81,7 @@ public class ValueList extends ValueSimple<List<Value>> implements List<Value> {
}
/**
- * Gets a <code>List</code> containing all the objects stored in this value. Modifying a return value will cause an
+ * Gets a <code>List</code> containing all the objects stored in this value. Modifying the returned list will cause an
* exception.
*/
@Override
diff --git a/src/pl/edu/mimuw/cloudatlas/model/ValueNull.java b/src/pl/edu/mimuw/cloudatlas/model/ValueNull.java
index 60a53af..c628beb 100644
--- a/src/pl/edu/mimuw/cloudatlas/model/ValueNull.java
+++ b/src/pl/edu/mimuw/cloudatlas/model/ValueNull.java
@@ -28,7 +28,7 @@ import pl.edu.mimuw.cloudatlas.model.Value;
import pl.edu.mimuw.cloudatlas.model.ValueNull;
/**
- * A special null value of an unknown type introduced to deal with nulls. This class is a singleton.
+ * A special null value of an unknown type. This class is a singleton.
*
* @see TypePrimitve#NULL
* @see Type#isCompatible(Value)
@@ -39,7 +39,7 @@ public class ValueNull extends Value {
private ValueNull() {}
/**
- * Gets a singleton instance of a <code>ValueNull</code> class. Every call to this method returns the same
+ * Gets a singleton instance of the <code>ValueNull</code> class. Every call to this method returns the same
* reference.
*
* @return an instance of <code>ValueNull</code>