Optimize imports, disallow wildcard imports because of klint, run linter
This commit is contained in:
@@ -7,11 +7,11 @@ inline fun <T> ignore(expr: () -> T): T? {
|
||||
fun <T : Throwable> T.withRootCause(cause: Throwable): T {
|
||||
val curCause = this.cause
|
||||
|
||||
if(curCause == null) {
|
||||
if (curCause == null) {
|
||||
this.initCause(cause)
|
||||
} else {
|
||||
curCause.withRootCause(cause)
|
||||
}
|
||||
|
||||
return this
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user