Skip to content
Snippets Groups Projects
Unverified Commit 062abc7c authored by mseele's avatar mseele Committed by GitHub
Browse files

fix #82 (#94)


* fix #82

Co-authored-by: default avatarJakob Möller <jakob.moeller@sap.com>
parent a4c1e5ee
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,7 @@ class TracingIntervalRepository(private val tracingIntervalDao: TracingIntervalD
suspend fun createInterval(from: Long, to: Long) {
Log.v(TAG, "Insert Tracing Interval $from, $to")
if (to < from) throw IllegalArgumentException("to cannot be after from")
if (to < from) throw IllegalArgumentException("to cannot be after or equal from")
tracingIntervalDao.insertInterval(TracingIntervalEntity().apply {
this.from = from
this.to = to
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment