Revert to using method reference

This commit is contained in:
Dominic Fox 2019-03-04 17:07:10 +00:00
parent db276caa77
commit 2f258c31ea

View File

@ -126,7 +126,7 @@ class JarScanningCordappLoader private constructor(private val cordappJarPaths:
} }
} }
} }
cordapps.forEach { CordappResolver.register(it) } cordapps.forEach(CordappResolver::register)
return cordapps return cordapps
} }