5
0
mirror of https://github.com/apache/sqoop.git synced 2025-05-03 02:20:24 +08:00

SQOOP-1227. Sqoop fails to compile against commons-io higher then 1.4

(Jarek Jarcec Cecho via Hari Shreedharan)
This commit is contained in:
Hari Shreedharan 2013-11-05 12:37:02 -08:00
parent ed73f885a1
commit bbc2c17a77

View File

@ -106,7 +106,7 @@ private void writeAvroSchema(final Schema schema) throws IOException {
LOG.info("Writing Avro schema file: " + schemaFile);
FileUtils.forceMkdir(schemaFile.getParentFile());
FileUtils.writeStringToFile(schemaFile, schema.toString(true), null);
FileUtils.writeStringToFile(schemaFile, schema.toString(true));
// Copy schema to code output directory.
try {