Return-Path: X-Original-To: apmail-hbase-commits-archive@www.apache.org Delivered-To: apmail-hbase-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E657C17853 for ; Thu, 2 Apr 2015 04:59:07 +0000 (UTC) Received: (qmail 21874 invoked by uid 500); 2 Apr 2015 04:59:07 -0000 Delivered-To: apmail-hbase-commits-archive@hbase.apache.org Received: (qmail 21818 invoked by uid 500); 2 Apr 2015 04:59:07 -0000 Mailing-List: contact commits-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list commits@hbase.apache.org Received: (qmail 21809 invoked by uid 99); 2 Apr 2015 04:59:07 -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; Thu, 02 Apr 2015 04:59:07 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id A1D76E10D1; Thu, 2 Apr 2015 04:59:07 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: apurtell@apache.org To: commits@hbase.apache.org Date: Thu, 02 Apr 2015 04:59:07 -0000 Message-Id: <10bff3542b85498d9b8ae6b0f33bda6a@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [1/2] hbase git commit: HBASE-13340 Include LimitedPrivate interfaces in the API compatibility report Repository: hbase Updated Branches: refs/heads/master c8e1177dd -> 1632cd98f HBASE-13340 Include LimitedPrivate interfaces in the API compatibility report Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/797573e1 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/797573e1 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/797573e1 Branch: refs/heads/master Commit: 797573e1b270f47fa9c19931beaf68c68ae0acf9 Parents: c8e1177 Author: Andrew Purtell Authored: Wed Apr 1 21:58:56 2015 -0700 Committer: Andrew Purtell Committed: Wed Apr 1 21:58:56 2015 -0700 ---------------------------------------------------------------------- dev-support/check_compatibility.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/797573e1/dev-support/check_compatibility.sh ---------------------------------------------------------------------- diff --git a/dev-support/check_compatibility.sh b/dev-support/check_compatibility.sh index 1b6089b..1d939e0 100755 --- a/dev-support/check_compatibility.sh +++ b/dev-support/check_compatibility.sh @@ -244,10 +244,12 @@ fi # Generate annotation list dynamically; this way, there's no chance the file # gets stale and you have better visiblity into what classes are actually analyzed. +declare -a ANNOTATION_LIST ANNOTATION_LIST+=(InterfaceAudience.Public) +ANNOTATION_LIST+=(InterfaceAudience.LimitedPrivate) if ! [ -f ${SCRIPT_DIRECTORY}/target/compatibility/annotations ]; then cat > ${SCRIPT_DIRECTORY}/target/compatibility/annotations << __EOF -$(tr " " "\n" <<< "${ANNOTATION_LIST}") +$(tr " " "\n" <<< "${ANNOTATION_LIST[@]}") __EOF fi