From 65f63701e0f7406d5121a5c0114329f9c075d193 Mon Sep 17 00:00:00 2001 From: "Brian S. O'Neill" Date: Sat, 19 Mar 2011 19:58:42 +0000 Subject: Expose encode/decode methods. --- src/main/java/com/amazon/carbonado/layout/LayoutOptions.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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) { -- cgit v1.2.3