commit | a64d4922ed2f7982e3fbdada2a66b66fe0e8f850 | [log] [tgz] |
---|---|---|
author | Curtis D'Entremont <curtispd> | Mon Mar 05 19:18:14 2007 +0000 |
committer | Curtis D'Entremont <curtispd> | Mon Mar 05 19:18:14 2007 +0000 |
tree | 04f9990773558c5f8ed7d0701aa87efdfe7a05e5 | |
parent | d3651b1683fc709231cc0d086ea579a88172b53f [diff] |
176309 [Forms] NPE in FormColors.dispose
diff --git a/bundles/org.eclipse.ui.forms/src/org/eclipse/ui/forms/widgets/FormToolkit.java b/bundles/org.eclipse.ui.forms/src/org/eclipse/ui/forms/widgets/FormToolkit.java index 113a4b2..6bdcf23 100644 --- a/bundles/org.eclipse.ui.forms/src/org/eclipse/ui/forms/widgets/FormToolkit.java +++ b/bundles/org.eclipse.ui.forms/src/org/eclipse/ui/forms/widgets/FormToolkit.java
@@ -222,7 +222,8 @@ /** * Creates a toolkit that will use the provided (shared) colors. The toolkit - * will <b>not </b> dispose the provided colors. + * will dispose the colors if and only if they are <b>not</b> marked as + * shared via the <code>markShared()</code> method. * * @param colors * the shared colors