Optimize imports, disallow wildcard imports because of klint, run linter

This commit is contained in:
jobobby04
2020-04-04 16:30:05 -04:00
committed by Jobobby04
parent f18891a07e
commit 23ac3d18e5
138 changed files with 1192 additions and 1027 deletions
+2 -2
View File
@@ -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
}
}