Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2020-09-14 10:33:18 +0000
committerAlexander Kurtakov2020-09-15 10:59:16 +0000
commitb8bfd473c0efbbf480772233c12aaad972860169 (patch)
tree77e5c3e1b66dbb0113d6a377f1744009ac7d0c44
parent29c8bc63990462ce36aaa55ee6ba84de091035e7 (diff)
downloadeclipse.platform.ua-b8bfd473c0efbbf480772233c12aaad972860169.tar.gz
eclipse.platform.ua-b8bfd473c0efbbf480772233c12aaad972860169.tar.xz
eclipse.platform.ua-b8bfd473c0efbbf480772233c12aaad972860169.zip
Remove dispose calls on colors in CheatSheetPage
It is not necessary anymore to call dispose on Colors since Bug 563018. Change-Id: Ia493fc967288ea8421a5404d6e88a6dcca9aa6cd Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r--org.eclipse.ui.cheatsheets/src/org/eclipse/ui/internal/cheatsheets/views/CheatSheetPage.java11
1 files changed, 0 insertions, 11 deletions
diff --git a/org.eclipse.ui.cheatsheets/src/org/eclipse/ui/internal/cheatsheets/views/CheatSheetPage.java b/org.eclipse.ui.cheatsheets/src/org/eclipse/ui/internal/cheatsheets/views/CheatSheetPage.java
index 557e1b901..36e330c7a 100644
--- a/org.eclipse.ui.cheatsheets/src/org/eclipse/ui/internal/cheatsheets/views/CheatSheetPage.java
+++ b/org.eclipse.ui.cheatsheets/src/org/eclipse/ui/internal/cheatsheets/views/CheatSheetPage.java
@@ -121,17 +121,6 @@ public class CheatSheetPage extends Page implements IMenuContributor {
@Override
public void dispose() {
super.dispose();
-
- if (getInactiveColor1() != null)
- getInactiveColor1().dispose();
- if (getInactiveColor2() != null)
- getInactiveColor2().dispose();
-
- if (activeColor != null)
- activeColor.dispose();
-
- if (introColor != null)
- introColor.dispose();
inactiveColor1 = null;
inactiveColor2 = null;
activeColor = null;

Back to the top