Fixed null case.

This commit is contained in:
Christian P. MOMON 2021-10-24 13:20:46 +02:00
parent 4394acec56
commit dd7a1054b0

View file

@ -59,10 +59,13 @@ public class ODSFile
CSVFile.write(out, source); CSVFile.write(out, source);
} }
finally finally
{
if (out != null)
{ {
out.close(); out.close();
} }
} }
}
/** /**
* Save. * Save.
@ -81,8 +84,11 @@ public class ODSFile
CSVFile.write(out, source); CSVFile.write(out, source);
} }
finally finally
{
if (out != null)
{ {
out.close(); out.close();
} }
} }
}
} }