Fixed null case.
This commit is contained in:
parent
4394acec56
commit
dd7a1054b0
1 changed files with 8 additions and 2 deletions
|
@ -59,10 +59,13 @@ public class ODSFile
|
|||
CSVFile.write(out, source);
|
||||
}
|
||||
finally
|
||||
{
|
||||
if (out != null)
|
||||
{
|
||||
out.close();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Save.
|
||||
|
@ -81,8 +84,11 @@ public class ODSFile
|
|||
CSVFile.write(out, source);
|
||||
}
|
||||
finally
|
||||
{
|
||||
if (out != null)
|
||||
{
|
||||
out.close();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue