summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorTomasz Zarna2011-09-01 06:48:31 (EDT)
committer Tomasz Zarna2011-09-01 06:48:31 (EDT)
commitbeba2eac053800411c5b7b93c05aa72d044fd65d (patch)
tree417e2f074e3d0c99d2962b7e82f93680d103b4ff
parent9ad9c1df3dac11cfe22f2bffc95c0252cbdda4d3 (diff)
downloadegit-beba2eac053800411c5b7b93c05aa72d044fd65d.zip
egit-beba2eac053800411c5b7b93c05aa72d044fd65d.tar.gz
egit-beba2eac053800411c5b7b93c05aa72d044fd65d.tar.bz2
Spelling errors in SynchronizeWithActionHandler refs/changes/04/4104/1
Is 'entitys', should be 'entities'. Change-Id: I9f7f5b67b06aa336ead4e10a5992a1d53862ea1f
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/SynchronizeWithActionHandler.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/SynchronizeWithActionHandler.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/SynchronizeWithActionHandler.java
index 3aebd14..e588218 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/SynchronizeWithActionHandler.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/SynchronizeWithActionHandler.java
@@ -64,9 +64,9 @@ public class SynchronizeWithActionHandler extends RepositoryActionHandler {
GitSynchronizeDataSet gsdSet = new GitSynchronizeDataSet();
for (Repository repo : repos) {
try {
- List<SyncRepoEntity> syncRepoEntitys = createSyncRepoEntitys(repo);
+ List<SyncRepoEntity> syncRepoEntities = createSyncRepoEntities(repo);
SelectSynchronizeResourceDialog dialog = new SelectSynchronizeResourceDialog(
- getShell(event), repo.getDirectory(), syncRepoEntitys);
+ getShell(event), repo.getDirectory(), syncRepoEntities);
if (dialog.open() != IDialogConstants.OK_ID)
return null;
@@ -85,18 +85,18 @@ public class SynchronizeWithActionHandler extends RepositoryActionHandler {
return null;
}
- private List<SyncRepoEntity> createSyncRepoEntitys(Repository repo)
+ private List<SyncRepoEntity> createSyncRepoEntities(Repository repo)
throws URISyntaxException, IOException {
RefDatabase refDatabase = repo.getRefDatabase();
List<RemoteConfig> remoteConfigs = getRemoteConfigs(repo);
- List<SyncRepoEntity> syncRepoEntitys = new ArrayList<SyncRepoEntity>();
+ List<SyncRepoEntity> syncRepoEntities = new ArrayList<SyncRepoEntity>();
- syncRepoEntitys.add(getLocalSyncRepo(repo));
- syncRepoEntitys.add(getTagsSyncRepo(repo));
+ syncRepoEntities.add(getLocalSyncRepo(repo));
+ syncRepoEntities.add(getTagsSyncRepo(repo));
for (RemoteConfig rc : remoteConfigs)
- syncRepoEntitys.add(getRemoteSyncRepo(refDatabase, rc));
+ syncRepoEntities.add(getRemoteSyncRepo(refDatabase, rc));
- return syncRepoEntitys;
+ return syncRepoEntities;
}
private List<RemoteConfig> getRemoteConfigs(Repository repo)