Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2020-11-03 08:53:18 +0000
committerAlexander Kurtakov2020-11-04 10:51:34 +0000
commit06c54b81431309ec789ee6c3b64c53d2194e1de6 (patch)
treee508737a2972690ecf656ad9d9f949a7f6f64cc9
parentf87d51092636e16954b26a1b824bbbd6d84fc32d (diff)
downloadeclipse.platform.team-I20201128-0300.tar.gz
eclipse.platform.team-I20201128-0300.tar.xz
eclipse.platform.team-I20201128-0300.zip
It is not necessary anymore to call dispose on Colors since Bug 563018. Change-Id: I10889d1f766e40416052c9d95265a3a58baf0704 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r--examples/org.eclipse.compare.examples.xml/src/org/eclipse/compare/examples/xml/ui/MessageLine.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/org.eclipse.compare.examples.xml/src/org/eclipse/compare/examples/xml/ui/MessageLine.java b/examples/org.eclipse.compare.examples.xml/src/org/eclipse/compare/examples/xml/ui/MessageLine.java
index 61564954c..f44338a9c 100644
--- a/examples/org.eclipse.compare.examples.xml/src/org/eclipse/compare/examples/xml/ui/MessageLine.java
+++ b/examples/org.eclipse.compare.examples.xml/src/org/eclipse/compare/examples/xml/ui/MessageLine.java
@@ -115,7 +115,6 @@ public class MessageLine extends CLabel {
} else {
if (fErrorColor == null) {
fErrorColor= new Color(getDisplay(), fErrorRGB);
- addDisposeListener(e -> fErrorColor.dispose());
}
setForeground(fErrorColor);
setText(message);

Back to the top