diff options
author | Darin Swanson | 2006-02-09 18:43:25 +0000 |
---|---|---|
committer | Darin Swanson | 2006-02-09 18:43:25 +0000 |
commit | 39d88aeeacae2bdb18b4e602624a7038d1f669a7 (patch) | |
tree | 0fd9a42c859767b00b6e7c2d7a9868b1fff8958b /org.eclipse.core.variables/src/org | |
parent | 4c77ff2f72660c8d1b27b0aeae35e3de2256baeb (diff) | |
download | eclipse.platform.debug-39d88aeeacae2bdb18b4e602624a7038d1f669a7.tar.gz eclipse.platform.debug-39d88aeeacae2bdb18b4e602624a7038d1f669a7.tar.xz eclipse.platform.debug-39d88aeeacae2bdb18b4e602624a7038d1f669a7.zip |
The method run(ISafeRunnable) from the type Platform is deprecated
Diffstat (limited to 'org.eclipse.core.variables/src/org')
-rw-r--r-- | org.eclipse.core.variables/src/org/eclipse/core/internal/variables/StringVariableManager.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.core.variables/src/org/eclipse/core/internal/variables/StringVariableManager.java b/org.eclipse.core.variables/src/org/eclipse/core/internal/variables/StringVariableManager.java index b2b6ed921..d9a1022a1 100644 --- a/org.eclipse.core.variables/src/org/eclipse/core/internal/variables/StringVariableManager.java +++ b/org.eclipse.core.variables/src/org/eclipse/core/internal/variables/StringVariableManager.java @@ -40,6 +40,7 @@ import org.eclipse.core.runtime.ListenerList; import org.eclipse.core.runtime.MultiStatus; import org.eclipse.core.runtime.Platform; import org.eclipse.core.runtime.Preferences; +import org.eclipse.core.runtime.SafeRunner; import org.eclipse.core.runtime.Status; import org.eclipse.core.runtime.Preferences.IPropertyChangeListener; import org.eclipse.core.runtime.Preferences.PropertyChangeEvent; @@ -154,7 +155,7 @@ public class StringVariableManager implements IStringVariableManager, IPropertyC Object[] copiedListeners= fListeners.getListeners(); for (int i= 0; i < copiedListeners.length; i++) { fListener = (IValueVariableListener)copiedListeners[i]; - Platform.run(this); + SafeRunner.run(this); } fVariables = null; fListener = null; |