HBASE-13340 Include LimitedPrivate interfaces in the API compatibility report

This commit is contained in:
Andrew Purtell 2015-04-01 21:58:56 -07:00
parent c8e1177dd2
commit 797573e1b2
1 changed files with 3 additions and 1 deletions

View File

@ -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