aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/entities
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-04-07 21:33:45 +0200
committerChristian Schneppe <christian@pix-art.de>2018-04-07 21:33:45 +0200
commit8409e61d6a7275da73c2fbff3152177bc864c90e (patch)
tree09833a98496e88e93d6654190294bcd6affd8229 /src/main/java/de/pixart/messenger/entities
parent33a46a4a6a8fa6fa8734095ff7ba588b759e897e (diff)
display irregular unicode code points
Diffstat (limited to 'src/main/java/de/pixart/messenger/entities')
-rw-r--r--src/main/java/de/pixart/messenger/entities/Bookmark.java10
-rw-r--r--src/main/java/de/pixart/messenger/entities/Contact.java9
-rw-r--r--src/main/java/de/pixart/messenger/entities/ListItem.java2
3 files changed, 0 insertions, 21 deletions
diff --git a/src/main/java/de/pixart/messenger/entities/Bookmark.java b/src/main/java/de/pixart/messenger/entities/Bookmark.java
index 27997e750..a09ad794e 100644
--- a/src/main/java/de/pixart/messenger/entities/Bookmark.java
+++ b/src/main/java/de/pixart/messenger/entities/Bookmark.java
@@ -64,16 +64,6 @@ public class Bookmark extends Element implements ListItem {
}
@Override
- public String getDisplayJid() {
- Jid jid = getJid();
- if (jid != null) {
- return jid.toString();
- } else {
- return getAttribute("jid"); //fallback if jid wasn't parsable
- }
- }
-
- @Override
public int getOffline() {
return 0;
}
diff --git a/src/main/java/de/pixart/messenger/entities/Contact.java b/src/main/java/de/pixart/messenger/entities/Contact.java
index 827840442..76dd916f8 100644
--- a/src/main/java/de/pixart/messenger/entities/Contact.java
+++ b/src/main/java/de/pixart/messenger/entities/Contact.java
@@ -128,15 +128,6 @@ public class Contact implements ListItem, Blockable {
}
@Override
- public String getDisplayJid() {
- if (jid != null) {
- return jid.toString();
- } else {
- return null;
- }
- }
-
- @Override
public int getOffline() {
return 0;
}
diff --git a/src/main/java/de/pixart/messenger/entities/ListItem.java b/src/main/java/de/pixart/messenger/entities/ListItem.java
index df1ba75b0..21fb6c2b6 100644
--- a/src/main/java/de/pixart/messenger/entities/ListItem.java
+++ b/src/main/java/de/pixart/messenger/entities/ListItem.java
@@ -9,8 +9,6 @@ import rocks.xmpp.addr.Jid;
public interface ListItem extends Comparable<ListItem> {
String getDisplayName();
- String getDisplayJid();
-
int getOffline();
Jid getJid();