1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2025-12-14 00:51:19 +01:00

Fix typo in XmlStringBuilder, it's not an Angel

s/rightAngelBracket/rightAngleBracket/
This commit is contained in:
Florian Schmaus 2014-08-20 21:25:14 +02:00
parent 066a4d6c9e
commit bbf89c65bf
33 changed files with 77 additions and 62 deletions

View file

@ -143,7 +143,7 @@ public class Version extends IQ {
@Override
public XmlStringBuilder getChildElementXML() {
XmlStringBuilder xml = new XmlStringBuilder();
xml.halfOpenElement(IQ.QUERY_ELEMENT).xmlnsAttribute(NAMESPACE).rightAngelBracket();
xml.halfOpenElement(IQ.QUERY_ELEMENT).xmlnsAttribute(NAMESPACE).rightAngleBracket();
// Although not really optional elements, 'name' and 'version' are not set when sending a
// version request. So we must handle the case that those are 'null' here.
xml.optElement("name", name);