Skip to content
Snippets Groups Projects
Commit 1955bf5c authored by Adrien Béraud's avatar Adrien Béraud
Browse files

Interaction: cleanup

Change-Id: I5f5fad507c0812eecc721b494ef602c8c7dc35dc
parent 153e8b1c
No related branches found
No related tags found
No related merge requests found
......@@ -277,7 +277,7 @@ open class Interaction {
fun compare(a: Interaction?, b: Interaction?): Int {
if (a == null) return if (b == null) 0 else -1
return if (b == null) 1 else java.lang.Long.compare(a.timestamp, b.timestamp)
return if (b == null) 1 else a.timestamp.compareTo(b.timestamp)
}
}
}
\ No newline at end of file
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