Merge branch 'pr-226'

This commit is contained in:
Andreas Dangel
2017-02-11 15:15:14 +01:00

View File

@ -239,7 +239,7 @@ public class TypeSet {
*/
public CurrentPackageResolver(PMDASMClassLoader pmdClassLoader, String pkg) {
super(pmdClassLoader);
if (pkg == null) {
if (pkg == null || pkg.length() == 0) {
this.pkg = null;
} else {
this.pkg = pkg + ".";