aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs/conversations/xml
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2015-09-15 22:52:35 +0200
committerDaniel Gultsch <daniel@gultsch.de>2015-09-15 22:52:39 +0200
commitb9002d7fd5455ca2c13934748531b30a97799a9f (patch)
tree09642f70f234a7aad727385fbdd75c2764966d40 /src/main/java/eu/siacs/conversations/xml
parentb5719fd747a9a6d9757eccb0f20c22c2daaa9928 (diff)
added missing type='submit' to mam queries
fixed some nasty inheritance problems along the way fixes #1411
Diffstat (limited to 'src/main/java/eu/siacs/conversations/xml')
-rw-r--r--src/main/java/eu/siacs/conversations/xml/Element.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/eu/siacs/conversations/xml/Element.java b/src/main/java/eu/siacs/conversations/xml/Element.java
index 7b4937b2..e82c446b 100644
--- a/src/main/java/eu/siacs/conversations/xml/Element.java
+++ b/src/main/java/eu/siacs/conversations/xml/Element.java
@@ -12,9 +12,9 @@ import eu.siacs.conversations.xmpp.jid.InvalidJidException;
import eu.siacs.conversations.xmpp.jid.Jid;
public class Element {
- protected String name;
- protected Hashtable<String, String> attributes = new Hashtable<>();
- protected String content;
+ private final String name;
+ private Hashtable<String, String> attributes = new Hashtable<>();
+ private String content;
protected List<Element> children = new ArrayList<>();
public Element(String name) {
@@ -98,7 +98,7 @@ public class Element {
return this;
}
- public String getContent() {
+ public final String getContent() {
return content;
}
@@ -162,7 +162,7 @@ public class Element {
return elementOutput.toString();
}
- public String getName() {
+ public final String getName() {
return name;
}