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:
Lars Kühne 2002-12-29 14:26:07 +00:00
parent 9a05522373
commit fb3aab764e
2 changed files with 2 additions and 2 deletions

View File

@ -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 */

View File

@ -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.*.",