Upgraded to Kotlin 1.7.20
This commit is contained in:
parent
58c181de9b
commit
4a1f4e32b3
139 changed files with 311 additions and 1056 deletions
|
@ -32,10 +32,10 @@
|
|||
|
||||
package net.thauvin.erik.akismet
|
||||
|
||||
import jakarta.servlet.http.HttpServletRequest
|
||||
import kotlinx.serialization.Serializable
|
||||
import kotlinx.serialization.encodeToString
|
||||
import kotlinx.serialization.json.Json
|
||||
import javax.servlet.http.HttpServletRequest
|
||||
import kotlin.collections.set
|
||||
|
||||
private fun String?.ifNull() = this ?: ""
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
|
||||
package net.thauvin.erik.akismet
|
||||
|
||||
import jakarta.servlet.http.HttpServletRequest
|
||||
import okhttp3.FormBody
|
||||
import okhttp3.HttpUrl.Companion.toHttpUrl
|
||||
import org.mockito.Mockito
|
||||
|
@ -52,7 +53,6 @@ import java.util.Date
|
|||
import java.util.Properties
|
||||
import java.util.logging.ConsoleHandler
|
||||
import java.util.logging.Level
|
||||
import javax.servlet.http.HttpServletRequest
|
||||
|
||||
fun getKey(key: String): String {
|
||||
var value = System.getenv(key) ?: ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue