Author: scabanovich
Date: 2012-10-17 13:52:07 -0400 (Wed, 17 Oct 2012)
New Revision: 44562
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/JsfUiImages.java
Log:
JBIDE-12866
https://issues.jboss.org/browse/JBIDE-12866
ModelUIImages modified.
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/JsfUiImages.java
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/JsfUiImages.java 2012-10-17
17:37:52 UTC (rev 44561)
+++
trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/JsfUiImages.java 2012-10-17
17:52:07 UTC (rev 44562)
@@ -41,10 +41,7 @@
}
public static ImageDescriptor getImageDescriptor(String key) {
- if(JsfUiPlugin.isDebugEnabled()) {
- JsfUiPlugin.getPluginLog().logInfo("Create imageDescriptor for key '" +
key + "'."); //$NON-NLS-1$ //$NON-NLS-2$
- }
- return INSTANCE.createImageDescriptor(key);
+ return INSTANCE.getOrCreateImageDescriptor(key);
}
/**