aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeanderson Candido2014-04-26 16:31:50 (EDT)
committerLars Vogel2014-04-28 00:42:31 (EDT)
commiteb715d5602d518231277f645e3217faa73159fee (patch)
tree80d3e9984ce591d7d91c428235568f35d1451c1d
parentbc7c5eaf84573cd45d325f0f62f2d5009d07e6da (diff)
downloadeclipse.platform.ui-eb715d5602d518231277f645e3217faa73159fee.zip
eclipse.platform.ui-eb715d5602d518231277f645e3217faa73159fee.tar.gz
eclipse.platform.ui-eb715d5602d518231277f645e3217faa73159fee.tar.bz2
430873 - Cleanup JFace code in preparation for GSocrefs/changes/16/25616/3
AbstractFieldAssistTestCase - Removed unnecessary comments from test and added qualifier "final" to prevend undesired override. Change-Id: I8e4bffeb9064e3106b31d2f30cdbf7cb84f34fe5 Signed-off-by: Jeanderson Candido <jeandersonbc@gmail.com>
-rw-r--r--tests/org.eclipse.ui.tests/Eclipse JFace Tests/org/eclipse/jface/tests/fieldassist/AbstractFieldAssistTestCase.java14
1 files changed, 4 insertions, 10 deletions
diff --git a/tests/org.eclipse.ui.tests/Eclipse JFace Tests/org/eclipse/jface/tests/fieldassist/AbstractFieldAssistTestCase.java b/tests/org.eclipse.ui.tests/Eclipse JFace Tests/org/eclipse/jface/tests/fieldassist/AbstractFieldAssistTestCase.java
index d6f01fa..facedf4 100644
--- a/tests/org.eclipse.ui.tests/Eclipse JFace Tests/org/eclipse/jface/tests/fieldassist/AbstractFieldAssistTestCase.java
+++ b/tests/org.eclipse.ui.tests/Eclipse JFace Tests/org/eclipse/jface/tests/fieldassist/AbstractFieldAssistTestCase.java
@@ -37,11 +37,8 @@ public abstract class AbstractFieldAssistTestCase extends TestCase {
*/
private int originalShellCount;
- /**
- * Sets up this field assist test case. Subclasses should extend but not
- * override.
- */
- protected void setUp() throws Exception {
+ @Override
+ final protected void setUp() throws Exception {
super.setUp();
Display display = getDisplay();
anotherShell = new Shell(display);
@@ -53,11 +50,8 @@ public abstract class AbstractFieldAssistTestCase extends TestCase {
assertNotNull(window);
}
- /**
- * Tears down this field assist test case. Subclasses should extend but not
- * override.
- */
- protected void tearDown() throws Exception {
+ @Override
+ final protected void tearDown() throws Exception {
if (window != null) {
spinEventLoop();
}