1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-12-12 14:01:08 +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

@ -271,7 +271,7 @@ public class FormField {
buf.optAttribute("label", getLabel());
buf.optAttribute("var", getVariable());
buf.optAttribute("type", getType());
buf.rightAngelBracket();
buf.rightAngleBracket();
// Add elements
buf.optElement("desc", getDescription());
buf.condEmptyElement(isRequired(), "required");
@ -355,7 +355,7 @@ public class FormField {
xml.halfOpenElement(ELEMENT);
// Add attribute
xml.optAttribute("label", getLabel());
xml.rightAngelBracket();
xml.rightAngleBracket();
// Add element
xml.element("value", getValue());

View file

@ -214,7 +214,7 @@ public class DataForm implements PacketExtension {
public XmlStringBuilder toXML() {
XmlStringBuilder buf = new XmlStringBuilder(this);
buf.attribute("type", getType());
buf.rightAngelBracket();
buf.rightAngleBracket();
buf.optElement("title", getTitle());
for (String instruction : getInstructions()) {