mirror of
https://github.com/corda/corda.git
synced 2024-12-26 08:01:09 +00:00
CORDA-2871: Minor cosmetic fixes. (#69)
This commit is contained in:
parent
394d503d41
commit
8718433be6
@ -2,8 +2,8 @@ package net.corda.djvm.serialization.deserializers
|
|||||||
|
|
||||||
import java.util.function.Function
|
import java.util.function.Function
|
||||||
|
|
||||||
class DescribeEnum : Function<Class<*>, Array<out Any>> {
|
class DescribeEnum : Function<Class<*>, Array<out Any?>> {
|
||||||
override fun apply(enumClass: Class<*>): Array<out Any> {
|
override fun apply(enumClass: Class<*>): Array<out Any?> {
|
||||||
return enumClass.enumConstants
|
return enumClass.enumConstants
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -41,7 +41,7 @@ abstract class TestBase(type: SandboxType) {
|
|||||||
|
|
||||||
private lateinit var bootstrapClassLoader: BootstrapClassLoader
|
private lateinit var bootstrapClassLoader: BootstrapClassLoader
|
||||||
private lateinit var configuration: SandboxConfiguration
|
private lateinit var configuration: SandboxConfiguration
|
||||||
private lateinit var classLoader: SandboxClassLoader
|
private lateinit var parentClassLoader: SandboxClassLoader
|
||||||
|
|
||||||
@BeforeAll
|
@BeforeAll
|
||||||
@JvmStatic
|
@JvmStatic
|
||||||
@ -65,7 +65,7 @@ abstract class TestBase(type: SandboxType) {
|
|||||||
true,
|
true,
|
||||||
rootConfiguration
|
rootConfiguration
|
||||||
)
|
)
|
||||||
classLoader = SandboxClassLoader.createFor(configuration)
|
parentClassLoader = SandboxClassLoader.createFor(configuration)
|
||||||
}
|
}
|
||||||
|
|
||||||
@AfterAll
|
@AfterAll
|
||||||
@ -110,7 +110,7 @@ abstract class TestBase(type: SandboxType) {
|
|||||||
configuration.definitionProviders,
|
configuration.definitionProviders,
|
||||||
enableTracing,
|
enableTracing,
|
||||||
analysisConfiguration,
|
analysisConfiguration,
|
||||||
classLoader
|
parentClassLoader
|
||||||
)).use {
|
)).use {
|
||||||
action(this)
|
action(this)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user