mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
Match classname correctly
This commit is contained in:
parent
b4ff52fbcf
commit
ec2fdea60b
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue