Mapping for inner classes had an issue.

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4886 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Allan Caplan
2006-12-15 01:48:52 +00:00
parent 713256dda1
commit 753bd13853

View File

@ -54,7 +54,9 @@ public class PMDASMVisitor implements ClassVisitor {
packages.put(className, name);
n = className.indexOf('$');
if (n > -1) {
//TODO I don't think the first one, with Class$Inner is needed - come back and check
packages.put(className.substring(n + 1), name);
packages.put(className.replace('$', '.'), name);
}
return name;