We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8904363 commit b02eddaCopy full SHA for b02edda
src/main/java/org/codehaus/plexus/components/secdispatcher/internal/DefaultSecDispatcher.java
@@ -69,8 +69,10 @@ public Set<DispatcherMeta> availableDispatchers() {
69
}
70
71
private DispatcherMeta dispatcherMeta(Map.Entry<String, Dispatcher> dispatcher) {
72
- if (dispatcher instanceof DispatcherMeta) {
73
- return (DispatcherMeta) dispatcher;
+ // sisu components are lazy!
+ Dispatcher d = dispatcher.getValue();
74
+ if (d instanceof DispatcherMeta meta) {
75
+ return meta;
76
} else {
77
return new DispatcherMeta() {
78
@Override
0 commit comments