Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Commit

Permalink
removed jillion dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
dkatzel-ncats committed Mar 1, 2021
1 parent 1c869f2 commit 6ad9183
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/ginas/app/ix/ginas/exporters/JsonExporter.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

import ix.core.controllers.EntityFactory;
import ix.ginas.models.v1.Substance;
import org.jcvi.jillion.core.io.IOUtil;

/**
* Created by katzelda on 8/31/16.
Expand All @@ -24,7 +23,7 @@ public class JsonExporter implements Exporter<Substance> {
public JsonExporter(OutputStream out) throws IOException{
Objects.requireNonNull(out);
//JSON must be in UTF-XX format
this.out = new BufferedWriter(new OutputStreamWriter(out, IOUtil.UTF_8_NAME));
this.out = new BufferedWriter(new OutputStreamWriter(out, "UTF-8"));
}
@Override
public void export(Substance obj) throws IOException {
Expand Down

0 comments on commit 6ad9183

Please sign in to comment.