File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 11451145 <bannedImport >org.glassfish.jersey.**</bannedImport >
11461146 </bannedImports >
11471147 </restrictImports >
1148+ <restrictImports implementation =" de.skuzzle.enforcer.restrictimports.rule.RestrictImports" >
1149+ <includeTestCode >true</includeTestCode >
1150+ <commentLineBufferSize >512</commentLineBufferSize >
1151+ <reason >
1152+ You should never use this style of annotations(i.e, 'this is for test only')
1153+ in IA.Public or IA.LimitedPrivate classes. Use IA.Private to tell users this is
1154+ not for public use.
1155+ For IA.Private classes, use RestrictedApi annotation in error prone instead.
1156+ </reason >
1157+ <bannedImports >
1158+ <bannedImport >org.apache.hbase.thirdparty.com.google.common.annotations.VisibleForTesting</bannedImport >
1159+ </bannedImports >
1160+ </restrictImports >
11481161 </rules >
11491162 </configuration >
11501163 </execution >
You can’t perform that action at this time.
0 commit comments