rm unnecessary cast

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4535 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Brian Remedios
2006-09-23 20:48:49 +00:00
parent 358f94eb65
commit f975de9947

View File

@ -40,7 +40,7 @@ public class StringInstantiation extends AbstractRule {
return data;
}
NameDeclaration nd = (NameDeclaration) name.getNameDeclaration();
NameDeclaration nd = name.getNameDeclaration();
if (!(nd instanceof VariableNameDeclaration)) {
return data;
}