1
0
Fork 0
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:
oblonski 2014-06-23 22:43:34 +02:00
parent 16ae22d7dc
commit 16f8d606f4

View file

@ -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();