File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
google-http-client-gson/src/test/java/com/google/api/client/json/gson Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change 3838 */
3939public class GsonFactoryTest extends AbstractJsonFactoryTest {
4040
41- private static final String GSON_LINE_SEPARATOR ;
42- private static final String JSON_ENTRY_PRETTY ;
43- private static final String JSON_FEED_PRETTY ;
41+ private static final String GSON_LINE_SEPARATOR = "\n " ;
4442
45- static {
46- GSON_LINE_SEPARATOR = "\n " ;
47- JSON_ENTRY_PRETTY =
43+ private static final String JSON_ENTRY_PRETTY =
4844 "{" + GSON_LINE_SEPARATOR + " \" title\" : \" foo\" " + GSON_LINE_SEPARATOR + "}" ;
49- JSON_FEED_PRETTY =
45+ private static final String JSON_FEED_PRETTY =
5046 "{"
5147 + GSON_LINE_SEPARATOR
5248 + " \" entries\" : ["
@@ -66,7 +62,6 @@ public class GsonFactoryTest extends AbstractJsonFactoryTest {
6662 + " ]"
6763 + GSON_LINE_SEPARATOR
6864 + "}" ;
69- }
7065
7166 @ Override
7267 protected JsonFactory newFactory () {
You can’t perform that action at this time.
0 commit comments