mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-09 01:05:38 +02:00
need null progress monitor instead of null to avoid null pointer exception. (defect 142956)
This commit is contained in:
parent
630b582f3b
commit
74b3e13338
1 changed files with 2 additions and 1 deletions
|
@ -21,6 +21,7 @@ import java.util.List;
|
|||
|
||||
import org.eclipse.core.resources.IResource;
|
||||
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.MultiRule;
|
||||
import org.eclipse.jface.dialogs.ProgressMonitorDialog;
|
||||
|
@ -219,7 +220,7 @@ public class SystemViewDataDropAdapter extends ViewerDropAdapter implements ISy
|
|||
|
||||
if (target instanceof SystemScratchpad)
|
||||
{
|
||||
runnable.run(null);
|
||||
runnable.run(new NullProgressMonitor());
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue