mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
bugfix #107 - close FileWriter in core.problem.io.VrpXMLWriter
This commit is contained in:
parent
16ae22d7dc
commit
16f8d606f4
1 changed files with 1 additions and 0 deletions
|
|
@ -126,6 +126,7 @@ public class VrpXMLWriter {
|
|||
Writer out = new FileWriter(filename);
|
||||
XMLSerializer serializer = new XMLSerializer(out, format);
|
||||
serializer.serialize(xmlConfig.getDocument());
|
||||
out.close();
|
||||
} catch (IOException e) {
|
||||
logger.error(e);
|
||||
e.printStackTrace();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue