Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2020-07-23 11:10:04 +0000
committerAlexander Kurtakov2020-07-23 20:21:57 +0000
commit728609b6317eb098445386b86725a9b498e57aeb (patch)
tree5d0cfd0db64afc5d8ae861167716d55b45c55eb4
parent40af655b5da9e90e24c594816499baa5f2ba3fc5 (diff)
downloadeclipse.platform.ui-728609b6317eb098445386b86725a9b498e57aeb.tar.gz
eclipse.platform.ui-728609b6317eb098445386b86725a9b498e57aeb.tar.xz
eclipse.platform.ui-728609b6317eb098445386b86725a9b498e57aeb.zip
Bug 565208: Remove calls to Color.dispose
Remove Color#dispose from bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/splash/BasicSplashHandler.java Change-Id: Ie084addf0d88bd49c54e446d5be8bbe3669227cb Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/splash/BasicSplashHandler.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/splash/BasicSplashHandler.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/splash/BasicSplashHandler.java
index 8af0357d090..b0c5dae7b37 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/splash/BasicSplashHandler.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/splash/BasicSplashHandler.java
@@ -165,8 +165,6 @@ public abstract class BasicSplashHandler extends AbstractSplashHandler {
protected void setForeground(RGB foregroundRGB) {
if (monitor != null)
return;
- if (this.foreground != null)
- this.foreground.dispose();
this.foreground = new Color(getSplash().getShell().getDisplay(), foregroundRGB);
}

Back to the top