returnValue = null;
return ((Boolean) tmpValue).booleanValue();
}
public synchronized IResourceVariant[] fetchMembers(ID ownId, ID remoteId, IResourceVariant variant, IProgressMonitor monitor) throws TeamException {
RemoteResourceVariant remoteVariant = (RemoteResourceVariant) variant;
if (!remoteVariant.hasMembers()) {
// we've predetermined that this resource will not have any valid
// members, just return an empty array
return new IResourceVariant[0];
}
monitor.subTask(NLS.bind(Messages.RemoteShare_FetchingVariant, variant.getName()));
sendMessage(remoteId, new FetchVariantsRequest(ownId, remoteVariant.getPath(), remoteVariant.getType()));
while (returnValue == null) {
try {
Thread.sleep(100);
if (monitor.isCanceled()) {