Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Zarna2011-10-11 13:27:55 +0000
committerTomasz Zarna2011-10-11 13:27:55 +0000
commit8cd9ea442066a2977f5f50ea27d8c74ceef024d2 (patch)
treea97e08b3fd4db17a2058f621a15252fd1d516d59 /bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team
parent82f48f0947a913046f1de748668d008985a92284 (diff)
downloadeclipse.platform.team-8cd9ea442066a2977f5f50ea27d8c74ceef024d2.tar.gz
eclipse.platform.team-8cd9ea442066a2977f5f50ea27d8c74ceef024d2.tar.xz
eclipse.platform.team-8cd9ea442066a2977f5f50ea27d8c74ceef024d2.zip
bug 360532: NPE getting module children when not retrieved by deferred
Diffstat (limited to 'bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team')
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/repo/RepositoryRoot.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/repo/RepositoryRoot.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/repo/RepositoryRoot.java
index 91b6d0f8b..cc414aba9 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/repo/RepositoryRoot.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/repo/RepositoryRoot.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2009 IBM Corporation and others.
+ * Copyright (c) 2000, 2011 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -334,6 +334,7 @@ public class RepositoryRoot extends PlatformObject {
* Fetches tags from auto-refresh files.
*/
public CVSTag[] refreshDefinedTags(ICVSFolder folder, boolean recurse, IProgressMonitor monitor) throws TeamException {
+ monitor = Policy.monitorFor(monitor);
monitor.beginTask(null, 100);
CVSTag[] tags = null;
if (!recurse && !folder.getFolderSyncInfo().isVirtualDirectory()) {

Back to the top