Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_ExpandBar.java')
-rw-r--r--tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_ExpandBar.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_ExpandBar.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_ExpandBar.java
index 749e780978..a9aa7447a0 100644
--- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_ExpandBar.java
+++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_ExpandBar.java
@@ -52,7 +52,7 @@ public void test_addExpandListenerLorg_eclipse_swt_events_ExpandListener() {
}
public void itemExpanded(ExpandEvent e) {
listenerCalled[0] = true;
- };
+ }
};
try {
@@ -92,10 +92,9 @@ public void test_ConstructorLorg_eclipse_swt_widgets_CompositeI() {
public void test_getItemCount() {
int number = 10;
- ExpandItem item;
for (int i = 0; i < number; i++) {
assertTrue(":a:" + i, expandBar.getItemCount() == i);
- item = new ExpandItem(expandBar, 0);
+ new ExpandItem(expandBar, 0);
}
}

Back to the top