summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian S. O'Neill <bronee@gmail.com>2011-03-19 19:58:42 +0000
committerBrian S. O'Neill <bronee@gmail.com>2011-03-19 19:58:42 +0000
commit65f63701e0f7406d5121a5c0114329f9c075d193 (patch)
tree929e1312623e06c3d5cdb7b85fd24f262c441c58
parent2c3748324ded5ae7b0bd7c93b067af87846ece63 (diff)
Expose encode/decode methods.
-rw-r--r--src/main/java/com/amazon/carbonado/layout/LayoutOptions.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/amazon/carbonado/layout/LayoutOptions.java b/src/main/java/com/amazon/carbonado/layout/LayoutOptions.java
index 1c717fe..1a3d655 100644
--- a/src/main/java/com/amazon/carbonado/layout/LayoutOptions.java
+++ b/src/main/java/com/amazon/carbonado/layout/LayoutOptions.java
@@ -78,7 +78,7 @@ public class LayoutOptions {
/**
* @return null if empty
*/
- synchronized byte[] encode() {
+ public synchronized byte[] encode() {
if (mData.isEmpty()) {
return null;
}
@@ -107,7 +107,7 @@ public class LayoutOptions {
/**
* @param source can be null if empty
*/
- synchronized void decode(byte[] source) throws IOException {
+ public synchronized void decode(byte[] source) throws IOException {
mData.clear();
if (source == null || source.length == 0) {