mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-26 12:37:58 +01:00
XmlStringBuilder: Declare actual return type instead of supertype
This commit is contained in:
parent
5483e95920
commit
3318a44016
1 changed files with 1 additions and 1 deletions
|
@ -627,7 +627,7 @@ public class XmlStringBuilder implements Appendable, CharSequence, Element {
|
|||
}
|
||||
|
||||
@Override
|
||||
public CharSequence toXML(XmlEnvironment enclosingXmlEnvironment) {
|
||||
public StringBuilder toXML(XmlEnvironment enclosingXmlEnvironment) {
|
||||
// This is only the potential length, since the actual length depends on the given XmlEnvironment.
|
||||
int potentialLength = length();
|
||||
StringBuilder res = new StringBuilder(potentialLength);
|
||||
|
|
Loading…
Reference in a new issue