Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2020-07-23 05:31:00 -0400
committerLars Vogel2020-07-24 08:19:27 -0400
commit5a6e65c6a228ae10bdf9145c21a744c7ab8d9c25 (patch)
tree8506a6c849ce248c73d3ddea97a149ecd9859edb
parentf2b57cdd13ddfaaf646e841b9b187d71ea7ba8a2 (diff)
downloadeclipse.platform.text-I20200726-1800.tar.gz
eclipse.platform.text-I20200726-1800.tar.xz
eclipse.platform.text-I20200726-1800.zip
Change-Id: I71d9f69b301d2ce766db8cb2acb8329248cd521f Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r--org.eclipse.jface.text/src/org/eclipse/jface/text/source/ISharedTextColors.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/org.eclipse.jface.text/src/org/eclipse/jface/text/source/ISharedTextColors.java b/org.eclipse.jface.text/src/org/eclipse/jface/text/source/ISharedTextColors.java
index a5095900b..cdc122275 100644
--- a/org.eclipse.jface.text/src/org/eclipse/jface/text/source/ISharedTextColors.java
+++ b/org.eclipse.jface.text/src/org/eclipse/jface/text/source/ISharedTextColors.java
@@ -38,7 +38,11 @@ public interface ISharedTextColors {
Color getColor(RGB rgb);
/**
- * Tells this object to dispose all its managed colors.
+ * Tells this object to dispose all its managed objects- Note that colors do not need dispose
+ * anymore
+ *
*/
- void dispose();
+ default void dispose() {
+ // nothing to do anymore as colors do not require disposal
+ }
}

Back to the top