diff options
Diffstat (limited to 'bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CheckoutIntoOperation.java')
-rw-r--r-- | bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CheckoutIntoOperation.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CheckoutIntoOperation.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CheckoutIntoOperation.java index 2337cd727..0eb05d5a5 100644 --- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CheckoutIntoOperation.java +++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CheckoutIntoOperation.java @@ -250,10 +250,10 @@ public class CheckoutIntoOperation extends CheckoutOperation { FolderSyncInfo info = folder.getFolderSyncInfo(); if (info.isSameMapping(remoteInfo)) { throw new CVSException(NLS.bind(CVSUIMessages.CheckoutIntoOperation_mappingAlreadyExists, (new Object[] { - remoteFolder.getName(), - targetFolder.getIResource().getFullPath().toString(), - resource.getFullPath().toString() - }))); + remoteFolder.getName(), + targetFolder.getIResource().getFullPath().toString(), + resource.getFullPath().toString() + }))); } folder.acceptChildren(this); } @@ -418,9 +418,9 @@ public class CheckoutIntoOperation extends CheckoutOperation { //use the modfiy rule for the time being //TODO: Just lock the project not the entire workspace (so can't use modifyRule) //since the project already exists - IProject tempProject = getLocalFolder().getIResource().getProject(); - IResourceRuleFactory ruleFactory = ResourcesPlugin.getWorkspace().getRuleFactory(); - return ruleFactory.modifyRule(tempProject); + IProject tempProject = getLocalFolder().getIResource().getProject(); + IResourceRuleFactory ruleFactory = ResourcesPlugin.getWorkspace().getRuleFactory(); + return ruleFactory.modifyRule(tempProject); } } |