Avoid NullPointerException
[phpeclipse.git] / net.sourceforge.phpeclipse.launching / src / net / sourceforge / phpdt / internal / launching / PHPLaunchingPlugin.java
index 7d55467..4627f20 100644 (file)
@@ -3,7 +3,6 @@ package net.sourceforge.phpdt.internal.launching;
 import net.sourceforge.phpeclipse.PHPeclipsePlugin;
 
 import org.eclipse.core.resources.IWorkspace;
-import org.eclipse.core.runtime.IPluginDescriptor;
 import org.eclipse.core.runtime.IStatus;
 import org.eclipse.core.runtime.Status;
 import org.eclipse.ui.plugin.AbstractUIPlugin;
@@ -14,11 +13,10 @@ public class PHPLaunchingPlugin extends AbstractUIPlugin {
 
        protected static PHPLaunchingPlugin plugin;
 
-       public PHPLaunchingPlugin(IPluginDescriptor descriptor) {
-               super(descriptor);
+       public PHPLaunchingPlugin() {
+               super();
                plugin = this;
        }
-
        public static PHPLaunchingPlugin getDefault() {
                return plugin;
        }