Renamed variable for clarity.

This commit is contained in:
Clinton Alexander 2016-08-16 13:54:08 +01:00
parent 5d68210355
commit 77f5689468

View File

@ -196,8 +196,8 @@ class DriverDSL(
val cl = ClassLoader.getSystemClassLoader()
val urls = (cl as URLClassLoader).urLs
val quasarPattern = ".*quasar.*\\.jar$".toRegex()
val quasarPath = urls.first { quasarPattern.matches(it.path) }
Paths.get(quasarPath.toURI()).toString()
val quasarFileUrl = urls.first { quasarPattern.matches(it.path) }
Paths.get(quasarFileUrl.toURI()).toString()
}
val driverNodeConfiguration = NodeConfigurationFromConfig(