diff --git a/extensions/wikidata/src/org/openrefine/wikidata/commands/LoginCommand.java b/extensions/wikidata/src/org/openrefine/wikidata/commands/LoginCommand.java index 50b68e0c8..b83be4cd0 100644 --- a/extensions/wikidata/src/org/openrefine/wikidata/commands/LoginCommand.java +++ b/extensions/wikidata/src/org/openrefine/wikidata/commands/LoginCommand.java @@ -12,8 +12,6 @@ import org.json.JSONWriter; import org.openrefine.wikidata.editing.ConnectionManager; import com.google.refine.commands.Command; -import com.google.refine.preference.PreferenceStore; -import com.google.refine.ProjectManager; public class LoginCommand extends Command { @Override @@ -33,7 +31,7 @@ public class LoginCommand extends Command { response.setHeader("Content-Type", "application/json"); StringWriter sb = new StringWriter(2048); - JSONWriter writer = new JSONWriter(sb, 32); + JSONWriter writer = new JSONWriter(sb); try { writer.object(); diff --git a/extensions/wikidata/src/org/openrefine/wikidata/commands/PreviewWikibaseSchemaCommand.java b/extensions/wikidata/src/org/openrefine/wikidata/commands/PreviewWikibaseSchemaCommand.java index 707fbd526..a4af00a98 100644 --- a/extensions/wikidata/src/org/openrefine/wikidata/commands/PreviewWikibaseSchemaCommand.java +++ b/extensions/wikidata/src/org/openrefine/wikidata/commands/PreviewWikibaseSchemaCommand.java @@ -80,7 +80,7 @@ public class PreviewWikibaseSchemaCommand extends Command { List editBatch = schema.evaluate(project, engine, warningStore); StringWriter sb = new StringWriter(2048); - JSONWriter writer = new JSONWriter(sb, 32); + JSONWriter writer = new JSONWriter(sb); writer.object(); {