You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Duo Zhang (Jira)" <ji...@apache.org> on 2021/01/09 08:42:00 UTC
[jira] [Resolved] (HBASE-25333) Add maven enforcer rule to ban
VisibleForTesting imports
[ https://issues.apache.org/jira/browse/HBASE-25333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Duo Zhang resolved HBASE-25333.
-------------------------------
Hadoop Flags: Reviewed
Resolution: Fixed
Pushed to branch-2.4+.
Thanks [~psomogyi] for reviewing.
> Add maven enforcer rule to ban VisibleForTesting imports
> --------------------------------------------------------
>
> Key: HBASE-25333
> URL: https://issues.apache.org/jira/browse/HBASE-25333
> Project: HBase
> Issue Type: Task
> Components: build, pom
> Reporter: Duo Zhang
> Assignee: Duo Zhang
> Priority: Major
> Fix For: 3.0.0-alpha-1, 2.5.0, 2.4.1
>
>
> https://github.com/google/error-prone/blob/master/annotations/src/main/java/com/google/errorprone/annotations/RestrictedApi.java
> This is a better choice if you want to restrict the usage of a special API.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)