@@ -115,7 +115,8 @@ protected IterableSubject(FailureMetadata metadata, @Nullable Iterable<?> iterab
115115 protected String actualCustomStringRepresentation () {
116116 if (actual != null ) {
117117 // Check the value of iterable.toString() against the default Object.toString() implementation
118- // so we can avoid things like "com.google.common.graph.Traverser$GraphTraverser$1@5e316c74"
118+ // so that we can avoid things like
119+ // "com.google.common.graph.Traverser$GraphTraverser$1@5e316c74"
119120 String objectToString =
120121 actual .getClass ().getName () + '@' + Integer .toHexString (System .identityHashCode (actual ));
121122 if (actual .toString ().equals (objectToString )) {
@@ -256,7 +257,7 @@ public final void containsAnyIn(@Nullable Object[] expected) {
256257 }
257258
258259 /**
259- * Checks that the actual iterable contains at least all of the expected elements or fails. If an
260+ * Checks that the actual iterable contains at least all the expected elements or fails. If an
260261 * element appears more than once in the expected elements to this call then it must appear at
261262 * least that number of times in the actual elements.
262263 *
@@ -273,7 +274,7 @@ public final Ordered containsAtLeast(
273274 }
274275
275276 /**
276- * Checks that the actual iterable contains at least all of the expected elements or fails. If an
277+ * Checks that the actual iterable contains at least all the expected elements or fails. If an
277278 * element appears more than once in the expected elements then it must appear at least that
278279 * number of times in the actual elements.
279280 *
@@ -333,7 +334,7 @@ public void inOrder() {
333334 }
334335
335336 /**
336- * Checks that the actual iterable contains at least all of the expected elements or fails. If an
337+ * Checks that the actual iterable contains at least all the expected elements or fails. If an
337338 * element appears more than once in the expected elements then it must appear at least that
338339 * number of times in the actual elements.
339340 *
@@ -711,7 +712,7 @@ enum ElementFactGrouping {
711712 }
712713
713714 /**
714- * Checks that a actual iterable contains none of the excluded objects or fails. (Duplicates are
715+ * Checks that an actual iterable contains none of the excluded objects or fails. (Duplicates are
715716 * irrelevant to this test, which fails if any of the actual elements equal any of the excluded.)
716717 */
717718 public final void containsNoneOf (
@@ -1043,7 +1044,7 @@ public final String toString() {
10431044 *
10441045 * <p>On assertions where it makes sense to do so, the elements are paired as follows: they are
10451046 * keyed by {@code keyFunction}, and if an unexpected element and a missing element have the
1046- * same non-null key then the they are paired up. (Elements with null keys are not paired.) The
1047+ * same non-null key then they are paired up. (Elements with null keys are not paired.) The
10471048 * failure message will show paired elements together, and a diff will be shown if the {@link
10481049 * Correspondence#formatDiff} method returns non-null.
10491050 *
@@ -1085,8 +1086,8 @@ public UsingCorrespondence<A, E> displayingDiffsPairedBy(Function<? super E, ?>
10851086 * <p>On assertions where it makes sense to do so, the elements are paired as follows: the
10861087 * unexpected elements are keyed by {@code actualKeyFunction}, the missing elements are keyed by
10871088 * {@code expectedKeyFunction}, and if an unexpected element and a missing element have the same
1088- * non-null key then the they are paired up. (Elements with null keys are not paired.) The
1089- * failure message will show paired elements together, and a diff will be shown if the {@link
1089+ * non-null key then they are paired up. (Elements with null keys are not paired.) The failure
1090+ * message will show paired elements together, and a diff will be shown if the {@link
10901091 * Correspondence#formatDiff} method returns non-null.
10911092 *
10921093 * <p>The expected elements given in the assertion should be uniquely keyed by {@code
@@ -1561,8 +1562,8 @@ private boolean failIfOneToOneMappingHasMissingOrExtra(
15611562 }
15621563
15631564 /**
1564- * Checks that the subject contains elements that corresponds to all of the expected elements,
1565- * i.e. that there is a 1:1 mapping between any subset of the actual elements and the expected
1565+ * Checks that the subject contains elements that correspond to all the expected elements, i.e.
1566+ * that there is a 1:1 mapping between any subset of the actual elements and the expected
15661567 * elements where each pair of elements correspond.
15671568 *
15681569 * <p>To also test that the contents appear in the given order, make a call to {@code inOrder()}
@@ -1576,8 +1577,8 @@ public final Ordered containsAtLeast(E first, E second, E @Nullable ... rest) {
15761577 }
15771578
15781579 /**
1579- * Checks that the subject contains elements that corresponds to all of the expected elements,
1580- * i.e. that there is a 1:1 mapping between any subset of the actual elements and the expected
1580+ * Checks that the subject contains elements that correspond to all the expected elements, i.e.
1581+ * that there is a 1:1 mapping between any subset of the actual elements and the expected
15811582 * elements where each pair of elements correspond.
15821583 *
15831584 * <p>To also test that the contents appear in the given order, make a call to {@code inOrder()}
@@ -1642,8 +1643,8 @@ public void inOrder() {
16421643 }
16431644
16441645 /**
1645- * Checks that the subject contains elements that corresponds to all of the expected elements,
1646- * i.e. that there is a 1:1 mapping between any subset of the actual elements and the expected
1646+ * Checks that the subject contains elements that correspond to all the expected elements, i.e.
1647+ * that there is a 1:1 mapping between any subset of the actual elements and the expected
16471648 * elements where each pair of elements correspond.
16481649 *
16491650 * <p>To also test that the contents appear in the given order, make a call to {@code inOrder()}
0 commit comments