Code cleanup: get rid of unnecessary !! / ?. / as
This commit is contained in:
@@ -189,7 +189,7 @@ class LazyOperationsLog(
|
||||
}.appendQuoted()
|
||||
}
|
||||
o is ResolutionCandidate<*> -> DescriptorRenderer.COMPACT.render(o.getDescriptor()).appendQuoted()
|
||||
o is ResolutionTaskHolder<*, *> -> o.field<BasicCallResolutionContext>("basicCallResolutionContext").call.getCallElement().getDebugText()?.appendQuoted()
|
||||
o is ResolutionTaskHolder<*, *> -> o.field<BasicCallResolutionContext>("basicCallResolutionContext").call.getCallElement().getDebugText().appendQuoted()
|
||||
}
|
||||
return sb.toString()
|
||||
}
|
||||
|
||||
+2
-2
@@ -54,10 +54,10 @@ public abstract class AbstractCompileKotlinAgainstInlineKotlinTest : AbstractCom
|
||||
catch (e: Throwable) {
|
||||
var result = ""
|
||||
if (factory1 != null) {
|
||||
result += "FIRST: \n\n" + factory1!!.createText()
|
||||
result += "FIRST: \n\n" + factory1.createText()
|
||||
}
|
||||
if (factory2 != null) {
|
||||
result += "\n\nSECOND: \n\n" + factory2!!.createText()
|
||||
result += "\n\nSECOND: \n\n" + factory2.createText()
|
||||
}
|
||||
System.out.println(result)
|
||||
throw e
|
||||
|
||||
Reference in New Issue
Block a user