mirror of
https://github.com/corda/corda.git
synced 2025-01-21 20:08:27 +00:00
Revert to using method reference
This commit is contained in:
parent
db276caa77
commit
2f258c31ea
@ -126,7 +126,7 @@ class JarScanningCordappLoader private constructor(private val cordappJarPaths:
|
||||
}
|
||||
}
|
||||
}
|
||||
cordapps.forEach { CordappResolver.register(it) }
|
||||
cordapps.forEach(CordappResolver::register)
|
||||
return cordapps
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user