You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ap...@apache.org on 2015/04/02 07:10:41 UTC

[3/9] hbase git commit: HBASE-13340 Include LimitedPrivate interfaces in the API compatibility report

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/2d214c9e
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/2d214c9e
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/2d214c9e

Branch: refs/heads/branch-1
Commit: 2d214c9e351e2e6ee3e5005ea79d276d77a43415
Parents: 4937dca
Author: Andrew Purtell <ap...@apache.org>
Authored: Wed Apr 1 21:58:56 2015 -0700
Committer: Andrew Purtell <ap...@apache.org>
Committed: Wed Apr 1 22:09:51 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/2d214c9e/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