mirror of
https://github.com/corda/corda.git
synced 2025-02-10 12:51:37 +00:00
Small whitespace and code-style refactors.
This commit is contained in:
parent
cde4db7279
commit
eeae38a16c
2
node/capsule/src/main/resources/compile-commands.txt
Normal file
2
node/capsule/src/main/resources/compile-commands.txt
Normal file
@ -0,0 +1,2 @@
|
||||
quiet
|
||||
exclude sandbox/*.*
|
@ -11,7 +11,7 @@ class ComponentBuilder : Function<Array<Any?>, List<*>> {
|
||||
override fun apply(inputs: Array<Any?>): List<*> {
|
||||
val deserializer = inputs[0] as Function<in Any?, out Any?>
|
||||
val groupType = inputs[1] as ComponentGroupEnum
|
||||
val components = (inputs[2] as Array<ByteArray>).map { OpaqueBytes(it) }
|
||||
val components = (inputs[2] as Array<ByteArray>).map(::OpaqueBytes)
|
||||
|
||||
return components.lazyMapped { component, index ->
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user