[
https://issues.apache.org/jira/browse/HBASE-17857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15950476#comment-15950476
]
Duo Zhang commented on HBASE-17857:
-----------------------------------
The script is like this
{noformat}
#!/bin/bash
IS_PUBLIC=`awk '{print $1}' < $1 | grep -s "^@InterfaceAudience.Public"`
if [ ! -n "$IS_PUBLIC" ]; then
# echo "Skipping $1"
exit 1
fi
echo "Processing $1"
grep -v "^[ ]*@InterfaceStability." $1 > /tmp/tmp.java
mv /tmp/tmp.java $1
{noformat}
And executed with
{noformat}
find . -type f -name *.java -exec ./rm_anno.sh {} \;
{noformat}
> Remove IS annotations from IA.Public classes
> --------------------------------------------
>
> Key: HBASE-17857
> URL: https://issues.apache.org/jira/browse/HBASE-17857
> Project: HBase
> Issue Type: Sub-task
> Components: API
> Affects Versions: 2.0.0
> Reporter: Duo Zhang
> Assignee: Duo Zhang
> Fix For: 2.0.0
>
>
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)