Browse Source

Amended synchronized mistake made in r1380169.


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1380514 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-2_0
Mehdi Houshmand 11 years ago
parent
commit
45102ae251
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/java/org/apache/fop/events/CompositeEventListener.java

+ 1
- 1
src/java/org/apache/fop/events/CompositeEventListener.java View File

@@ -51,7 +51,7 @@ public class CompositeEventListener implements EventListener {
* Indicates whether any listeners have been registered with the broadcaster.
* @return true if listeners are present, false otherwise
*/
public boolean hasEventListeners() {
public synchronized boolean hasEventListeners() {
return !listeners.isEmpty();
}


Loading…
Cancel
Save