ursus
07/16/2018, 12:06 AM?:
? as to make assertedNoCall oneliner?
private fun assertedCall(): SipCall {
return this.call ?: throw IllegalStateException("Call is null")
}
private fun assertedNoCall() {
val call = this.call
if (call != null) throw IllegalStateException("Call is not null")
}