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:
parent
066a4d6c9e
commit
bbf89c65bf
33 changed files with 77 additions and 62 deletions
|
|
@ -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());
|
||||
|
|
|
|||
|
|
@ -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()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue