From b8ab746a9df5f332126e10b7260ea9bf2cc7c753 Mon Sep 17 00:00:00 2001 From: "Taro L. Saito" Date: Mon, 11 Apr 2011 10:49:38 +0900 Subject: [PATCH] Split a long string --- src/test/java/org/xerial/snappy/SnappyTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test/java/org/xerial/snappy/SnappyTest.java b/src/test/java/org/xerial/snappy/SnappyTest.java index bb4f146..3cad26a 100755 --- a/src/test/java/org/xerial/snappy/SnappyTest.java +++ b/src/test/java/org/xerial/snappy/SnappyTest.java @@ -218,7 +218,8 @@ public class SnappyTest @Test public void simpleUsage() throws Exception { - String input = "Hello snappy-java! Snappy-java is a JNI-based wrapper for using Snappy from Google (written in C++), a fast compresser/decompresser."; + String input = "Hello snappy-java! Snappy-java is a JNI-based wrapper" + + " for using Snappy from Google (written in C++), a fast compresser/decompresser."; byte[] compressed = Snappy.compress(input.getBytes("UTF-8")); byte[] uncompressed = Snappy.uncompress(compressed); String result = new String(uncompressed, "UTF-8");