diff options
author | Brian S. O'Neill <bronee@gmail.com> | 2011-03-19 19:58:42 +0000 |
---|---|---|
committer | Brian S. O'Neill <bronee@gmail.com> | 2011-03-19 19:58:42 +0000 |
commit | 65f63701e0f7406d5121a5c0114329f9c075d193 (patch) | |
tree | 929e1312623e06c3d5cdb7b85fd24f262c441c58 /src | |
parent | 2c3748324ded5ae7b0bd7c93b067af87846ece63 (diff) |
Expose encode/decode methods.
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/com/amazon/carbonado/layout/LayoutOptions.java | 4 |
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) {
|