Rename a method.
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@805003 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/framework/src/main/java/org/apache/felix/framework/cache/BundleCache.java b/framework/src/main/java/org/apache/felix/framework/cache/BundleCache.java
index c84a56f..55e3ca6 100644
--- a/framework/src/main/java/org/apache/felix/framework/cache/BundleCache.java
+++ b/framework/src/main/java/org/apache/felix/framework/cache/BundleCache.java
@@ -275,7 +275,7 @@
protected static boolean deleteDirectoryTree(File target)
{
- if (!deleteDirectoryTreeRecursiv(target))
+ if (!deleteDirectoryTreeRecursive(target))
{
// We might be talking windows and native libs -- hence,
// try to trigger a gc and try again. The hope is that
@@ -284,12 +284,12 @@
// would not be used anymore.
System.gc();
System.gc();
- return deleteDirectoryTreeRecursiv(target);
+ return deleteDirectoryTreeRecursive(target);
}
return true;
}
- private static boolean deleteDirectoryTreeRecursiv(File target)
+ private static boolean deleteDirectoryTreeRecursive(File target)
{
if (!getSecureAction().fileExists(target))
{
@@ -301,7 +301,7 @@
File[] files = getSecureAction().listDirectory(target);
for (int i = 0; i < files.length; i++)
{
- deleteDirectoryTreeRecursiv(files[i]);
+ deleteDirectoryTreeRecursive(files[i]);
}
}