1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-17 14:05:23 +02:00

[dstore] trivial - updateCancellableThreads needs to case to DataElement, not String

This commit is contained in:
David McKnight 2009-04-01 17:25:15 +00:00
parent 23f7863a0a
commit 1147df5c4f

View file

@ -455,12 +455,12 @@ public class UniversalFileSystemMiner extends Miner {
{ {
while (iter.hasNext()) while (iter.hasNext())
{ {
String threadName = (String) iter.next(); DataElement threadElement = (DataElement) iter.next();
ICancellableHandler theThread = (ICancellableHandler) _cancellableThreads.get(threadName); ICancellableHandler theThread = (ICancellableHandler) _cancellableThreads.get(threadElement);
if ((theThread == null) || if ((theThread == null) ||
theThread.isDone() || theThread.isCancelled()) theThread.isDone() || theThread.isCancelled())
{ {
_cancellableThreads.remove(threadName); _cancellableThreads.remove(threadElement);
} }
} }
} }