summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorTomasz Zarna2012-02-29 10:30:37 (EST)
committer Tomasz Zarna2012-02-29 10:30:37 (EST)
commitb896f2f2b85d161bd6fedf7e3424ea4e08abb7e6 (patch)
tree9ebcc017faca89b2ac4477aeb5ac8119bfc7034c
parent8cd38faca85662d839f72cf8c460d87020ee34a7 (diff)
downloadegit-b896f2f2b85d161bd6fedf7e3424ea4e08abb7e6.zip
egit-b896f2f2b85d161bd6fedf7e3424ea4e08abb7e6.tar.gz
egit-b896f2f2b85d161bd6fedf7e3424ea4e08abb7e6.tar.bz2
Typo in RepoPropertiesPage fail messagerefs/changes/85/5185/1
-rw-r--r--org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/common/RepoPropertiesPage.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/common/RepoPropertiesPage.java b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/common/RepoPropertiesPage.java
index 21c094a..e3e43f5 100644
--- a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/common/RepoPropertiesPage.java
+++ b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/common/RepoPropertiesPage.java
@@ -51,13 +51,12 @@ public class RepoPropertiesPage {
public void setPushDestination(String destination) {
SWTBotCombo destinationCombo = bot.comboBox();
String[] items = destinationCombo.items();
- for (int i = 0; i < items.length; i++) {
+ for (int i = 0; i < items.length; i++)
if (items[i].startsWith(destination)) {
destinationCombo.setSelection(i);
return;
}
- }
- fail("ould not find destination " + destination);
+ fail("Could not find destination " + destination);
}
@SuppressWarnings("boxing")