mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-02-09 16:08:49 +01:00
update the Note equals function parameter name
This commit is contained in:
parent
50e2ff7926
commit
d32c68c6ee
@ -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}"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user