aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/pl/treksoft/kvision/remote
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2018-05-05 22:42:24 +0200
committerRobert Jaros <rjaros@finn.pl>2018-05-05 22:42:24 +0200
commit0c35c53941811f5e574fbdd9187cde97b0486002 (patch)
tree8416ff20be067a7e99116a4c7c80b2b63db60210 /src/main/kotlin/pl/treksoft/kvision/remote
parent8067c5ae27822e019dde8bbba5763e9334a86fb0 (diff)
downloadkvision-0c35c53941811f5e574fbdd9187cde97b0486002.tar.gz
kvision-0c35c53941811f5e574fbdd9187cde97b0486002.tar.bz2
kvision-0c35c53941811f5e574fbdd9187cde97b0486002.zip
Suppress some warnings.
Diffstat (limited to 'src/main/kotlin/pl/treksoft/kvision/remote')
-rw-r--r--src/main/kotlin/pl/treksoft/kvision/remote/RemoteAgent.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/remote/RemoteAgent.kt b/src/main/kotlin/pl/treksoft/kvision/remote/RemoteAgent.kt
index 151f84a2..b0d74ece 100644
--- a/src/main/kotlin/pl/treksoft/kvision/remote/RemoteAgent.kt
+++ b/src/main/kotlin/pl/treksoft/kvision/remote/RemoteAgent.kt
@@ -331,7 +331,7 @@ open class RemoteAgent<out T>(val serviceManager: ServiceManager<T>) {
* @suppress
* Internal function
*/
- @Suppress("TooGenericExceptionCaught")
+ @Suppress("TooGenericExceptionCaught", "NestedBlockDepth")
inline fun <reified PAR> serialize(value: PAR, serializer: KSerializer<PAR>?): String? {
return value?.let {
if (serializer != null) {