Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A9B05200C49 for ; Fri, 17 Mar 2017 22:46:37 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id A86CF160B8C; Fri, 17 Mar 2017 21:46:37 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 53EC1160B70 for ; Fri, 17 Mar 2017 22:46:36 +0100 (CET) Received: (qmail 23250 invoked by uid 500); 17 Mar 2017 21:46:33 -0000 Mailing-List: contact commits-help@beam.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@beam.apache.org Delivered-To: mailing list commits@beam.apache.org Received: (qmail 22749 invoked by uid 99); 17 Mar 2017 21:46:33 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Mar 2017 21:46:33 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 0D84CDFF7C; Fri, 17 Mar 2017 21:46:33 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: kenn@apache.org To: commits@beam.apache.org Date: Fri, 17 Mar 2017 21:47:00 -0000 Message-Id: In-Reply-To: <7d5726b420a54a668c2192f9d38f9f27@git.apache.org> References: <7d5726b420a54a668c2192f9d38f9f27@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [29/50] [abbrv] beam git commit: Javadoc changes archived-at: Fri, 17 Mar 2017 21:46:37 -0000 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/gearpump-runner Commit: 0d08d2a4561b286711ea4322f8d53ce5ad11e89f Parents: e3cafb4 Author: Aviem Zur Authored: Wed Mar 1 07:51:05 2017 +0200 Committer: Aviem Zur 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 IterableAssert that(String reason, PCollection 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} 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} value. */ public static IterableAssert thatSingletonIterable( String reason, PCollection> actual) { @@ -329,7 +330,8 @@ public class PAssert { /** * Constructs a {@link SingletonAssert} for the value of the provided - * {@code PCollection PCollection}, which must be a singleton. + * {@code PCollection PCollection} with the specified reason. The provided PCollection must be + * a singleton. */ public static SingletonAssert thatSingleton(String reason, PCollection actual) { return new PCollectionViewAssert<>(actual, View.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. * *

Note that the actual value must be coded by a {@link KvCoder}, not just any * {@code Coder}. @@ -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. * *

Note that the actual value must be coded by a {@link KvCoder}, not just any * {@code Coder}.