1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-09 09:15:38 +02:00

need null progress monitor instead of null to avoid null pointer exception. (defect 142956)

This commit is contained in:
David McKnight 2006-05-23 19:05:20 +00:00
parent 630b582f3b
commit 74b3e13338

View file

@ -21,6 +21,7 @@ import java.util.List;
import org.eclipse.core.resources.IResource; import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.IAdaptable; import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.core.runtime.jobs.ISchedulingRule; import org.eclipse.core.runtime.jobs.ISchedulingRule;
import org.eclipse.core.runtime.jobs.MultiRule; import org.eclipse.core.runtime.jobs.MultiRule;
import org.eclipse.jface.dialogs.ProgressMonitorDialog; import org.eclipse.jface.dialogs.ProgressMonitorDialog;
@ -219,7 +220,7 @@ public class SystemViewDataDropAdapter extends ViewerDropAdapter implements ISy
if (target instanceof SystemScratchpad) if (target instanceof SystemScratchpad)
{ {
runnable.run(null); runnable.run(new NullProgressMonitor());
} }
else else
{ {