diff org.eclipse.jface/src/org/eclipse/jface/fieldassist/ContentProposalAdapter.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 735224fcc45f
children
line wrap: on
line diff
--- a/org.eclipse.jface/src/org/eclipse/jface/fieldassist/ContentProposalAdapter.d	Wed Mar 18 09:57:53 2009 +0100
+++ b/org.eclipse.jface/src/org/eclipse/jface/fieldassist/ContentProposalAdapter.d	Wed Mar 18 10:55:25 2009 +0100
@@ -51,7 +51,7 @@
 
 import java.lang.all;
 import java.util.Set;
-import java.lang.JThread;
+import java.lang.Thread;
 
 /**
  * ContentProposalAdapter can be used to attach content proposal behavior to a
@@ -933,7 +933,7 @@
                         pendingDescriptionUpdate = true;
 
                         try {
-                            JThread.sleep( POPUP_DELAY );
+                            Thread.sleep( POPUP_DELAY );
                         }
                         catch (InterruptedException e) {
                         }
@@ -975,7 +975,7 @@
                         });
                     }
                 };
-                JThread t = new JThread(r);
+                Thread t = new Thread(r);
                 t.start();
             }
         }
@@ -2018,7 +2018,7 @@
                 public void run(){
                     receivedKeyDown = false;
                     try {
-                        JThread.sleep(autoActivationDelay);
+                        Thread.sleep(autoActivationDelay);
                     } catch (InterruptedException e) {
                     }
                     if (!isValid() || receivedKeyDown) {
@@ -2031,7 +2031,7 @@
                     });
                 }
             };
-            JThread t = new JThread(r);
+            Thread t = new Thread(r);
             t.start();
         } else {
             // Since we do not sleep, we must open the popup