[jbosstools-issues] [JBoss JIRA] (JBIDE-10222) VpeController has resource leaks
Vitali Yemialyanchyk (Created) (JIRA)
jira-events at lists.jboss.org
Wed Nov 23 07:33:40 EST 2011
VpeController has resource leaks
--------------------------------
Key: JBIDE-10222
URL: https://issues.jboss.org/browse/JBIDE-10222
Project: Tools (JBoss Tools)
Issue Type: Sub-task
Components: Visual Page Editor core
Affects Versions: 3.3.0.M4
Reporter: Vitali Yemialyanchyk
Assignee: Yahor Radtsevich
line 1664:
{code}
Color bckgColor = new Color(tip.getDisplay(), 255, 250, 236);
{code}
line 1701:
{code}
Color color = new Color(tipControlHeaderText.getDisplay(), 201,
51, 40);
{code}
line 1747:
{code}
Color color = new Color(tipControlHeaderText
.getDisplay(), 42, 148, 0);
{code}
VpeDropWindow has in line 52:
{code}
static final Color BACKGROUND_COLOR = new Color(null, 0xff, 0xff, 0xcd);
{code}
- generally is not a leak here, but a better way to store RGB value and create color and dispose it
--
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