mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-09 18:56:02 +02:00
null monitor check
This commit is contained in:
parent
f40f66a014
commit
e65fe98ebc
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue