Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CacheRemoteContentsOperation.java')
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CacheRemoteContentsOperation.java13
1 files changed, 4 insertions, 9 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CacheRemoteContentsOperation.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CacheRemoteContentsOperation.java
index 8ca5c79c9..ed15c8f3b 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CacheRemoteContentsOperation.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CacheRemoteContentsOperation.java
@@ -33,9 +33,7 @@ public class CacheRemoteContentsOperation extends CacheTreeContentsOperation {
super(part, mappers, tree);
}
- /* (non-Javadoc)
- * @see org.eclipse.team.internal.ccvs.ui.operations.CacheTreeContentsOperation#getRemoteFileState(org.eclipse.team.core.diff.IThreeWayDiff)
- */
+ @Override
protected IFileRevision getRemoteFileState(IThreeWayDiff twd) {
IResourceDiff diff = (IResourceDiff)twd.getRemoteChange();
if (diff == null)
@@ -43,16 +41,13 @@ public class CacheRemoteContentsOperation extends CacheTreeContentsOperation {
return diff.getAfterState();
}
- /* (non-Javadoc)
- * @see org.eclipse.team.internal.ccvs.ui.operations.CacheTreeContentsOperation#isEnabledForDirection(int)
- */
+ @Override
protected boolean isEnabledForDirection(int direction) {
return direction == IThreeWayDiff.CONFLICTING ||
direction == IThreeWayDiff.INCOMING;
}
- /* (non-Javadoc)
- * @see org.eclipse.team.internal.ccvs.ui.operations.CacheTreeContentsOperation#buildTree(org.eclipse.team.internal.ccvs.core.CVSTeamProvider)
- */
+
+ @Override
protected ICVSRemoteResource buildTree(CVSTeamProvider provider) throws TeamException {
return CVSProviderPlugin.getPlugin().getCVSWorkspaceSubscriber().buildRemoteTree(provider.getProject(), true, new NullProgressMonitor());
}

Back to the top