mirror of
https://github.com/FossifyOrg/Notes.git
synced 2026-03-07 16:07:29 -05:00
update the Note equals function parameter name
This commit is contained in:
@@ -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}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user