| 106 |
|
List<string> filesToProcess = getFilesToProcess(globalFileName); |
| 107 |
|
foreach (string currentFile in filesToProcess) |
| 108 |
|
{ |
| 109 |
< |
if (valPositions != null) |
| 109 |
> |
if (!String.IsNullOrEmpty(valPositions)) |
| 110 |
|
{ |
| 111 |
|
myTools.replaceAll(currentFile, value, valPositions); |
| 112 |
|
} |
| 129 |
|
{ |
| 130 |
|
XmlPatch myPatch; |
| 131 |
|
|
| 132 |
< |
if (forceInFiles != "") |
| 132 |
> |
if (!String.IsNullOrEmpty(forceInFiles)) |
| 133 |
|
{ |
| 134 |
|
myPatch = new XmlPatch(globalFileName, forceInFiles, globalNoBackups); |
| 135 |
|
} |
| 195 |
|
{ |
| 196 |
|
List<String> filesToProccess = new List<String>(); |
| 197 |
|
|
| 198 |
< |
if (filename == "") // No filename? Process everything xml file found. |
| 198 |
> |
if (String.IsNullOrEmpty(filename)) // No filename? Process everything xml file found. |
| 199 |
|
{ |
| 200 |
|
List<string> allXmlFiles = Util.getAllXmlFiles(); |
| 201 |
|
foreach (String file in allXmlFiles) |