Skip to content

Commit d32c68c

Browse files
committed
update the Note equals function parameter name
1 parent 50e2ff7 commit d32c68c

File tree

1 file changed

+1
-1
lines changed
  • app/src/main/kotlin/com/simplemobiletools/notes/models

1 file changed

+1
-1
lines changed

app/src/main/kotlin/com/simplemobiletools/notes/models/Note.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package com.simplemobiletools.notes.models
22

33
class Note(var id: Int, var title: String, var value: String) {
44

5-
override fun equals(o: Any?) = o != null && this.toString() == o.toString()
5+
override fun equals(other: Any?) = other != null && this.toString() == other.toString()
66

77
override fun toString() = "Note {id=$id, title=$title, value=$value}"
88
}

0 commit comments

Comments
 (0)