mirror of
https://github.com/fankes/JSON-java-compat.git
synced 2025-09-10 20:44:29 +08:00
* Update link in the README to the main JSON-Java repo
* Cleans up some warnings * Adds new test for bug https://github.com/stleary/JSON-java/issues/332 * Adds some resource handling for string writers using pre-java1.7 support. I know StringWriters don't need a close method called, but the tests should still handle their resources properly.
This commit is contained in:
@@ -3,6 +3,7 @@ package org.json.junit;
|
||||
/**
|
||||
* Need a class with some public data members for testing
|
||||
*/
|
||||
@SuppressWarnings("boxing")
|
||||
public class MyPublicClass {
|
||||
public Integer publicInt = 42;
|
||||
public String publicString = "abc";
|
||||
|
Reference in New Issue
Block a user