Apache9 commented on pull request #2714: URL: https://github.com/apache/hbase/pull/2714#issuecomment-755864895
Oh, after searching, I think this annotation is a better choice as error prone could analysis this at compile time https://github.com/google/error-prone/blob/master/annotations/src/main/java/com/google/errorprone/annotations/RestrictedApi.java So let's just ban the VisibleForTesting imports in maven enforcer. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org