mirror of
https://github.com/ethauvin/JSON-java.git
synced 2025-06-17 16:00:51 -07:00
log
This commit is contained in:
parent
7ff3fa4e40
commit
b7a1aee4e1
3 changed files with 14 additions and 14 deletions
|
@ -38,7 +38,7 @@ import org.json.Kim;
|
|||
* JSONzip is a compression scheme for JSON text.
|
||||
*
|
||||
* @author JSON.org
|
||||
* @version 2013-04-18
|
||||
* @version 2014-04-21
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -110,9 +110,6 @@ public class Compressor extends JSONzip {
|
|||
* @throws IOException
|
||||
*/
|
||||
private void one() throws JSONException {
|
||||
if (probe) {
|
||||
log(1);
|
||||
}
|
||||
write(1, 1);
|
||||
}
|
||||
|
||||
|
@ -351,7 +348,7 @@ public class Compressor extends JSONzip {
|
|||
Iterator keys = jsonobject.keys();
|
||||
while (keys.hasNext()) {
|
||||
if (probe) {
|
||||
log("\n");
|
||||
log();
|
||||
}
|
||||
Object key = keys.next();
|
||||
if (key instanceof String) {
|
||||
|
@ -545,9 +542,6 @@ public class Compressor extends JSONzip {
|
|||
* @throws IOException
|
||||
*/
|
||||
private void zero() throws JSONException {
|
||||
if (probe) {
|
||||
log(0);
|
||||
}
|
||||
write(0, 1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue