Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2020-07-14 14:15:18 +0000
committerLars Vogel2020-07-14 14:15:18 +0000
commit26bc9518ecf7c948c94034f93b369730ce24ee73 (patch)
treee5b296020372762805a5a13348bf9a28bb729e3a
parentdf9297cf8536bdaa582eed3649065e2323ea791e (diff)
downloadeclipse.platform.debug-I20200722-0610.tar.gz
eclipse.platform.debug-I20200722-0610.tar.xz
eclipse.platform.debug-I20200722-0610.zip
As these calls are no longer needed, remove the calls and related code around such dispose that is also now redundant. Change-Id: I8e2e690bc54f02321a761136cd2fe904025e6662
-rw-r--r--org.eclipse.debug.tests/src/org/eclipse/debug/tests/console/TextConsoleViewerTest.java17
1 files changed, 0 insertions, 17 deletions
diff --git a/org.eclipse.debug.tests/src/org/eclipse/debug/tests/console/TextConsoleViewerTest.java b/org.eclipse.debug.tests/src/org/eclipse/debug/tests/console/TextConsoleViewerTest.java
index 2f775f33a..696bc6357 100644
--- a/org.eclipse.debug.tests/src/org/eclipse/debug/tests/console/TextConsoleViewerTest.java
+++ b/org.eclipse.debug.tests/src/org/eclipse/debug/tests/console/TextConsoleViewerTest.java
@@ -224,23 +224,6 @@ public class TextConsoleViewerTest extends AbstractDebugTest {
// if this happened the method may have be renamed or moved
throw e;
}
- finally {
- if (colorR != null) {
- colorR.dispose();
- }
- if (colorG != null) {
- colorG.dispose();
- }
- if (colorB != null) {
- colorB.dispose();
- }
- if (colorK != null) {
- colorK.dispose();
- }
- if (colorW != null) {
- colorW.dispose();
- }
- }
}
/**

Back to the top