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/actions/CheckoutAction.java')
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/actions/CheckoutAction.java26
1 files changed, 13 insertions, 13 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/actions/CheckoutAction.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/actions/CheckoutAction.java
index c24887c25..747e27a74 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/actions/CheckoutAction.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/actions/CheckoutAction.java
@@ -36,19 +36,19 @@ public class CheckoutAction extends CVSAction {
}
@Override
- public boolean isEnabled() {
- ICVSRemoteFolder[] folders = getSelectedRemoteFolders();
- if (folders.length == 0) return false;
- // only enabled when all folders are in the same repository
- ICVSRepositoryLocation location = folders[0].getRepository();
- for (int i = 1; i < folders.length; i++) {
- ICVSRemoteFolder folder = folders[i];
- if (!folder.getRepository().equals(location)) {
- return false;
- }
- }
- return true;
- }
+ public boolean isEnabled() {
+ ICVSRemoteFolder[] folders = getSelectedRemoteFolders();
+ if (folders.length == 0) return false;
+ // only enabled when all folders are in the same repository
+ ICVSRepositoryLocation location = folders[0].getRepository();
+ for (int i = 1; i < folders.length; i++) {
+ ICVSRemoteFolder folder = folders[i];
+ if (!folder.getRepository().equals(location)) {
+ return false;
+ }
+ }
+ return true;
+ }
/**
* Get selected CVS remote folders, and add Project Description

Back to the top