Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/actions/ConfigureProjectAction.java')
-rw-r--r--bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/actions/ConfigureProjectAction.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/actions/ConfigureProjectAction.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/actions/ConfigureProjectAction.java
index 08a58a801..b67450d5e 100644
--- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/actions/ConfigureProjectAction.java
+++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/actions/ConfigureProjectAction.java
@@ -10,7 +10,7 @@
*******************************************************************************/
package org.eclipse.team.internal.ui.actions;
-
+
import java.lang.reflect.InvocationTargetException;
import org.eclipse.core.resources.IProject;
@@ -27,7 +27,7 @@ import org.eclipse.team.internal.ui.wizards.ConfigureProjectWizard;
* configuration that is necessary.
*/
public class ConfigureProjectAction extends TeamAction {
-
+
@Override
protected void execute(IAction action) throws InvocationTargetException,
InterruptedException {
@@ -35,7 +35,7 @@ public class ConfigureProjectAction extends TeamAction {
@Override
public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
try {
- if (!isEnabled())
+ if (!isEnabled())
return;
IProject[] projects = getSelectedProjects();
ConfigureProjectWizard.shareProjects(getShell(), projects);
@@ -43,9 +43,9 @@ public class ConfigureProjectAction extends TeamAction {
throw new InvocationTargetException(e);
}
}
- }, TeamUIMessages.ConfigureProjectAction_configureProject, PROGRESS_BUSYCURSOR);
+ }, TeamUIMessages.ConfigureProjectAction_configureProject, PROGRESS_BUSYCURSOR);
}
-
+
/**
* @see TeamAction#isEnabled()
*/
@@ -55,8 +55,8 @@ public class ConfigureProjectAction extends TeamAction {
for (int i = 0; i < selectedProjects.length; i++) {
IProject project = selectedProjects[i];
if (!project.isAccessible()) return false;
- if (RepositoryProvider.isShared(project)) return false;
- }
+ if (RepositoryProvider.isShared(project)) return false;
+ }
return selectedProjects.length > 0;
}
}

Back to the top