summaryrefslogtreecommitdiff
path: root/l10ntools/source/filter/utils/FileHelper.java
diff options
context:
space:
mode:
Diffstat (limited to 'l10ntools/source/filter/utils/FileHelper.java')
-rw-r--r--l10ntools/source/filter/utils/FileHelper.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/l10ntools/source/filter/utils/FileHelper.java b/l10ntools/source/filter/utils/FileHelper.java
index 239711cfbc57..e7e5766a866f 100644
--- a/l10ntools/source/filter/utils/FileHelper.java
+++ b/l10ntools/source/filter/utils/FileHelper.java
@@ -307,22 +307,22 @@ public class FileHelper
if (!aDirectory.isDirectory())
throw new java.io.FileNotFoundException("\""+aDirectory.toString()+"\" is not a directory.");
- java.io.File[] lChilds = aDirectory.listFiles();
- for (int f=0; f<lChilds.length; ++f)
+ java.io.File[] lChildren = aDirectory.listFiles();
+ for (int f=0; f<lChildren.length; ++f)
{
- if (lChilds[f].isDirectory())
+ if (lChildren[f].isDirectory())
{
- FileHelper.makeDirectoryEmpty(lChilds[f], bFilesOnly);
+ FileHelper.makeDirectoryEmpty(lChildren[f], bFilesOnly);
if (!bFilesOnly)
{
- if (!lChilds[f].delete())
- throw new java.io.IOException("\""+lChilds[f].toString()+"\" could not be deleted.");
+ if (!lChildren[f].delete())
+ throw new java.io.IOException("\""+lChildren[f].toString()+"\" could not be deleted.");
}
}
else
{
- if (!lChilds[f].delete())
- throw new java.io.IOException("\""+lChilds[f].toString()+"\" could not be deleted.");
+ if (!lChildren[f].delete())
+ throw new java.io.IOException("\""+lChildren[f].toString()+"\" could not be deleted.");
}
}
}