Repository navigation
Commit b587c3e
committed
YAMLOpInfoDiscoverer: fix resource iteration bugs
1. If thread context class loader is null, use the system class loader.
2. When iterating the resources enumeration, process all elements.
3. When iterating resources, only process each unique URL once.1 parent 15f4a1b commit b587c3e
1 file changed
Lines changed: 5 additions & 5 deletions
File tree
- scijava/scijava-ops-engine/src/main/java/org/scijava/ops/engine/yaml/impl
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
45 | | - | |
| 46 | + | |
| 47 | + | |
46 | 48 | | |
47 | | - | |
| 49 | + | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| |||
62 | 64 | | |
63 | 65 | | |
64 | 66 | | |
65 | | - | |
66 | | - | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
0 commit comments