diff org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/ContentAssistant.d @ 19:52184e4b815c

no more direct tango.core.Thread. Rename JThread to java.lang.Thread.
author Frank Benoit <benoit@tionex.de>
date Wed, 18 Mar 2009 10:55:25 +0100
parents bc29606a740c
children
line wrap: on
line diff
--- a/org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/ContentAssistant.d	Wed Mar 18 09:57:53 2009 +0100
+++ b/org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/ContentAssistant.d	Wed Mar 18 10:55:25 2009 +0100
@@ -52,7 +52,7 @@
 import java.util.Map;
 import java.util.HashMap;
 import java.util.Set;
-import java.lang.JThread;
+import java.lang.Thread;
 import tango.core.sync.Mutex;
 import tango.core.sync.Condition;
 
@@ -287,7 +287,7 @@
             super.keyReleased(e);
         }
 
-        private JThread fThread;
+        private Thread fThread;
         private bool fIsReset= false;
         private Mutex fMutex;
         private Condition fMutex_cond;
@@ -303,7 +303,7 @@
 
         protected void start(int showStyle) {
             fShowStyle= showStyle;
-            fThread= new JThread(this);
+            fThread= new Thread(this);
             fThread.setName( JFaceTextMessages.getString("ContentAssistant.assist_delay_timer_name")); //$NON-NLS-1$
             fThread.start();
         }
@@ -336,7 +336,7 @@
         }
 
         protected void stop() {
-            JThread threadToStop= fThread;
+            Thread threadToStop= fThread;
             if (threadToStop !is null && threadToStop.isAlive())
                 threadToStop.interrupt();
         }