Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Keppler2019-03-17 04:33:13 -0400
committerMichael Keppler2019-03-17 14:59:48 -0400
commitb12fa8cdf395ccfd369ee94efe418c91316b4e7b (patch)
tree71b1096410b1e7a037adfe3967f2a2522ae2f7a7 /org.eclipse.egit.ui.test/src/org
parentc525a0bf4583713b07741c2b44c5f0a7691c3aa4 (diff)
downloadegit-b12fa8cdf395ccfd369ee94efe418c91316b4e7b.tar.gz
egit-b12fa8cdf395ccfd369ee94efe418c91316b4e7b.tar.xz
egit-b12fa8cdf395ccfd369ee94efe418c91316b4e7b.zip
Remove unnecessary @SuppressWarnings
Checked that they are not necessary in 4.6, 4.10 and 4.11-staging. Change-Id: I8e98ccb6591e211a135087a51f13d3414573d7cd Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
Diffstat (limited to 'org.eclipse.egit.ui.test/src/org')
-rw-r--r--org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/common/RepoRemoteBranchesPage.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/common/RepoRemoteBranchesPage.java b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/common/RepoRemoteBranchesPage.java
index 57117080a..35e57beb3 100644
--- a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/common/RepoRemoteBranchesPage.java
+++ b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/common/RepoRemoteBranchesPage.java
@@ -16,8 +16,8 @@ import static org.eclipse.swtbot.swt.finder.SWTBotAssert.assertNotEnabled;
import static org.eclipse.swtbot.swt.finder.matchers.WidgetMatcherFactory.allOf;
import static org.eclipse.swtbot.swt.finder.matchers.WidgetMatcherFactory.widgetOfType;
import static org.eclipse.swtbot.swt.finder.matchers.WidgetMatcherFactory.withText;
-import static org.eclipse.swtbot.swt.finder.waits.Conditions.widgetIsEnabled;
import static org.eclipse.swtbot.swt.finder.waits.Conditions.waitForWidget;
+import static org.eclipse.swtbot.swt.finder.waits.Conditions.widgetIsEnabled;
import org.eclipse.swt.widgets.Text;
import org.eclipse.swtbot.eclipse.finder.SWTWorkbenchBot;
@@ -59,7 +59,7 @@ public class RepoRemoteBranchesPage {
}
}
- @SuppressWarnings({ "unchecked", "rawtypes" })
+ @SuppressWarnings({ "unchecked" })
public void assertErrorMessage(String errorMessage) {
bot.waitUntil(
waitForWidget(allOf(widgetOfType(Text.class), withText(" "

Back to the top