mirror of
https://github.com/corda/corda.git
synced 2024-12-28 00:38:55 +00:00
Code review tweaks.
This commit is contained in:
parent
396fc43f11
commit
2664a2905c
@ -19,9 +19,9 @@ class ServiceController : Controller() {
|
||||
return emptyList()
|
||||
} else {
|
||||
val set = TreeSet<String>()
|
||||
InputStreamReader(url.openStream()).useLines {
|
||||
sq -> sq.forEach {
|
||||
val service = it.trim()
|
||||
InputStreamReader(url.openStream()).useLines { sq ->
|
||||
sq.forEach { line ->
|
||||
val service = line.trim()
|
||||
set.add(service)
|
||||
|
||||
log.info("Supports: $service")
|
||||
|
Loading…
Reference in New Issue
Block a user