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/CacheTreeContentsOperation.java')
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CacheTreeContentsOperation.java35
1 files changed, 6 insertions, 29 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CacheTreeContentsOperation.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CacheTreeContentsOperation.java
index 86c554e43..9177bbe08 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CacheTreeContentsOperation.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CacheTreeContentsOperation.java
@@ -49,9 +49,6 @@ public abstract class CacheTreeContentsOperation extends SingleCommandOperation
this.tree = tree;
}
- /* (non-Javadoc)
- * @see org.eclipse.team.internal.ccvs.ui.operations.SingleCommandOperation#execute(org.eclipse.team.internal.ccvs.core.CVSTeamProvider, org.eclipse.core.resources.IResource[], boolean, org.eclipse.core.runtime.IProgressMonitor)
- */
@Override
protected void execute(CVSTeamProvider provider, IResource[] resources, boolean recurse, IProgressMonitor monitor) throws CVSException, InterruptedException {
IResource[] files = getFilesWithUncachedContents(resources, recurse);
@@ -108,12 +105,13 @@ public abstract class CacheTreeContentsOperation extends SingleCommandOperation
*/
protected abstract boolean isEnabledForDirection(int direction);
- /* (non-Javadoc)
- *
- * Use a local root that is really the base tree so we can cache
- * the base contents without affecting the local contents.
+ /*
+ * Use a local root that is really the base tree so we can cache the base
+ * contents without affecting the local contents.
*
- * @see org.eclipse.team.internal.ccvs.ui.operations.RepositoryProviderOperation#getLocalRoot(org.eclipse.team.internal.ccvs.core.CVSTeamProvider)
+ * @see
+ * org.eclipse.team.internal.ccvs.ui.operations.RepositoryProviderOperation#
+ * getLocalRoot(org.eclipse.team.internal.ccvs.core.CVSTeamProvider)
*/
@Override
protected ICVSFolder getLocalRoot(CVSTeamProvider provider)
@@ -128,9 +126,6 @@ public abstract class CacheTreeContentsOperation extends SingleCommandOperation
protected abstract ICVSRemoteResource buildTree(CVSTeamProvider provider) throws TeamException;
- /* (non-Javadoc)
- * @see org.eclipse.team.internal.ccvs.ui.operations.RepositoryProviderOperation#getCVSArguments(org.eclipse.core.resources.IResource[])
- */
@Override
protected ICVSResource[] getCVSArguments(Session session, IResource[] resources) {
List<ICVSResource> result = new ArrayList<>();
@@ -148,9 +143,6 @@ public abstract class CacheTreeContentsOperation extends SingleCommandOperation
return result.toArray(new ICVSResource[result.size()]);
}
- /* (non-Javadoc)
- * @see org.eclipse.team.internal.ccvs.ui.operations.SingleCommandOperation#executeCommand(org.eclipse.team.internal.ccvs.core.client.Session, org.eclipse.team.internal.ccvs.core.CVSTeamProvider, org.eclipse.team.internal.ccvs.core.ICVSResource[], boolean, org.eclipse.core.runtime.IProgressMonitor)
- */
@Override
protected IStatus executeCommand(Session session, CVSTeamProvider provider, ICVSResource[] resources, boolean recurse, IProgressMonitor monitor) throws CVSException, InterruptedException {
return Command.UPDATE.execute(
@@ -180,25 +172,16 @@ public abstract class CacheTreeContentsOperation extends SingleCommandOperation
monitor);
}
- /* (non-Javadoc)
- * @see org.eclipse.team.internal.ccvs.ui.operations.SingleCommandOperation#getLocalOptions(boolean)
- */
@Override
protected LocalOption[] getLocalOptions(boolean recurse) {
return Update.IGNORE_LOCAL_CHANGES.addTo(super.getLocalOptions(recurse));
}
- /* (non-Javadoc)
- * @see org.eclipse.team.internal.ccvs.ui.operations.RepositoryProviderOperation#getTaskName(org.eclipse.team.internal.ccvs.core.CVSTeamProvider)
- */
@Override
protected String getTaskName(CVSTeamProvider provider) {
return NLS.bind(CVSUIMessages.CacheTreeContentsOperation_0, new String[] {provider.getProject().getName()});
}
- /* (non-Javadoc)
- * @see org.eclipse.team.internal.ccvs.ui.operations.CVSOperation#getTaskName()
- */
@Override
protected String getTaskName() {
return CVSUIMessages.CacheTreeContentsOperation_1;
@@ -212,17 +195,11 @@ public abstract class CacheTreeContentsOperation extends SingleCommandOperation
return tree;
}
- /* (non-Javadoc)
- * @see org.eclipse.team.internal.ccvs.ui.operations.RepositoryProviderOperation#consultModelsForMappings()
- */
@Override
public boolean consultModelsForMappings() {
return false;
}
- /* (non-Javadoc)
- * @see org.eclipse.team.internal.ccvs.ui.operations.CVSOperation#isReportableError(org.eclipse.core.runtime.IStatus)
- */
@Override
protected boolean isReportableError(IStatus status) {
return super.isReportableError(status) && status.getSeverity() == IStatus.ERROR;

Back to the top