File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/internal/themes
tests/org.eclipse.ui.tests Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1414package org .eclipse .ui .internal .themes ;
1515
1616import org .eclipse .core .runtime .IStatus ;
17+ import org .eclipse .core .runtime .Status ;
1718import org .eclipse .e4 .ui .internal .css .swt .definition .IColorDefinitionOverridable ;
1819import org .eclipse .jface .resource .DataFormatException ;
1920import org .eclipse .swt .graphics .RGB ;
2021import org .eclipse .ui .IPluginContribution ;
21- import org .eclipse .ui .internal .misc .StatusUtil ;
2222import org .eclipse .ui .statushandlers .StatusManager ;
2323import org .eclipse .ui .themes .ColorUtil ;
2424
@@ -111,8 +111,8 @@ public RGB getValue() {
111111 parsedValue = ColorUtil .getColorValue (rawValue );
112112 } catch (DataFormatException e ) {
113113 parsedValue = DEFAULT_COLOR_VALUE ;
114- IStatus status = StatusUtil . newStatus ( IStatus . WARNING ,
115- "Could not parse value for theme color " + getId (), e ); //$NON-NLS-1$
114+ IStatus status = Status
115+ . warning ( "Could not parse value for theme color " + getId () + ": \" " + rawValue + " \" " ); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3 $
116116 StatusManager .getManager ().handle (status , StatusManager .LOG );
117117 }
118118 }
Original file line number Diff line number Diff line change 26212621 </colorDefinition >
26222622 <colorDefinition
26232623 label =" badColor3"
2624- value =" 0,0, 1x "
2624+ value =" 0,0, 1IntentionalBadColor3inorg.eclipse.ui.tests/plugin.xml "
26252625 id =" badColor3" >
26262626 </colorDefinition >
26272627 <fontDefinition
You can’t perform that action at this time.
0 commit comments