diff options
author | Dariusz Luksza | 2011-09-01 10:54:56 +0000 |
---|---|---|
committer | Code Review | 2011-09-01 10:54:56 +0000 |
commit | 605b4e3d698cca795483ba9d9714f7a20a8a6959 (patch) | |
tree | 519132db9db2b3a736e997226ac49b7da3bc9bc4 | |
parent | f74feccf382015dd24af3d1597a1833dc653549e (diff) | |
parent | beba2eac053800411c5b7b93c05aa72d044fd65d (diff) | |
download | egit-605b4e3d698cca795483ba9d9714f7a20a8a6959.tar.gz egit-605b4e3d698cca795483ba9d9714f7a20a8a6959.tar.xz egit-605b4e3d698cca795483ba9d9714f7a20a8a6959.zip |
Merge "Spelling errors in SynchronizeWithActionHandler "
-rw-r--r-- | org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/SynchronizeWithActionHandler.java | 16 |
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 3aebd14281..e5882183b6 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) |