CORDA-2871: Minor cosmetic fixes. (#69)

This commit is contained in:
Chris Rankin 2019-09-15 01:28:31 +01:00 committed by GitHub
parent 394d503d41
commit 8718433be6
3 changed files with 6 additions and 6 deletions

View File

@ -2,8 +2,8 @@ package net.corda.djvm.serialization.deserializers
import java.util.function.Function
class DescribeEnum : Function<Class<*>, Array<out Any>> {
override fun apply(enumClass: Class<*>): Array<out Any> {
class DescribeEnum : Function<Class<*>, Array<out Any?>> {
override fun apply(enumClass: Class<*>): Array<out Any?> {
return enumClass.enumConstants
}
}

View File

@ -41,7 +41,7 @@ abstract class TestBase(type: SandboxType) {
private lateinit var bootstrapClassLoader: BootstrapClassLoader
private lateinit var configuration: SandboxConfiguration
private lateinit var classLoader: SandboxClassLoader
private lateinit var parentClassLoader: SandboxClassLoader
@BeforeAll
@JvmStatic
@ -65,7 +65,7 @@ abstract class TestBase(type: SandboxType) {
true,
rootConfiguration
)
classLoader = SandboxClassLoader.createFor(configuration)
parentClassLoader = SandboxClassLoader.createFor(configuration)
}
@AfterAll
@ -110,7 +110,7 @@ abstract class TestBase(type: SandboxType) {
configuration.definitionProviders,
enableTracing,
analysisConfiguration,
classLoader
parentClassLoader
)).use {
action(this)
}