Javadoc changes
Project: http://git-wip-us.apache.org/repos/asf/beam/repo Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/0d08d2a4 Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/0d08d2a4 Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/0d08d2a4 Branch: refs/heads/master Commit: 0d08d2a4561b286711ea4322f8d53ce5ad11e89f Parents: e3cafb4 Author: Aviem Zur <[email protected]> Authored: Wed Mar 1 07:51:05 2017 +0200 Committer: Aviem Zur <[email protected]> Committed: Fri Mar 10 23:13:38 2017 +0200 ---------------------------------------------------------------------- .../java/org/apache/beam/sdk/testing/PAssert.java | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/beam/blob/0d08d2a4/sdks/java/core/src/main/java/org/apache/beam/sdk/testing/PAssert.java ---------------------------------------------------------------------- diff --git a/sdks/java/core/src/main/java/org/apache/beam/sdk/testing/PAssert.java b/sdks/java/core/src/main/java/org/apache/beam/sdk/testing/PAssert.java index 1faa024..d88c4d6 100644 --- a/sdks/java/core/src/main/java/org/apache/beam/sdk/testing/PAssert.java +++ b/sdks/java/core/src/main/java/org/apache/beam/sdk/testing/PAssert.java @@ -283,7 +283,8 @@ public class PAssert { } /** - * Constructs an {@link IterableAssert} for the elements of the provided {@link PCollection}. + * Constructs an {@link IterableAssert} for the elements of the provided {@link PCollection} + * with the specified reason. */ public static <T> IterableAssert<T> that(String reason, PCollection<T> actual) { return new PCollectionContentsAssert<>(reason, actual); @@ -299,8 +300,8 @@ public class PAssert { } /** - * Constructs an {@link IterableAssert} for the value of the provided {@link PCollection} which - * must contain a single {@code Iterable<T>} value. + * Constructs an {@link IterableAssert} for the value of the provided {@link PCollection } with + * the specified reason. The provided PCollection must contain a single {@code Iterable<T>} value. */ public static <T> IterableAssert<T> thatSingletonIterable( String reason, PCollection<? extends Iterable<T>> actual) { @@ -329,7 +330,8 @@ public class PAssert { /** * Constructs a {@link SingletonAssert} for the value of the provided - * {@code PCollection PCollection<T>}, which must be a singleton. + * {@code PCollection PCollection<T>} with the specified reason. The provided PCollection must be + * a singleton. */ public static <T> SingletonAssert<T> thatSingleton(String reason, PCollection<T> actual) { return new PCollectionViewAssert<>(actual, View.<T>asSingleton(), actual.getCoder(), reason); @@ -347,7 +349,8 @@ public class PAssert { } /** - * Constructs a {@link SingletonAssert} for the value of the provided {@link PCollection}. + * Constructs a {@link SingletonAssert} for the value of the provided {@link PCollection} with the + * specified reason. * * <p>Note that the actual value must be coded by a {@link KvCoder}, not just any * {@code Coder<K, V>}. @@ -375,8 +378,8 @@ public class PAssert { } /** - * Constructs a {@link SingletonAssert} for the value of the provided {@link PCollection}, which - * must have at most one value per key. + * Constructs a {@link SingletonAssert} for the value of the provided {@link PCollection} with + * the specified reason. The {@link PCollection} must have at most one value per key. * * <p>Note that the actual value must be coded by a {@link KvCoder}, not just any * {@code Coder<K, V>}.
