Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrganor2006-08-01 06:09:40 -0400
committerrganor2006-08-01 06:09:40 -0400
commit0081be8221c1748d3358e242b64619956967d00b (patch)
tree62eab4706e7dbbb279ceaf9b7328a1f125132765
parent08e759ff1d140a217165a0eb3034184e2b50a4d8 (diff)
downloadorg.eclipse.pdt-0081be8221c1748d3358e242b64619956967d00b.tar.gz
org.eclipse.pdt-0081be8221c1748d3358e242b64619956967d00b.tar.xz
org.eclipse.pdt-0081be8221c1748d3358e242b64619956967d00b.zip
fix: depcecated method removed.
Platform.run() -> SafeRunner.run()
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/core/phpModel/parser/PHPProjectModel.java10
1 files changed, 2 insertions, 8 deletions
diff --git a/plugins/org.eclipse.php.core/src/org/eclipse/php/core/phpModel/parser/PHPProjectModel.java b/plugins/org.eclipse.php.core/src/org/eclipse/php/core/phpModel/parser/PHPProjectModel.java
index 61f7ddc95..c6646c3c7 100644
--- a/plugins/org.eclipse.php.core/src/org/eclipse/php/core/phpModel/parser/PHPProjectModel.java
+++ b/plugins/org.eclipse.php.core/src/org/eclipse/php/core/phpModel/parser/PHPProjectModel.java
@@ -12,27 +12,21 @@ package org.eclipse.php.core.phpModel.parser;
import java.util.Collection;
import java.util.Collections;
-import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
-import java.util.Map;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.core.runtime.IConfigurationElement;
import org.eclipse.core.runtime.Platform;
+import org.eclipse.core.runtime.SafeRunner;
import org.eclipse.jface.util.SafeRunnable;
import org.eclipse.php.core.phpModel.IPHPLanguageModel;
import org.eclipse.php.core.phpModel.phpElementData.CodeData;
import org.eclipse.php.core.phpModel.phpElementData.PHPClassData;
import org.eclipse.php.core.phpModel.phpElementData.PHPConstantData;
-import org.eclipse.php.core.phpModel.phpElementData.PHPDocBlockImp;
-import org.eclipse.php.core.phpModel.phpElementData.PHPDocTag;
import org.eclipse.php.core.phpModel.phpElementData.PHPFileData;
-import org.eclipse.php.core.phpModel.phpElementData.PHPVariableData;
-import org.eclipse.php.core.phpModel.phpElementData.PHPVariableTypeData;
-import org.eclipse.php.core.phpModel.phpElementData.PHPVariablesTypeManager;
import org.eclipse.wst.sse.core.internal.provisional.text.IStructuredDocument;
public class PHPProjectModel extends CompositePhpModel implements IPhpProjectModel, IAdaptable {
@@ -97,7 +91,7 @@ public class PHPProjectModel extends CompositePhpModel implements IPhpProjectMod
public IPhpModel getModel() {
if (model == null) {
- Platform.run(new SafeRunnable("Error creation PhpModel for extension-point org.eclipse.php.core.phpModel") {
+ SafeRunner.run(new SafeRunnable("Error creation PhpModel for extension-point org.eclipse.php.core.phpModel") {
public void run() throws Exception {
model = (IPhpModel) element.createExecutableExtension("class");
}

Back to the top