[jbosstools-issues] [JBoss JIRA] (JBIDE-10242) org.jboss.tools.common.model.util.ModelImages has image leaks

Vitali Yemialyanchyk (Created) (JIRA) jira-events at lists.jboss.org
Thu Nov 24 07:59:40 EST 2011


org.jboss.tools.common.model.util.ModelImages has image leaks
-------------------------------------------------------------

                 Key: JBIDE-10242
                 URL: https://issues.jboss.org/browse/JBIDE-10242
             Project: Tools (JBoss Tools)
          Issue Type: Sub-task
          Components: common/jst/core
    Affects Versions: 3.3.0.M4
            Reporter: Vitali Yemialyanchyk
            Assignee: Alexey Kazakov


from line 33:
{code}
	public static Image getImage(String key) {
		return instance.createImageDescriptor(key).createImage();
	}
{code}
try to inspect Call Hierarchy of the function - there are a lot of places with Image leak here.
imo, getImage is not correct name here -> should be createImage in minimum, maximum is necessary to change logic.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list