summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorAlex Blewitt2009-10-19 04:42:36 (EDT)
committer Shawn O. Pearce2009-10-31 17:58:27 (EDT)
commit7f6004ee88ae3a1467155e433be5be8dc65a6d40 (patch)
tree05b0536976cc43c851a64e2803d4955c33d8cec0
parent8c839d7ec7b884fba2e2a74321a057a58ea1114c (diff)
downloadegit-7f6004ee88ae3a1467155e433be5be8dc65a6d40.zip
egit-7f6004ee88ae3a1467155e433be5be8dc65a6d40.tar.gz
egit-7f6004ee88ae3a1467155e433be5be8dc65a6d40.tar.bz2
Remove trailing whitespace across EGitrefs/changes/85/85/2
Change-Id: I8007e52ee0aa33db008b352a23c09bc9d567f66d Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
-rw-r--r--org.eclipse.egit.core/src/org/eclipse/egit/core/EclipseGitProgressTransformer.java2
-rw-r--r--org.eclipse.egit.core/src/org/eclipse/egit/core/ResourceList.java4
-rw-r--r--org.eclipse.egit.core/src/org/eclipse/egit/core/internal/storage/CommitFileRevision.java2
-rw-r--r--org.eclipse.egit.core/src/org/eclipse/egit/core/internal/storage/GitFileRevision.java2
-rw-r--r--org.eclipse.egit.core/src/org/eclipse/egit/core/op/BranchOperation.java2
-rw-r--r--org.eclipse.egit.core/src/org/eclipse/egit/core/op/CloneOperation.java4
-rw-r--r--org.eclipse.egit.core/src/org/eclipse/egit/core/op/ConnectProviderOperation.java2
-rw-r--r--org.eclipse.egit.core/src/org/eclipse/egit/core/op/DisconnectProviderOperation.java2
-rw-r--r--org.eclipse.egit.core/src/org/eclipse/egit/core/op/ListRemoteOperation.java2
-rw-r--r--org.eclipse.egit.core/src/org/eclipse/egit/core/op/ResetOperation.java26
-rw-r--r--org.eclipse.egit.core/src/org/eclipse/egit/core/op/TrackOperation.java4
-rw-r--r--org.eclipse.egit.core/src/org/eclipse/egit/core/op/UntrackOperation.java2
-rw-r--r--org.eclipse.egit.core/src/org/eclipse/egit/core/op/UpdateOperation.java4
-rw-r--r--org.eclipse.egit.core/src/org/eclipse/egit/core/project/GitProjectData.java4
-rw-r--r--org.eclipse.egit.core/src/org/eclipse/egit/core/project/RepositoryChangeListener.java2
-rw-r--r--org.eclipse.egit.core/src/org/eclipse/egit/core/project/RepositoryFinder.java4
-rw-r--r--org.eclipse.egit.core/src/org/eclipse/egit/core/project/RepositoryMapping.java2
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/Activator.java12
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/UIPreferences.java6
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/BranchAction.java4
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/CommitAction.java8
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/CompareWithIndexAction.java2
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/RepositoryAction.java12
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/ResetAction.java4
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/Track.java2
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/clone/CloneDestinationPage.java2
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/decorators/DecoratableResourceAdapter.java2
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitNavigationListener.java2
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/GitHistoryPage.java2
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/preferences/StorageSizeFieldEditor.java2
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/push/RefUpdateContentProvider.java2
31 files changed, 66 insertions, 66 deletions
diff --git a/org.eclipse.egit.core/src/org/eclipse/egit/core/EclipseGitProgressTransformer.java b/org.eclipse.egit.core/src/org/eclipse/egit/core/EclipseGitProgressTransformer.java
index 94f3edc..051b946 100644
--- a/org.eclipse.egit.core/src/org/eclipse/egit/core/EclipseGitProgressTransformer.java
+++ b/org.eclipse.egit.core/src/org/eclipse/egit/core/EclipseGitProgressTransformer.java
@@ -26,7 +26,7 @@ public class EclipseGitProgressTransformer implements ProgressMonitor {
/**
* Create a new progress monitor.
- *
+ *
* @param eclipseMonitor
* the Eclipse monitor we update.
*/
diff --git a/org.eclipse.egit.core/src/org/eclipse/egit/core/ResourceList.java b/org.eclipse.egit.core/src/org/eclipse/egit/core/ResourceList.java
index c475a0c..94c763c 100644
--- a/org.eclipse.egit.core/src/org/eclipse/egit/core/ResourceList.java
+++ b/org.eclipse.egit.core/src/org/eclipse/egit/core/ResourceList.java
@@ -18,7 +18,7 @@ public class ResourceList implements IAdaptable {
/**
* Create a new list of resources.
- *
+ *
* @param items
* the items to contain in this list.
*/
@@ -28,7 +28,7 @@ public class ResourceList implements IAdaptable {
/**
* Get the items stored in this list.
- *
+ *
* @return the list provided to our constructor.
*/
public IResource[] getItems() {
diff --git a/org.eclipse.egit.core/src/org/eclipse/egit/core/internal/storage/CommitFileRevision.java b/org.eclipse.egit.core/src/org/eclipse/egit/core/internal/storage/CommitFileRevision.java
index 2771e88..ddd0ceb 100644
--- a/org.eclipse.egit.core/src/org/eclipse/egit/core/internal/storage/CommitFileRevision.java
+++ b/org.eclipse.egit.core/src/org/eclipse/egit/core/internal/storage/CommitFileRevision.java
@@ -107,7 +107,7 @@ class CommitFileRevision extends GitFileRevision {
/**
* Get the commit that introduced this file revision.
- *
+ *
* @return the commit we most recently noticed this file in.
*/
public RevCommit getRevCommit() {
diff --git a/org.eclipse.egit.core/src/org/eclipse/egit/core/internal/storage/GitFileRevision.java b/org.eclipse.egit.core/src/org/eclipse/egit/core/internal/storage/GitFileRevision.java
index d906657..77d53a9 100644
--- a/org.eclipse.egit.core/src/org/eclipse/egit/core/internal/storage/GitFileRevision.java
+++ b/org.eclipse.egit.core/src/org/eclipse/egit/core/internal/storage/GitFileRevision.java
@@ -33,7 +33,7 @@ public abstract class GitFileRevision extends FileRevision {
/**
* Obtain a file revision for a specific blob of an existing commit.
- *
+ *
* @param db
* the repository this commit was loaded out of, and that this
* file's blob should also be reachable through.
diff --git a/org.eclipse.egit.core/src/org/eclipse/egit/core/op/BranchOperation.java b/org.eclipse.egit.core/src/org/eclipse/egit/core/op/BranchOperation.java
index 7c50dff..6ee9a55 100644
--- a/org.eclipse.egit.core/src/org/eclipse/egit/core/op/BranchOperation.java
+++ b/org.eclipse.egit.core/src/org/eclipse/egit/core/op/BranchOperation.java
@@ -54,7 +54,7 @@ public class BranchOperation implements IWorkspaceRunnable {
private GitIndex index;
private Tree newTree;
-
+
private Commit oldCommit;
private Commit newCommit;
diff --git a/org.eclipse.egit.core/src/org/eclipse/egit/core/op/CloneOperation.java b/org.eclipse.egit.core/src/org/eclipse/egit/core/op/CloneOperation.java
index 57ea79b..9860c01 100644
--- a/org.eclipse.egit.core/src/org/eclipse/egit/core/op/CloneOperation.java
+++ b/org.eclipse.egit.core/src/org/eclipse/egit/core/op/CloneOperation.java
@@ -66,7 +66,7 @@ public class CloneOperation implements IRunnableWithProgress {
/**
* Create a new clone operation.
- *
+ *
* @param uri
* remote we should fetch from.
* @param allSelected
@@ -218,4 +218,4 @@ public class CloneOperation implements IRunnableWithProgress {
}
d.delete();
}
-} \ No newline at end of file
+}
diff --git a/org.eclipse.egit.core/src/org/eclipse/egit/core/op/ConnectProviderOperation.java b/org.eclipse.egit.core/src/org/eclipse/egit/core/op/ConnectProviderOperation.java
index a854418..33ccb21 100644
--- a/org.eclipse.egit.core/src/org/eclipse/egit/core/op/ConnectProviderOperation.java
+++ b/org.eclipse.egit.core/src/org/eclipse/egit/core/op/ConnectProviderOperation.java
@@ -35,7 +35,7 @@ public class ConnectProviderOperation implements IWorkspaceRunnable {
/**
* Create a new connection operation to execute within the workspace.
- *
+ *
* @param proj
* the project to connect to the Git team provider.
*/
diff --git a/org.eclipse.egit.core/src/org/eclipse/egit/core/op/DisconnectProviderOperation.java b/org.eclipse.egit.core/src/org/eclipse/egit/core/op/DisconnectProviderOperation.java
index 6f2b9ee..d672d59 100644
--- a/org.eclipse.egit.core/src/org/eclipse/egit/core/op/DisconnectProviderOperation.java
+++ b/org.eclipse.egit.core/src/org/eclipse/egit/core/op/DisconnectProviderOperation.java
@@ -34,7 +34,7 @@ public class DisconnectProviderOperation implements IWorkspaceRunnable {
/**
* Create a new disconnect operation.
- *
+ *
* @param projs
* the collection of {@link IProject}s which should be
* disconnected from the Git team provider, and returned to
diff --git a/org.eclipse.egit.core/src/org/eclipse/egit/core/op/ListRemoteOperation.java b/org.eclipse.egit.core/src/org/eclipse/egit/core/op/ListRemoteOperation.java
index 6963d75..cd73f01 100644
--- a/org.eclipse.egit.core/src/org/eclipse/egit/core/op/ListRemoteOperation.java
+++ b/org.eclipse.egit.core/src/org/eclipse/egit/core/op/ListRemoteOperation.java
@@ -102,4 +102,4 @@ public class ListRemoteOperation implements IRunnableWithProgress {
throw new IllegalStateException(
"Error occurred during remote repo listing, no refs available");
}
-} \ No newline at end of file
+}
diff --git a/org.eclipse.egit.core/src/org/eclipse/egit/core/op/ResetOperation.java b/org.eclipse.egit.core/src/org/eclipse/egit/core/op/ResetOperation.java
index 1b04663..b4ef211 100644
--- a/org.eclipse.egit.core/src/org/eclipse/egit/core/op/ResetOperation.java
+++ b/org.eclipse.egit.core/src/org/eclipse/egit/core/op/ResetOperation.java
@@ -54,11 +54,11 @@ public class ResetOperation implements IWorkspaceRunnable {
*/
HARD
}
-
+
private final Repository repository;
private final String refName;
private final ResetType type;
-
+
private Commit commit;
private Commit previousCommit;
private Tree newTree;
@@ -79,13 +79,13 @@ public class ResetOperation implements IWorkspaceRunnable {
public void run(IProgressMonitor monitor) throws CoreException {
monitor.beginTask("Performing " + type.toString().toLowerCase() + " reset to " + refName, 7);
-
+
mapObjects();
monitor.worked(1);
-
+
writeRef();
monitor.worked(1);
-
+
if (type != ResetType.SOFT) {
if (type == ResetType.MIXED)
resetIndex();
@@ -94,22 +94,22 @@ public class ResetOperation implements IWorkspaceRunnable {
writeIndex();
}
monitor.worked(1);
-
+
if (type == ResetType.HARD) {
checkoutIndex();
}
monitor.worked(1);
-
+
if (type != ResetType.SOFT) {
refreshIndex();
}
monitor.worked(1);
-
+
writeReflogs();
monitor.worked(1);
refreshProjects();
-
+
monitor.done();
}
@@ -160,7 +160,7 @@ public class ResetOperation implements IWorkspaceRunnable {
throw new TeamException("looking up commit " + commitId, e2);
}
}
-
+
try {
previousCommit = repository.mapCommit(repository.resolve(Constants.HEAD));
} catch (IOException e) {
@@ -210,7 +210,7 @@ public class ResetOperation implements IWorkspaceRunnable {
private void checkoutIndex() throws TeamException {
final File parentFile = repository.getWorkDir();
try {
- WorkDirCheckout workDirCheckout =
+ WorkDirCheckout workDirCheckout =
new WorkDirCheckout(repository, parentFile, index, newTree);
workDirCheckout.setFailOnConflict(false);
workDirCheckout.checkout();
@@ -226,9 +226,9 @@ public class ResetOperation implements IWorkspaceRunnable {
name = name.substring(11);
if (name.startsWith("refs/remotes/"))
name = name.substring(13);
-
+
String message = "reset --" + type.toString().toLowerCase() + " " + name;
-
+
RefLogWriter.writeReflog(repository, previousCommit.getCommitId(), commit.getCommitId(), message, reflogRelPath);
}
diff --git a/org.eclipse.egit.core/src/org/eclipse/egit/core/op/TrackOperation.java b/org.eclipse.egit.core/src/org/eclipse/egit/core/op/TrackOperation.java
index cd431a4..f2acf1b 100644
--- a/org.eclipse.egit.core/src/org/eclipse/egit/core/op/TrackOperation.java
+++ b/org.eclipse.egit.core/src/org/eclipse/egit/core/op/TrackOperation.java
@@ -50,7 +50,7 @@ public class TrackOperation implements IWorkspaceRunnable {
/**
* Create a new operation to track additional files/folders.
- *
+ *
* @param rsrcs
* collection of {@link IResource}s which should be added to the
* relevant Git repositories.
@@ -116,7 +116,7 @@ public class TrackOperation implements IWorkspaceRunnable {
} else {
Entry entry = index.add(rm.getWorkDir(), new File(rm.getWorkDir(),rm.getRepoRelativePath(toAdd)));
entry.setAssumeValid(false);
-
+
}
}
m.worked(200);
diff --git a/org.eclipse.egit.core/src/org/eclipse/egit/core/op/UntrackOperation.java b/org.eclipse.egit.core/src/org/eclipse/egit/core/op/UntrackOperation.java
index 39bd827..ff6863b 100644
--- a/org.eclipse.egit.core/src/org/eclipse/egit/core/op/UntrackOperation.java
+++ b/org.eclipse.egit.core/src/org/eclipse/egit/core/op/UntrackOperation.java
@@ -52,7 +52,7 @@ public class UntrackOperation implements IWorkspaceRunnable {
/**
* Create a new operation to stop tracking existing files/folders.
- *
+ *
* @param rsrcs
* collection of {@link IResource}s which should be removed from
* the relevant Git repositories.
diff --git a/org.eclipse.egit.core/src/org/eclipse/egit/core/op/UpdateOperation.java b/org.eclipse.egit.core/src/org/eclipse/egit/core/op/UpdateOperation.java
index 1120da9..fc80349 100644
--- a/org.eclipse.egit.core/src/org/eclipse/egit/core/op/UpdateOperation.java
+++ b/org.eclipse.egit.core/src/org/eclipse/egit/core/op/UpdateOperation.java
@@ -23,7 +23,7 @@ import org.eclipse.egit.core.internal.UpdateJob;
* <p>
* Accepts a collection of resources (files and/or directories) whose content
* should be updated in the corresponding Git repositories. Resources in the
- * collection can be associated with multiple repositories.
+ * collection can be associated with multiple repositories.
* </p>
*/
public class UpdateOperation implements IWorkspaceRunnable {
@@ -31,7 +31,7 @@ public class UpdateOperation implements IWorkspaceRunnable {
/**
* Create a new operation to update files/folders.
- *
+ *
* @param rsrcs
* collection of {@link IResource}s which should be added to the
* relevant Git repositories.
diff --git a/org.eclipse.egit.core/src/org/eclipse/egit/core/project/GitProjectData.java b/org.eclipse.egit.core/src/org/eclipse/egit/core/project/GitProjectData.java
index 32ac2f0..ab23327 100644
--- a/org.eclipse.egit.core/src/org/eclipse/egit/core/project/GitProjectData.java
+++ b/org.eclipse.egit.core/src/org/eclipse/egit/core/project/GitProjectData.java
@@ -106,7 +106,7 @@ public class GitProjectData {
* This is a no-op if <code>objectThatCares</code> has already been
* registered.
* </p>
- *
+ *
* @param objectThatCares
* the new listener to register. Must not be null.
*/
@@ -130,7 +130,7 @@ public class GitProjectData {
/**
* Notify registered {@link RepositoryChangeListener}s of a change.
- *
+ *
* @param which
* the repository which has had changes occur within it.
*/
diff --git a/org.eclipse.egit.core/src/org/eclipse/egit/core/project/RepositoryChangeListener.java b/org.eclipse.egit.core/src/org/eclipse/egit/core/project/RepositoryChangeListener.java
index 401400a..d07fb8e 100644
--- a/org.eclipse.egit.core/src/org/eclipse/egit/core/project/RepositoryChangeListener.java
+++ b/org.eclipse.egit.core/src/org/eclipse/egit/core/project/RepositoryChangeListener.java
@@ -20,7 +20,7 @@ package org.eclipse.egit.core.project;
public interface RepositoryChangeListener {
/**
* Invoked when a repository has had some or all of its contents change.
- *
+ *
* @param which
* the affected repository. Never null.
*/
diff --git a/org.eclipse.egit.core/src/org/eclipse/egit/core/project/RepositoryFinder.java b/org.eclipse.egit.core/src/org/eclipse/egit/core/project/RepositoryFinder.java
index c2fb20a..4b4956e 100644
--- a/org.eclipse.egit.core/src/org/eclipse/egit/core/project/RepositoryFinder.java
+++ b/org.eclipse.egit.core/src/org/eclipse/egit/core/project/RepositoryFinder.java
@@ -52,7 +52,7 @@ public class RepositoryFinder {
/**
* Create a new finder to locate Git repositories for a project.
- *
+ *
* @param p
* the project this new finder should locate the existing Git
* repositories of.
@@ -63,7 +63,7 @@ public class RepositoryFinder {
/**
* Run the search algorithm.
- *
+ *
* @param m
* a progress monitor to report feedback to; may be null.
* @return all found {@link RepositoryMapping} instances associated with the
diff --git a/org.eclipse.egit.core/src/org/eclipse/egit/core/project/RepositoryMapping.java b/org.eclipse.egit.core/src/org/eclipse/egit/core/project/RepositoryMapping.java
index 18238cc..2b7e874 100644
--- a/org.eclipse.egit.core/src/org/eclipse/egit/core/project/RepositoryMapping.java
+++ b/org.eclipse.egit.core/src/org/eclipse/egit/core/project/RepositoryMapping.java
@@ -152,7 +152,7 @@ public class RepositoryMapping {
/**
* Notify registered {@link RepositoryChangeListener}s of a change.
- *
+ *
* @see GitProjectData#addRepositoryChangeListener(RepositoryChangeListener)
*/
public void fireRepositoryChanged() {
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/Activator.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/Activator.java
index 8c61bfc..d9b05fa 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/Activator.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/Activator.java
@@ -98,7 +98,7 @@ public class Activator extends AbstractUIPlugin {
/**
* Instantiate an error exception.
- *
+ *
* @param message
* description of the error
* @param thr
@@ -112,7 +112,7 @@ public class Activator extends AbstractUIPlugin {
/**
* Log an error via the Eclipse logging routines.
- *
+ *
* @param message
* @param thr
* cause of error
@@ -135,7 +135,7 @@ public class Activator extends AbstractUIPlugin {
/**
* Log a debug message
- *
+ *
* @param what
* message to log
*/
@@ -147,7 +147,7 @@ public class Activator extends AbstractUIPlugin {
/**
* Get the theme used by this plugin.
- *
+ *
* @return our theme.
*/
public static ITheme getTheme() {
@@ -156,7 +156,7 @@ public class Activator extends AbstractUIPlugin {
/**
* Get a font known to this plugin.
- *
+ *
* @param id
* one of our THEME_* font preference ids (see
* {@link UIPreferences});
@@ -168,7 +168,7 @@ public class Activator extends AbstractUIPlugin {
/**
* Get a font known to this plugin, but with bold style applied over top.
- *
+ *
* @param id
* one of our THEME_* font preference ids (see
* {@link UIPreferences});
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/UIPreferences.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/UIPreferences.java
index d36df1a..1d874c4 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/UIPreferences.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/UIPreferences.java
@@ -76,7 +76,7 @@ public class UIPreferences {
/**
* Get the preference values associated with a fixed integer array.
- *
+ *
* @param prefs
* the store to read.
* @param key
@@ -99,7 +99,7 @@ public class UIPreferences {
/**
* Set the preference values associated with a fixed integer array.
- *
+ *
* @param prefs
* the store to read.
* @param key
@@ -120,7 +120,7 @@ public class UIPreferences {
/**
* Set the preference values associated with a fixed integer array.
- *
+ *
* @param prefs
* the store to read.
* @param key
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/BranchAction.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/BranchAction.java
index e8e1b17..ad09e8f 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/BranchAction.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/BranchAction.java
@@ -48,7 +48,7 @@ public class BranchAction extends RepositoryAction {
if (dialog.open() != IDialogConstants.OK_ID) {
return;
}
-
+
final String refName = dialog.getRefName();
try {
getTargetPart().getSite().getWorkbenchWindow().run(true, false,
@@ -62,7 +62,7 @@ public class BranchAction extends RepositoryAction {
ce.printStackTrace();
Display.getDefault().asyncExec(new Runnable() {
public void run() {
- handle(ce, "Error while switching branches", "Unable to switch branches");
+ handle(ce, "Error while switching branches", "Unable to switch branches");
}
});
}
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/CommitAction.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/CommitAction.java
index 445be3d..eb60f00 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/CommitAction.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/CommitAction.java
@@ -82,7 +82,7 @@ public class CommitAction extends RepositoryAction {
return;
}
}
-
+
if (files.isEmpty()) {
if (amendAllowed) {
boolean result = MessageDialog
@@ -276,8 +276,8 @@ public class CommitAction extends RepositoryAction {
index.write();
}
}
-
-
+
+
if (idxEntry != null) {
projTree.addFile(repoRelativePath);
TreeEntry newMember = projTree.findBlobMember(repoRelativePath);
@@ -387,7 +387,7 @@ public class CommitAction extends RepositoryAction {
}
return false;
}
-
+
private boolean isChanged(RepositoryMapping map, IFile resource) {
try {
Repository repository = map.getRepository();
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/CompareWithIndexAction.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/CompareWithIndexAction.java
index b7cecac..8956463 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/CompareWithIndexAction.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/CompareWithIndexAction.java
@@ -89,4 +89,4 @@ public class CompareWithIndexAction extends RepositoryAction {
return mapping != null;
}
-} \ No newline at end of file
+}
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/RepositoryAction.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/RepositoryAction.java
index e35e986..c3f418f 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/RepositoryAction.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/RepositoryAction.java
@@ -52,7 +52,7 @@ public abstract class RepositoryAction extends TeamAction {
* @param projects
* a list of projects
* @return the repositories that projects map to iff all projects are mapped
- */
+ */
protected Repository[] getRepositoriesFor(final IProject[] projects) {
Set<Repository> ret = new HashSet<Repository>();
for (IProject project : projects) {
@@ -63,11 +63,11 @@ public abstract class RepositoryAction extends TeamAction {
}
return ret.toArray(new Repository[ret.size()]);
}
-
+
/**
* List the projects with selected resources, if all projects are connected
* to a Git repository.
- *
+ *
* @return the tracked projects affected by the current resource selection
*/
public IProject[] getProjectsInRepositoryOfSelectedResources() {
@@ -97,7 +97,7 @@ public abstract class RepositoryAction extends TeamAction {
RepositoryMapping mapping = null;
for (IProject project : getSelectedProjects()) {
RepositoryMapping repositoryMapping = RepositoryMapping.getMapping(project);
- if (mapping == null)
+ if (mapping == null)
mapping = repositoryMapping;
if (repositoryMapping == null)
return null;
@@ -112,7 +112,7 @@ public abstract class RepositoryAction extends TeamAction {
MessageDialog.openError(getShell(), "Cannot Find Repository", "Could not find a repository associated with this project");
return null;
}
-
+
final Repository repository = mapping.getRepository();
return repository;
}
@@ -138,4 +138,4 @@ public abstract class RepositoryAction extends TeamAction {
// Re-make isEnabled abstract
@Override
abstract public boolean isEnabled();
-} \ No newline at end of file
+}
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/ResetAction.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/ResetAction.java
index a6ef755..1245b14 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/ResetAction.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/ResetAction.java
@@ -36,7 +36,7 @@ public class ResetAction extends RepositoryAction {
final Repository repository = getRepository(true);
if (repository == null)
return;
-
+
if (!repository.getRepositoryState().canResetHead()) {
MessageDialog.openError(getShell(), "Cannot reset HEAD now",
"Repository state:"
@@ -69,7 +69,7 @@ public class ResetAction extends RepositoryAction {
MessageDialog.openError(getShell(),"Reset failed", e.getMessage());
}
}
-
+
}
@Override
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/Track.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/Track.java
index fe5f14b..fb6c681 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/Track.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/Track.java
@@ -22,7 +22,7 @@ import org.eclipse.jface.operation.IRunnableWithProgress;
/**
* An action to add resources to the Git repository.
- *
+ *
* @see TrackOperation
*/
public class Track extends RepositoryAction {
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/clone/CloneDestinationPage.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/clone/CloneDestinationPage.java
index 640bde9..71572f3 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/clone/CloneDestinationPage.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/clone/CloneDestinationPage.java
@@ -343,4 +343,4 @@ class CloneDestinationPage extends WizardPage {
public boolean canFlipToNextPage() {
return super.canFlipToNextPage() && showImportWizard.getSelection();
}
-} \ No newline at end of file
+}
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/decorators/DecoratableResourceAdapter.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/decorators/DecoratableResourceAdapter.java
index a989a95..f83134c 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/decorators/DecoratableResourceAdapter.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/decorators/DecoratableResourceAdapter.java
@@ -406,4 +406,4 @@ class DecoratableResourceAdapter implements IDecoratableResource {
public boolean isAssumeValid() {
return assumeValid;
}
-} \ No newline at end of file
+}
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitNavigationListener.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitNavigationListener.java
index f46f1f3..299ed5c 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitNavigationListener.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitNavigationListener.java
@@ -13,7 +13,7 @@ import org.eclipse.jgit.revwalk.RevCommit;
interface CommitNavigationListener {
/**
* Show the requested commit.
- *
+ *
* @param c
* the commit that the caller is displaying.
*/
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/GitHistoryPage.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/GitHistoryPage.java
index 2342765..7853a49 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/GitHistoryPage.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/GitHistoryPage.java
@@ -97,7 +97,7 @@ public class GitHistoryPage extends HistoryPage implements RepositoryListener {
/**
* Determine if the input can be shown in this viewer.
- *
+ *
* @param object
* an object that is hopefully of type ResourceList or IResource,
* but may be anything (including null).
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/preferences/StorageSizeFieldEditor.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/preferences/StorageSizeFieldEditor.java
index 1760fff..8da8a99 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/preferences/StorageSizeFieldEditor.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/preferences/StorageSizeFieldEditor.java
@@ -53,7 +53,7 @@ class StorageSizeFieldEditor extends StringFieldEditor {
/**
* Verify this value is acceptable.
- *
+ *
* @param number
* the value parsed from the input.
* @return true if the value is OK; false otherwise.
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/push/RefUpdateContentProvider.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/push/RefUpdateContentProvider.java
index d7e4173..db9cd1f 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/push/RefUpdateContentProvider.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/push/RefUpdateContentProvider.java
@@ -64,4 +64,4 @@ class RefUpdateContentProvider implements IStructuredContentProvider {
public void dispose() {
// nothing to dispose
}
-} \ No newline at end of file
+}