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 13411341 <bannedImport >org.glassfish.jersey.**</bannedImport >
13421342 </bannedImports >
13431343 </restrictImports >
1344+ <restrictImports implementation =" de.skuzzle.enforcer.restrictimports.rule.RestrictImports" >
1345+ <includeTestCode >true</includeTestCode >
1346+ <commentLineBufferSize >512</commentLineBufferSize >
1347+ <reason >
1348+ You should never use this style of annotations(i.e, 'this is for test only')
1349+ in IA.Public or IA.LimitedPrivate classes. Use IA.Private to tell users this is
1350+ not for public use.
1351+ For IA.Private classes, use RestrictedApi annotation in error prone instead.
1352+ </reason >
1353+ <bannedImports >
1354+ <bannedImport >org.apache.hbase.thirdparty.com.google.common.annotations.VisibleForTesting</bannedImport >
1355+ </bannedImports >
1356+ </restrictImports >
13441357 </rules >
13451358 </configuration >
13461359 </execution >
You can’t perform that action at this time.
0 commit comments