We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50e2ff7 commit d32c68cCopy full SHA for d32c68c
app/src/main/kotlin/com/simplemobiletools/notes/models/Note.kt
@@ -2,7 +2,7 @@ package com.simplemobiletools.notes.models
2
3
class Note(var id: Int, var title: String, var value: String) {
4
5
- override fun equals(o: Any?) = o != null && this.toString() == o.toString()
+ override fun equals(other: Any?) = other != null && this.toString() == other.toString()
6
7
override fun toString() = "Note {id=$id, title=$title, value=$value}"
8
}
0 commit comments