diff options
author | Christian Schneppe <christian@pix-art.de> | 2017-04-05 20:11:01 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2017-04-05 22:21:41 +0200 |
commit | d6eef4842c29a27b0f0424519b135217fb1dd207 (patch) | |
tree | 098cb6000c82f7a0813880315fd0b8fdae0195d3 /src/main/java/de/pixart/messenger/entities | |
parent | 81004cce0a87b16de103a3b956a8729ef9c08492 (diff) |
Fixed package access
Diffstat (limited to 'src/main/java/de/pixart/messenger/entities')
-rw-r--r-- | src/main/java/de/pixart/messenger/entities/Conversation.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/main/java/de/pixart/messenger/entities/Conversation.java b/src/main/java/de/pixart/messenger/entities/Conversation.java index 815f173f2..4d9b96fde 100644 --- a/src/main/java/de/pixart/messenger/entities/Conversation.java +++ b/src/main/java/de/pixart/messenger/entities/Conversation.java @@ -51,11 +51,11 @@ public class Conversation extends AbstractEntity implements Blockable, Comparabl public static final String MODE = "mode"; public static final String ATTRIBUTES = "attributes"; - public static final String ATTRIBUTE_NEXT_ENCRYPTION = "next_encryption"; - public static final String ATTRIBUTE_MUC_PASSWORD = "muc_password"; + private static final String ATTRIBUTE_NEXT_ENCRYPTION = "next_encryption"; + static final String ATTRIBUTE_MUC_PASSWORD = "muc_password"; public static final String ATTRIBUTE_MUTED_TILL = "muted_till"; public static final String ATTRIBUTE_ALWAYS_NOTIFY = "always_notify"; - public static final String ATTRIBUTE_CRYPTO_TARGETS = "crypto_targets"; + private static final String ATTRIBUTE_CRYPTO_TARGETS = "crypto_targets"; public static final String ATTRIBUTE_LAST_CLEAR_HISTORY = "last_clear_history"; private String draftMessage; @@ -907,7 +907,7 @@ public class Conversation extends AbstractEntity implements Blockable, Comparabl } } - public List<Jid> getJidListAttribute(String key) { + private List<Jid> getJidListAttribute(String key) { ArrayList<Jid> list = new ArrayList<>(); synchronized (this.attributes) { try { @@ -926,7 +926,7 @@ public class Conversation extends AbstractEntity implements Blockable, Comparabl return list; } - public int getIntAttribute(String key, int defaultValue) { + private int getIntAttribute(String key, int defaultValue) { String value = this.getAttribute(key); if (value == null) { return defaultValue; @@ -952,7 +952,7 @@ public class Conversation extends AbstractEntity implements Blockable, Comparabl } } - public boolean getBooleanAttribute(String key, boolean defaultValue) { + private boolean getBooleanAttribute(String key, boolean defaultValue) { String value = this.getAttribute(key); if (value == null) { return defaultValue; |