Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff McAffer2008-08-14 12:27:31 -0400
committerJeff McAffer2008-08-14 12:27:31 -0400
commit6ab8f57c916c6ddb26bdac85fe91446be8e514d4 (patch)
treea1c856202d6f98a0d295663d5494655305a304e3 /bundles/org.eclipse.equinox.frameworkadmin.equinox/src
parenta1ae625ab549cb036f6aa0251ef821f70f791ace (diff)
downloadrt.equinox.p2-6ab8f57c916c6ddb26bdac85fe91446be8e514d4.tar.gz
rt.equinox.p2-6ab8f57c916c6ddb26bdac85fe91446be8e514d4.tar.xz
rt.equinox.p2-6ab8f57c916c6ddb26bdac85fe91446be8e514d4.zip
First set of changed needed for integrating the publisher
Diffstat (limited to 'bundles/org.eclipse.equinox.frameworkadmin.equinox/src')
-rw-r--r--bundles/org.eclipse.equinox.frameworkadmin.equinox/src/org/eclipse/equinox/internal/frameworkadmin/equinox/utils/FileUtils.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.frameworkadmin.equinox/src/org/eclipse/equinox/internal/frameworkadmin/equinox/utils/FileUtils.java b/bundles/org.eclipse.equinox.frameworkadmin.equinox/src/org/eclipse/equinox/internal/frameworkadmin/equinox/utils/FileUtils.java
index 08f0c1a81..b0e133325 100644
--- a/bundles/org.eclipse.equinox.frameworkadmin.equinox/src/org/eclipse/equinox/internal/frameworkadmin/equinox/utils/FileUtils.java
+++ b/bundles/org.eclipse.equinox.frameworkadmin.equinox/src/org/eclipse/equinox/internal/frameworkadmin/equinox/utils/FileUtils.java
@@ -116,6 +116,8 @@ public class FileUtils {
}
public static String getEclipsePluginFullLocation(String pluginName, File bundlesDir) {
+ if (bundlesDir == null)
+ return null;
File[] lists = bundlesDir.listFiles();
URL ret = null;
EclipseVersion maxVersion = null;

Back to the top