aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu
diff options
context:
space:
mode:
Diffstat (limited to 'src/eu')
-rw-r--r--src/eu/siacs/conversations/xml/Tag.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eu/siacs/conversations/xml/Tag.java b/src/eu/siacs/conversations/xml/Tag.java
index 970cf0ae..7055e2b3 100644
--- a/src/eu/siacs/conversations/xml/Tag.java
+++ b/src/eu/siacs/conversations/xml/Tag.java
@@ -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() {