mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-16 12:12:06 +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();
|
ByteArrayOutputStream byteStream = new ByteArrayOutputStream();
|
||||||
ObjectOutputStream out = new ObjectOutputStream(byteStream);
|
ObjectOutputStream out = new ObjectOutputStream(byteStream);
|
||||||
out.writeObject(value);
|
out.writeObject(value);
|
||||||
String encodedVal = StringUtils.encodeBase64(byteStream.toByteArray());
|
|
||||||
buf.append("java-object\">");
|
buf.append("java-object\">");
|
||||||
|
String encodedVal = StringUtils.encodeBase64(byteStream.toByteArray());
|
||||||
buf.append(encodedVal).append("</value>");
|
buf.append(encodedVal).append("</value>");
|
||||||
}
|
}
|
||||||
catch (Exception e) {
|
catch (Exception e) {
|
||||||
|
|
Loading…
Reference in a new issue