More changes from review.

This commit is contained in:
Chris Rankin 2017-02-06 15:25:28 +00:00
parent 62d911a478
commit 4e7c12453c
5 changed files with 8 additions and 13 deletions

View File

@ -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'

View File

@ -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)

View File

@ -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)

View File

@ -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)
}
}

View File

@ -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 {
/*