diff options
author | Tomasz Zarna | 2011-09-01 10:48:31 +0000 |
---|---|---|
committer | Tomasz Zarna | 2011-09-01 10:48:31 +0000 |
commit | beba2eac053800411c5b7b93c05aa72d044fd65d (patch) | |
tree | 417e2f074e3d0c99d2962b7e82f93680d103b4ff | |
parent | 9ad9c1df3dac11cfe22f2bffc95c0252cbdda4d3 (diff) | |
download | egit-beba2eac053800411c5b7b93c05aa72d044fd65d.tar.gz egit-beba2eac053800411c5b7b93c05aa72d044fd65d.tar.xz egit-beba2eac053800411c5b7b93c05aa72d044fd65d.zip |
Spelling errors in SynchronizeWithActionHandler
Is 'entitys', should be 'entities'.
Change-Id: I9f7f5b67b06aa336ead4e10a5992a1d53862ea1f
-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) |