Changeset 867 for xmlTools/trunk/posUpdate/ParametersParser.cs
- Timestamp:
- May 9, 2013, 12:37:17 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
xmlTools/trunk/posUpdate/ParametersParser.cs
r861 r867 107 107 foreach (string currentFile in filesToProcess) 108 108 { 109 if ( valPositions != null)109 if (!String.IsNullOrEmpty(valPositions)) 110 110 { 111 111 myTools.replaceAll(currentFile, value, valPositions); … … 130 130 XmlPatch myPatch; 131 131 132 if ( forceInFiles != "")132 if (!String.IsNullOrEmpty(forceInFiles)) 133 133 { 134 134 myPatch = new XmlPatch(globalFileName, forceInFiles, globalNoBackups); … … 196 196 List<String> filesToProccess = new List<String>(); 197 197 198 if ( filename == "") // No filename? Process everything xml file found.198 if (String.IsNullOrEmpty(filename)) // No filename? Process everything xml file found. 199 199 { 200 200 List<string> allXmlFiles = Util.getAllXmlFiles();
Note:
See TracChangeset
for help on using the changeset viewer.