Commit b00644c
authored
Fix type casting in PluginSpec for ConfigScope [ci fast] (#6469)
Replace unsafe cast with explicit type checking and casting to ensure
type safety when loading ConfigScope extension points. This prevents
potential ClassCastException when loading classes that may not be
ConfigScope implementations.
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>1 parent 3e3a938 commit b00644c
File tree
1 file changed
+2
-2
lines changed- modules/nextflow/src/main/groovy/nextflow/plugin/spec
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
0 commit comments