Skip to content

Commit

Permalink
0000889: dbimport of xml format fails with mark/reset error
Browse files Browse the repository at this point in the history
  • Loading branch information
chenson42 committed Oct 29, 2012
1 parent 781ab76 commit 2a7901d
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -21,6 +21,7 @@

package org.jumpmind.symmetric;

import java.io.BufferedInputStream;
import java.io.File;
import java.io.FileInputStream;

Expand Down Expand Up @@ -176,7 +177,7 @@ protected boolean executeWithOptions(CommandLine line) throws Exception {
}
}
for (String fileName : args) {
FileInputStream in = new FileInputStream(fileName);
BufferedInputStream in = new BufferedInputStream(new FileInputStream(fileName));
dbImport.importTables(in, line.getOptionValue(OPTION_TABLE));
in.close();
}
Expand Down

0 comments on commit 2a7901d

Please sign in to comment.