mirror of
https://github.com/corda/corda.git
synced 2024-12-28 00:38:55 +00:00
More changes from review.
This commit is contained in:
parent
62d911a478
commit
4e7c12453c
@ -60,6 +60,9 @@ dependencies {
|
||||
compile "org.slf4j:jul-to-slf4j:$slf4j_version"
|
||||
compile "ch.qos.logback:logback-classic:$logback_version"
|
||||
compile "com.typesafe:config:$typesafe_config_version"
|
||||
|
||||
// These libraries don't exist in any Maven repository I can find.
|
||||
// See: https://github.com/JetBrains/jediterm
|
||||
compile ':jediterm-terminal-2.5'
|
||||
compile ':pty4j-0.7.2'
|
||||
|
||||
|
@ -7,7 +7,6 @@ import org.slf4j.LoggerFactory
|
||||
import java.util.concurrent.Executors
|
||||
import kotlin.reflect.jvm.jvmName
|
||||
|
||||
|
||||
class DBViewer : AutoCloseable {
|
||||
private val log = LoggerFactory.getLogger(DBViewer::class.java)
|
||||
|
||||
|
@ -3,7 +3,6 @@ package net.corda.demobench.model
|
||||
import org.slf4j.LoggerFactory
|
||||
import java.util.concurrent.Executors
|
||||
|
||||
|
||||
class Explorer(val explorerController: ExplorerController) : AutoCloseable {
|
||||
private val log = LoggerFactory.getLogger(Explorer::class.java)
|
||||
|
||||
|
@ -12,12 +12,8 @@ class ExplorerController : Controller() {
|
||||
log.info("Explorer JAR: " + explorerPath)
|
||||
}
|
||||
|
||||
internal fun execute(vararg args: String): Process {
|
||||
return jvm.execute(explorerPath, *args)
|
||||
}
|
||||
internal fun execute(vararg args: String) = jvm.execute(explorerPath, *args)
|
||||
|
||||
fun explorer(): Explorer {
|
||||
return Explorer(this)
|
||||
}
|
||||
fun explorer() = Explorer(this)
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -7,10 +7,8 @@ import java.util.*
|
||||
|
||||
class ServiceController : Controller() {
|
||||
|
||||
private var serviceSet : List<String>
|
||||
|
||||
val services : List<String>
|
||||
get() = serviceSet
|
||||
private var serviceSet: List<String>
|
||||
val services: List<String> get() = serviceSet
|
||||
|
||||
init {
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user