mirror of
https://codeberg.org/monocles/monocles_chat.git
synced 2025-01-30 16:51:42 +01:00
null pointer fix
This commit is contained in:
parent
ad3e23fa7c
commit
92e0713373
1 changed files with 2 additions and 2 deletions
|
@ -56,11 +56,11 @@ public class Tag {
|
|||
}
|
||||
|
||||
public boolean isStart(String needle) {
|
||||
return (this.type == START) && (this.name.equals(needle));
|
||||
return (this.type == START) && (needle.equals(this.name));
|
||||
}
|
||||
|
||||
public boolean isEnd(String needle) {
|
||||
return (this.type == END) && (this.name.equals(needle));
|
||||
return (this.type == END) && (needle.equals(this.name));
|
||||
}
|
||||
|
||||
public boolean isNo() {
|
||||
|
|
Loading…
Add table
Reference in a new issue