comparison org.eclipse.jface.text/projection/org/eclipse/jface/text/source/projection/ProjectionSummary.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
comparison
equal deleted inserted replaced
18:735224fcc45f 19:52184e4b815c
29 import java.util.ArrayList; 29 import java.util.ArrayList;
30 import java.util.Iterator; 30 import java.util.Iterator;
31 import java.util.Map; 31 import java.util.Map;
32 import java.util.HashMap; 32 import java.util.HashMap;
33 import java.util.Set; 33 import java.util.Set;
34 import java.lang.JThread; 34 import java.lang.Thread;
35 35
36 36
37 37
38 38
39 39
58 */ 58 */
59 class ProjectionSummary { 59 class ProjectionSummary {
60 60
61 private class Summarizer { 61 private class Summarizer {
62 62
63 JThread thread; 63 Thread thread;
64 private bool fReset= true; 64 private bool fReset= true;
65 65
66 /** 66 /**
67 * Creates a new thread. 67 * Creates a new thread.
68 */ 68 */
69 public this() { 69 public this() {
70 thread = new JThread( &run ); 70 thread = new Thread( &run );
71 fProgressMonitor= new NullProgressMonitor(); // might be given by client in the future 71 fProgressMonitor= new NullProgressMonitor(); // might be given by client in the future
72 thread.setDaemon(true); 72 thread.setDaemon(true);
73 thread.start(); 73 thread.start();
74 } 74 }
75 75