writer.flush();
writer.close();
}
}
}
<BUG>private static DOMSource createFlowXml(Map<String, Object> topLevelYaml) throws IOException, ConfigurationChangeException {
</BUG>
try {
final DocumentBuilderFactory docFactory = DocumentBuilderFactory.newInstance();
docFactory.setNamespaceAware(true);

writer.flush();
writer.close();
}
}
}
private static DOMSource createFlowXml(ConfigSchema configSchema) throws IOException, ConfigurationChangeException {
try {
final DocumentBuilderFactory docFactory = DocumentBuilderFactory.newInstance();
docFactory.setNamespaceAware(true);
