Writed indented config files

cusax-fix
Emil Ivov 20 years ago
parent 1fa9e9357c
commit 1eb7fcc59f

@ -524,7 +524,8 @@ private void storeConfiguration(File file)
//write the file.
XMLConfUtils.writeXML(propertiesDocument, getConfigurationFile());
XMLUtils.indentedWriteXML(
propertiesDocument, new FileWriter( getConfigurationFile()));
}
finally
{
@ -628,8 +629,6 @@ private void updateNode(Node node,
{
//update the corresponding node
Object value = properties.get(newPropBuff.toString());
if (newPropBuff.toString().indexOf("SYSTEM_PROPERTY")!= -1)
System.out.println("aaaa");
if(value == null)
{

Loading…
Cancel
Save