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