update the Note equals function parameter name

This commit is contained in:
tibbi 2016-11-14 00:03:06 +01:00
parent 50e2ff7926
commit d32c68c6ee

View File

@ -2,7 +2,7 @@ package com.simplemobiletools.notes.models
class Note(var id: Int, var title: String, var value: String) {
override fun equals(o: Any?) = o != null && this.toString() == o.toString()
override fun equals(other: Any?) = other != null && this.toString() == other.toString()
override fun toString() = "Note {id=$id, title=$title, value=$value}"
}