Commit 4803f419 authored by Hubert Chathi's avatar Hubert Chathi
Browse files

make (de)serialize methods public in OlmAccount

parent 3612ac7a
...@@ -353,7 +353,7 @@ public class OlmAccount extends CommonSerializeUtils implements Serializable { ...@@ -353,7 +353,7 @@ public class OlmAccount extends CommonSerializeUtils implements Serializable {
* @return the account as bytes buffer * @return the account as bytes buffer
*/ */
@Override @Override
protected byte[] serialize(byte[] aKey, StringBuffer aErrorMsg) { public byte[] serialize(byte[] aKey, StringBuffer aErrorMsg) {
byte[] pickleRetValue = null; byte[] pickleRetValue = null;
// sanity check // sanity check
...@@ -389,7 +389,7 @@ public class OlmAccount extends CommonSerializeUtils implements Serializable { ...@@ -389,7 +389,7 @@ public class OlmAccount extends CommonSerializeUtils implements Serializable {
* @exception Exception the exception * @exception Exception the exception
*/ */
@Override @Override
protected void deserialize(byte[] aSerializedData, byte[] aKey) throws Exception { public void deserialize(byte[] aSerializedData, byte[] aKey) throws Exception {
String errorMsg = null; String errorMsg = null;
try { try {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment