Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAlexander Kurtakov2017-12-05 02:47:22 -0500
committerAlexander Kurtakov2017-12-08 07:46:06 -0500
commitca572103a8b03857870b6fd5a19b9df2166883f5 (patch)
treebd18e81e89489c99b5218f13959c3d807e1e8dc9 /tests
parent0998f3f4251de4c14b95810f9f5534eb46ad36e8 (diff)
downloadeclipse.platform.swt-ca572103a8b03857870b6fd5a19b9df2166883f5.tar.gz
eclipse.platform.swt-ca572103a8b03857870b6fd5a19b9df2166883f5.tar.xz
eclipse.platform.swt-ca572103a8b03857870b6fd5a19b9df2166883f5.zip
Remove useless code.
Useless suppress warnings and semicolon. Change-Id: I23b782aae94b774c9a9b38f89f541c659c4c5566 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/org.eclipse.swt.tests.gtk/Bug Snippets/org/eclipse/swt/tests/gtk/snippets/Bug526083_MenuGetBounds.java1
-rw-r--r--tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_StyledTextLineSpacingProvider.java2
2 files changed, 1 insertions, 2 deletions
diff --git a/tests/org.eclipse.swt.tests.gtk/Bug Snippets/org/eclipse/swt/tests/gtk/snippets/Bug526083_MenuGetBounds.java b/tests/org.eclipse.swt.tests.gtk/Bug Snippets/org/eclipse/swt/tests/gtk/snippets/Bug526083_MenuGetBounds.java
index 558ee69839..4dff95e40d 100644
--- a/tests/org.eclipse.swt.tests.gtk/Bug Snippets/org/eclipse/swt/tests/gtk/snippets/Bug526083_MenuGetBounds.java
+++ b/tests/org.eclipse.swt.tests.gtk/Bug Snippets/org/eclipse/swt/tests/gtk/snippets/Bug526083_MenuGetBounds.java
@@ -25,7 +25,6 @@ import org.eclipse.swt.widgets.Widget;
* Expected results: The "getBounds" line should have the same values as the "correct bounds" line
* GTK Version(s): GTK3
*/
-@SuppressWarnings("restriction")
public class Bug526083_MenuGetBounds {
public static void main(String[] args) {
diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_StyledTextLineSpacingProvider.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_StyledTextLineSpacingProvider.java
index 10816387f4..375895083a 100644
--- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_StyledTextLineSpacingProvider.java
+++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_StyledTextLineSpacingProvider.java
@@ -38,7 +38,7 @@ public class Test_org_eclipse_swt_custom_StyledTextLineSpacingProvider {
return null;
}
}
- };
+ }
Shell shell;
StyledText styledText;

Back to the top