Match classname correctly

This commit is contained in:
Lee moon soo 2016-04-14 01:26:33 +01:00
parent b4ff52fbcf
commit ec2fdea60b

View file

@ -169,7 +169,7 @@ public class ApplicationLoader {
boolean found = false;
for (Resource r : resources) {
if (require.startsWith(":") && r.getClassName().equals(require)) {
if (require.startsWith(":") && r.getClassName().equals(require.substring(1))) {
found = true;
} else if (r.getResourceId().getName().equals(require)) {
found = true;