forked from phoedos/pmd
minor tweak
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4536 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -75,8 +75,8 @@ public class TypeSet {
|
||||
String importStmt = (String) i.next();
|
||||
if (importStmt.endsWith("*")) {
|
||||
try {
|
||||
String importPkg = importStmt.substring(0, importStmt.indexOf("*") - 1);
|
||||
return Class.forName(importPkg + "." + name);
|
||||
String importPkg = importStmt.substring(0, importStmt.indexOf('*') - 1);
|
||||
return Class.forName(importPkg + '.' + name);
|
||||
} catch (ClassNotFoundException cnfe) {
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user