mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-26 20:47:58 +01:00
Minor tweak.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1981 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
705f6b0068
commit
6ed772e660
1 changed files with 1 additions and 1 deletions
|
@ -415,8 +415,8 @@ public abstract class Packet {
|
|||
ByteArrayOutputStream byteStream = new ByteArrayOutputStream();
|
||||
ObjectOutputStream out = new ObjectOutputStream(byteStream);
|
||||
out.writeObject(value);
|
||||
String encodedVal = StringUtils.encodeBase64(byteStream.toByteArray());
|
||||
buf.append("java-object\">");
|
||||
String encodedVal = StringUtils.encodeBase64(byteStream.toByteArray());
|
||||
buf.append(encodedVal).append("</value>");
|
||||
}
|
||||
catch (Exception e) {
|
||||
|
|
Loading…
Reference in a new issue