[
https://issues.jboss.org/browse/JBIDE-10016?page=com.atlassian.jira.plugi...
]
Yahor Radtsevich commented on JBIDE-10016:
------------------------------------------
*Note:* I did not review [^JBIDE-10016_20111025.patch] completely yet, but the following
change seems to be redundant, since there is only one thread, and synchronization is not
necessary:
{code:title=VpeController.java}
/**
* @return the changeEvents
*/
public List<VpeEventBean> getChangeEvents() {
if (changeEvents == null) {
- changeEvents = new LinkedList<VpeEventBean>();
+ changeEvents = Collections.synchronizedList(new LinkedList<VpeEventBean>());
}
return changeEvents;
}
{code}
NullPointerException in VPE when an attribute is intensively changed
--------------------------------------------------------------------
Key: JBIDE-10016
URL:
https://issues.jboss.org/browse/JBIDE-10016
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor core
Reporter: Yahor Radtsevich
Assignee: Yahor Radtsevich
Attachments: JBIDE-10016_20111025.patch
--
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