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 A28032009F9 for ; Mon, 23 May 2016 20:15:20 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A1229160A0E; Mon, 23 May 2016 18:15:20 +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 EAE68160A05 for ; Mon, 23 May 2016 20:15:19 +0200 (CEST) Received: (qmail 12652 invoked by uid 500); 23 May 2016 18:15:19 -0000 Mailing-List: contact commits-help@kudu.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kudu.incubator.apache.org Delivered-To: mailing list commits@kudu.incubator.apache.org Received: (qmail 12643 invoked by uid 99); 23 May 2016 18:15:19 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 May 2016 18:15:19 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 8ECFE1A4E35 for ; Mon, 23 May 2016 18:15:18 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -3.221 X-Spam-Level: X-Spam-Status: No, score=-3.221 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id Arm5aLTfHKdF for ; Mon, 23 May 2016 18:15:16 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with SMTP id 394E55F36C for ; Mon, 23 May 2016 18:15:16 +0000 (UTC) Received: (qmail 12628 invoked by uid 99); 23 May 2016 18:15:15 -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; Mon, 23 May 2016 18:15:15 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 35E3BDFC8C; Mon, 23 May 2016 18:15:15 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: todd@apache.org To: commits@kudu.incubator.apache.org Message-Id: <6a3dec47ab8d449ebfeee6ae60c5acba@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: incubator-kudu git commit: KUDU-733: Fix javadoc warnings and fail build on warnings Date: Mon, 23 May 2016 18:15:15 +0000 (UTC) archived-at: Mon, 23 May 2016 18:15:20 -0000 Repository: incubator-kudu Updated Branches: refs/heads/master 86ddcd18a -> d55bc48eb KUDU-733: Fix javadoc warnings and fail build on warnings Fixed the single javadoc warning from org.kududb.client.Status. The make_site.sh fails if it detects javadoc warnings in the maven javadoc output. Change-Id: Iaf466d99d57ac2ba11f2af457f09bb5c7853f699 Reviewed-on: http://gerrit.cloudera.org:8080/3043 Tested-by: Kudu Jenkins Reviewed-by: Adar Dembo Project: http://git-wip-us.apache.org/repos/asf/incubator-kudu/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-kudu/commit/d55bc48e Tree: http://git-wip-us.apache.org/repos/asf/incubator-kudu/tree/d55bc48e Diff: http://git-wip-us.apache.org/repos/asf/incubator-kudu/diff/d55bc48e Branch: refs/heads/master Commit: d55bc48ebc760495b645c597c33266ffc2d8e346 Parents: 86ddcd1 Author: Will Berkeley Authored: Wed May 11 23:55:26 2016 -0400 Committer: Todd Lipcon Committed: Mon May 23 18:14:59 2016 +0000 ---------------------------------------------------------------------- docs/support/scripts/make_site.sh | 5 ++++- java/kudu-client/src/main/java/org/kududb/client/Status.java | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-kudu/blob/d55bc48e/docs/support/scripts/make_site.sh ---------------------------------------------------------------------- diff --git a/docs/support/scripts/make_site.sh b/docs/support/scripts/make_site.sh index 486ce11..317973a 100755 --- a/docs/support/scripts/make_site.sh +++ b/docs/support/scripts/make_site.sh @@ -62,7 +62,10 @@ fi cd "$SOURCE_ROOT/java" mvn clean install -DskipTests -mvn clean javadoc:aggregate +if mvn clean javadoc:aggregate | tee /dev/stdout | fgrep -q "Javadoc Warnings"; then + echo "There are Javadoc warnings. Please fix them." + exit 1 +fi if [ -f "$SOURCE_ROOT/java/target/site/apidocs/index.html" ]; then echo "Successfully built Javadocs." http://git-wip-us.apache.org/repos/asf/incubator-kudu/blob/d55bc48e/java/kudu-client/src/main/java/org/kududb/client/Status.java ---------------------------------------------------------------------- diff --git a/java/kudu-client/src/main/java/org/kududb/client/Status.java b/java/kudu-client/src/main/java/org/kududb/client/Status.java index b89f73d..d2ce300 100644 --- a/java/kudu-client/src/main/java/org/kududb/client/Status.java +++ b/java/kudu-client/src/main/java/org/kududb/client/Status.java @@ -21,7 +21,7 @@ import org.kududb.annotations.InterfaceAudience; import org.kududb.annotations.InterfaceStability; /** - * Representation of an error code and message. Wraps {@link WireProtocol.AppStatusPB}. + * Representation of an error code and message. Wraps {@link org.kududb.WireProtocol.AppStatusPB}. * See also {@code src/kudu/util/status.h} in the C++ codebase. * *

Do not use the {@code @deprecated} methods in this class.

@@ -55,7 +55,7 @@ public class Status { // Factory methods. /** - * Create a Status object from a {@link WireProtocol.AppStatusPB} protobuf object. + * Create a Status object from a {@link org.kududb.WireProtocol.AppStatusPB} protobuf object. * Package-private because we shade Protobuf and this is not usable outside this package. */ static Status fromPB(WireProtocol.AppStatusPB pb) {