diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2015-09-15 22:52:35 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2015-09-15 22:52:39 +0200 |
commit | b9002d7fd5455ca2c13934748531b30a97799a9f (patch) | |
tree | 09642f70f234a7aad727385fbdd75c2764966d40 /src/main/java/eu/siacs/conversations/xml/Element.java | |
parent | b5719fd747a9a6d9757eccb0f20c22c2daaa9928 (diff) |
added missing type='submit' to mam queries
fixed some nasty inheritance problems along the way
fixes #1411
Diffstat (limited to '')
-rw-r--r-- | src/main/java/eu/siacs/conversations/xml/Element.java | 10 |
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; } |