Fix target registry: thread-safety, single creation policy, wait-for-target in get()#75
2 issues fixed. 3 issues found.
Annotations
Check warning on line 155 in core/src/commonMain/kotlin/dev/kdriver/core/browser/DefaultBrowser.kt
codefactor-io / CodeFactor
core/src/commonMain/kotlin/dev/kdriver/core/browser/DefaultBrowser.kt#L155
Use check() or error() instead of throwing an IllegalStateException. (detekt.UseCheckOrError)
Check warning on line 69 in core/src/jvmTest/kotlin/dev/kdriver/core/browser/TargetRegistryTest.kt
codefactor-io / CodeFactor
core/src/jvmTest/kotlin/dev/kdriver/core/browser/TargetRegistryTest.kt#L69
Line detected, which is longer than the defined maximum line length in the code style. (detekt.MaxLineLength)
Check warning on line 71 in core/src/jvmTest/kotlin/dev/kdriver/core/browser/TargetRegistryTest.kt
codefactor-io / CodeFactor
core/src/jvmTest/kotlin/dev/kdriver/core/browser/TargetRegistryTest.kt#L71
Line detected, which is longer than the defined maximum line length in the code style. (detekt.MaxLineLength)