change to public, write(writer, indentfactor, indent)

This commit is contained in:
stleary
2015-12-23 19:53:30 -06:00
parent 03dd662e72
commit 8688494876
2 changed files with 10 additions and 2 deletions

View File

@@ -1781,10 +1781,16 @@ public class JSONObject {
* <p>
* Warning: This method assumes that the data structure is acyclical.
*
* @param writer
* Writes the serialized JSON
* @param indentFactor
* The number of spaces to add to each level of indentation.
* @param indent
* The indention of the top level.
* @return The writer.
* @throws JSONException
*/
Writer write(Writer writer, int indentFactor, int indent)
public Writer write(Writer writer, int indentFactor, int indent)
throws JSONException {
try {
boolean commanate = false;