[
https://issues.apache.org/jira/browse/VELOCITY-607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jarkko Viinamäki updated VELOCITY-607:
--
Attachment: velocity-1.6-dev-macro-performance-IDEAS-v2.1.patch
Some cleanup and
[
https://issues.apache.org/jira/browse/VELOCITY-607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jarkko Viinamäki updated VELOCITY-607:
--
Attachment: (was: velocity-1.6-dev-macro-performance-IDEAS-v2.patch)
Runtime
[
https://issues.apache.org/jira/browse/VELOCITY-607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12618954#action_12618954
]
wyla edited comment on VELOCITY-607 at 8/1/08 1:41 AM:
---
You're right, but I've sent a correction after that : adding
synchronized to addListener and removeListener.
Adding synchronized keyword guarantees atomic modifications of listners
array and provides visibility(by committing changes in main memory)
for listeners to other threads. Also
Of course the modification proposed here is not thread safe in its current form.
Jon.
On 7/30/08, Adrian Tarau [EMAIL PROTECTED] wrote:
The best way to implement listeners (as you may see in
EventListenerList) is to work with arrays.They are immutable and have
the lowest memory
Hi all,
I am now using Apache Velocity 1.4 in my project. I would like to
incorporate the escaping HTML feature in my project without bringing in
Velocity 1.5. I could find that there is a tool called EscapeTool to achieve
it. But to do that, i need to change all my velocity templates to enclose