From 797573e1b270f47fa9c19931beaf68c68ae0acf9 Mon Sep 17 00:00:00 2001 From: Andrew Purtell Date: Wed, 1 Apr 2015 21:58:56 -0700 Subject: [PATCH] HBASE-13340 Include LimitedPrivate interfaces in the API compatibility report --- dev-support/check_compatibility.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dev-support/check_compatibility.sh b/dev-support/check_compatibility.sh index 1b6089b8e8a..1d939e0d9af 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