Cleanup.
This commit is contained in:
parent
ebaca3340f
commit
a0e2750c01
1 changed files with 1 additions and 6 deletions
|
@ -37,12 +37,7 @@ import kotlinx.serialization.json.Json
|
|||
import kotlinx.serialization.json.JsonConfiguration
|
||||
import javax.servlet.http.HttpServletRequest
|
||||
|
||||
private fun String?.ifNull(): String {
|
||||
if (this == null) {
|
||||
return ""
|
||||
}
|
||||
return this
|
||||
}
|
||||
private fun String?.ifNull() = this ?: ""
|
||||
|
||||
/**
|
||||
* A comment to send to Akismet.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue