@@ -108,7 +108,7 @@ public long size() {
108108 * an unknown size, {@link Shape#UNKNOWN_SIZE} is returned.
109109 *
110110 * @param i the index of the dimension to get the size for. If this Shape has a known number of
111- * dimensions, it must be < {@link Shape#numDimensions()}. The index may be negative, in which
111+ * dimensions, it must be < {@link Shape#numDimensions()}. The index may be negative, in which
112112 * case the position is counted from the end of the shape. E.g.: {@code size(-1)} returns the
113113 * size of the last dimension, {@code size(-2)} the size of the second to last dimension etc.
114114 * @return The size of the dimension with the given index if known, {@link Shape#UNKNOWN_SIZE}
@@ -236,7 +236,7 @@ public Shape head() {
236236 * Returns an n-dimensional Shape with the dimensions matching the first n dimensions of this
237237 * shape
238238 *
239- * @param n the number of leading dimensions to get, must be < = than {@link Shape#numDimensions()}
239+ * @param n the number of leading dimensions to get, must be < = than {@link Shape#numDimensions()}
240240 * @return an n-dimensional Shape with the first n dimensions matching the first n dimensions of
241241 * this Shape
242242 */
@@ -260,7 +260,7 @@ public Shape tail() {
260260 * Returns an n-dimensional Shape with the dimensions matching the last n dimensions of this
261261 * Shape.
262262 *
263- * @param n the number of trailing dimensions to get, must be < = than {@link
263+ * @param n the number of trailing dimensions to get, must be < = than {@link
264264 * Shape#numDimensions()}
265265 * @return an n-dimensional shape with the dimensions matching the last n dimensions of this
266266 * Shape, never null
@@ -326,7 +326,7 @@ public Shape prepend(Shape other) {
326326 /**
327327 * Returns a new Shape, with another Shapes' dimensions appended. For both this Shape and the
328328 * other Shape, {@link Shape#isUnknown()} must return false. E.g. @code
329- * Shape.of(3,4).append(Shape.of(1,2)) => Shape.of(3,4,1,2) }
329+ * Shape.of(3,4).append(Shape.of(1,2)) => Shape.of(3,4,1,2) }
330330 *
331331 * @param other another Shape, must not be {@code null}, must not be unknown
332332 * @return A new Shape consisting of this Shape's dimensions followed by the given Shape's
0 commit comments