summaryrefslogtreecommitdiff
path: root/src/main/kotlin
diff options
context:
space:
mode:
authorPaul-Christian Volkmer2023-07-25 21:25:19 +0200
committerPaul-Christian Volkmer2023-07-25 21:25:19 +0200
commitc8f1f1df1447cd927b228da82490e0f460da8d9f (patch)
tree883273636056cacb14931f6fa1c12473822de975 /src/main/kotlin
parent1a2d4ea7a20cddd61a89f11ed3d450a0381df6ab (diff)
Remove obsolete return
Diffstat (limited to 'src/main/kotlin')
-rw-r--r--src/main/kotlin/dev/dnpm/etl/processor/output/RestMtbFileSender.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/kotlin/dev/dnpm/etl/processor/output/RestMtbFileSender.kt b/src/main/kotlin/dev/dnpm/etl/processor/output/RestMtbFileSender.kt
index 7a2954a..10f8421 100644
--- a/src/main/kotlin/dev/dnpm/etl/processor/output/RestMtbFileSender.kt
+++ b/src/main/kotlin/dev/dnpm/etl/processor/output/RestMtbFileSender.kt
@@ -50,9 +50,9 @@ class RestMtbFileSender(private val restTargetProperties: RestTargetProperties)
}
logger.debug("Sent file via RestMtbFileSender")
return if (response.body?.contains("warning") == true) {
- return MtbFileSender.Response(MtbFileSender.ResponseStatus.WARNING, "${response.body}")
+ MtbFileSender.Response(MtbFileSender.ResponseStatus.WARNING, "${response.body}")
} else {
- return MtbFileSender.Response(MtbFileSender.ResponseStatus.SUCCESS)
+ MtbFileSender.Response(MtbFileSender.ResponseStatus.SUCCESS)
}
} catch (e: IllegalArgumentException) {
logger.error("Not a valid URI to export to: '{}'", restTargetProperties.uri!!)