Revision: 19659 http://sourceforge.net/p/gate/code/19659 Author: markagreenwood Date: 2016-10-10 07:57:13 +0000 (Mon, 10 Oct 2016) Log Message: ----------- fixed a stupid copy and paste bug
Modified Paths: -------------- gate/branches/sawdust2/gate-core/src/main/java/gate/CorpusExporter.java Modified: gate/branches/sawdust2/gate-core/src/main/java/gate/CorpusExporter.java =================================================================== --- gate/branches/sawdust2/gate-core/src/main/java/gate/CorpusExporter.java 2016-10-10 06:46:13 UTC (rev 19658) +++ gate/branches/sawdust2/gate-core/src/main/java/gate/CorpusExporter.java 2016-10-10 07:57:13 UTC (rev 19659) @@ -45,7 +45,7 @@ public void export(Corpus corpus, File file, FeatureMap options) throws IOException { try (FileOutputStream out = new FileOutputStream(file)){ - export(corpus, new FileOutputStream(file), options); + export(corpus, out, options); out.flush(); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ GATE-cvs mailing list GATE-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gate-cvs