Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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