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

@ -56,7 +56,7 @@ public class XHTMLText {
text.halfOpenElement(A);
text.optAttribute(HREF, href);
text.optAttribute(STYLE, style);
text.rightAngelBracket();
text.rightAngleBracket();
return this;
}
@ -78,7 +78,7 @@ public class XHTMLText {
public XHTMLText appendOpenBlockQuoteTag(String style) {
text.halfOpenElement(BLOCKQUOTE);
text.optAttribute(STYLE, style);
text.rightAngelBracket();
text.rightAngleBracket();
return this;
}
@ -102,7 +102,7 @@ public class XHTMLText {
text.xmlnsAttribute(NAMESPACE);
text.optElement(STYLE, style);
text.xmllangAttribute(lang);
text.rightAngelBracket();
text.rightAngleBracket();
return this;
}
@ -185,7 +185,7 @@ public class XHTMLText {
}
text.halfOpenElement(H + Integer.toString(level));
text.optAttribute(STYLE, style);
text.rightAngelBracket();
text.rightAngleBracket();
return this;
}
@ -220,7 +220,7 @@ public class XHTMLText {
text.optAttribute("height", height);
text.optAttribute("src", src);
text.optAttribute("width", width);
text.rightAngelBracket();
text.rightAngleBracket();
return this;
}
@ -235,7 +235,7 @@ public class XHTMLText {
public XHTMLText appendLineItemTag(String style) {
text.halfOpenElement(LI);
text.optAttribute(STYLE, style);
text.rightAngelBracket();
text.rightAngleBracket();
return this;
}
@ -248,7 +248,7 @@ public class XHTMLText {
public XHTMLText appendOpenOrderedListTag(String style) {
text.halfOpenElement(OL);
text.optAttribute(STYLE, style);
text.rightAngelBracket();
text.rightAngleBracket();
return this;
}
@ -272,7 +272,7 @@ public class XHTMLText {
public XHTMLText appendOpenUnorderedListTag(String style) {
text.halfOpenElement(UL);
text.optAttribute(STYLE, style);
text.rightAngelBracket();
text.rightAngleBracket();
return this;
}
@ -296,7 +296,7 @@ public class XHTMLText {
public XHTMLText appendOpenParagraphTag(String style) {
text.halfOpenElement(P);
text.optAttribute(STYLE, style);
text.rightAngelBracket();
text.rightAngleBracket();
return this;
}
@ -320,7 +320,7 @@ public class XHTMLText {
public XHTMLText appendOpenInlinedQuoteTag(String style) {
text.halfOpenElement(Q);
text.optAttribute(STYLE, style);
text.rightAngelBracket();
text.rightAngleBracket();
return this;
}
@ -343,7 +343,7 @@ public class XHTMLText {
public XHTMLText appendOpenSpanTag(String style) {
text.halfOpenElement(SPAN);
text.optAttribute(STYLE, style);
text.rightAngelBracket();
text.rightAngleBracket();
return this;
}

View file

@ -80,7 +80,7 @@ public class XHTMLExtension implements PacketExtension {
@Override
public XmlStringBuilder toXML() {
XmlStringBuilder xml = new XmlStringBuilder(this);
xml.rightAngelBracket();
xml.rightAngleBracket();
// Loop through all the bodies and append them to the string buffer
for (CharSequence body : getBodies()) {
xml.append(body);