mirror of
https://github.com/corda/corda.git
synced 2024-12-22 22:32:26 +00:00
Renamed variable for clarity.
This commit is contained in:
parent
5d68210355
commit
77f5689468
@ -196,8 +196,8 @@ class DriverDSL(
|
|||||||
val cl = ClassLoader.getSystemClassLoader()
|
val cl = ClassLoader.getSystemClassLoader()
|
||||||
val urls = (cl as URLClassLoader).urLs
|
val urls = (cl as URLClassLoader).urLs
|
||||||
val quasarPattern = ".*quasar.*\\.jar$".toRegex()
|
val quasarPattern = ".*quasar.*\\.jar$".toRegex()
|
||||||
val quasarPath = urls.first { quasarPattern.matches(it.path) }
|
val quasarFileUrl = urls.first { quasarPattern.matches(it.path) }
|
||||||
Paths.get(quasarPath.toURI()).toString()
|
Paths.get(quasarFileUrl.toURI()).toString()
|
||||||
}
|
}
|
||||||
|
|
||||||
val driverNodeConfiguration = NodeConfigurationFromConfig(
|
val driverNodeConfiguration = NodeConfigurationFromConfig(
|
||||||
|
Loading…
Reference in New Issue
Block a user