1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-09 10:46:02 +02:00

null monitor check

This commit is contained in:
David McKnight 2006-04-25 19:13:10 +00:00
parent f40f66a014
commit e65fe98ebc

View file

@ -657,7 +657,7 @@ public class DStoreFileService extends AbstractDStoreService implements IFileSer
// now wait till we have all the bytes local // now wait till we have all the bytes local
long localBytes = localFile.length(); long localBytes = localFile.length();
while (localBytes < fileLength && !monitor.isCanceled()) while (localBytes < fileLength && (monitor == null || !monitor.isCanceled()))
{ {
try try
{ {