renamed class from AvoidStarImport to AvoidStarImportCheck
so the name conforms to the *Check naming convention used for all other classes
This commit is contained in:
parent
9a05522373
commit
fb3aab764e
|
|
@ -40,7 +40,7 @@ import com.puppycrawl.tools.checkstyle.api.FullIdent;
|
|||
* @author Oliver Burn
|
||||
* @version 1.0
|
||||
*/
|
||||
public class AvoidStarImport
|
||||
public class AvoidStarImportCheck
|
||||
extends AbstractImportCheck
|
||||
{
|
||||
/** @see com.puppycrawl.tools.checkstyle.api.Check */
|
||||
|
|
@ -10,7 +10,7 @@ public class AvoidStarImportTest
|
|||
throws Exception
|
||||
{
|
||||
final DefaultConfiguration checkConfig =
|
||||
createCheckConfig(AvoidStarImport.class);
|
||||
createCheckConfig(AvoidStarImportCheck.class);
|
||||
final String[] expected = {
|
||||
"7: Avoid using the '.*' form of import - com.puppycrawl.tools.checkstyle.*.",
|
||||
"9: Avoid using the '.*' form of import - java.io.*.",
|
||||
|
|
|
|||
Loading…
Reference in New Issue