--- xmlTools/trunk/posUpdate/ParametersParser.cs 2013/05/08 21:52:38 861 +++ xmlTools/trunk/posUpdate/ParametersParser.cs 2013/05/09 10:37:17 867 @@ -106,7 +106,7 @@ namespace xmlTools List filesToProcess = getFilesToProcess(globalFileName); foreach (string currentFile in filesToProcess) { - if (valPositions != null) + if (!String.IsNullOrEmpty(valPositions)) { myTools.replaceAll(currentFile, value, valPositions); } @@ -129,7 +129,7 @@ namespace xmlTools { XmlPatch myPatch; - if (forceInFiles != "") + if (!String.IsNullOrEmpty(forceInFiles)) { myPatch = new XmlPatch(globalFileName, forceInFiles, globalNoBackups); } @@ -195,7 +195,7 @@ namespace xmlTools { List filesToProccess = new List(); - if (filename == "") // No filename? Process everything xml file found. + if (String.IsNullOrEmpty(filename)) // No filename? Process everything xml file found. { List allXmlFiles = Util.getAllXmlFiles(); foreach (String file in allXmlFiles)