Avoid some lint warnings

This commit is contained in:
Juha Heinanen
2021-09-07 09:06:28 +03:00
parent b0555c584c
commit d8ad6e15c9
4 changed files with 10 additions and 4 deletions
@@ -31,7 +31,7 @@ class CallHistory(val aor: String, val peerUri: String, val direction: String,
while (it.hasNext()) if (it.next().aor == aor) it.remove()
}
fun aorHistorySize(aor: String): Int {
private fun aorHistorySize(aor: String): Int {
return BaresipService.callHistory.filter { it.aor == aor }.count()
}