aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMehdi Houshmand <mehdi@apache.org>2012-09-04 10:05:55 +0000
committerMehdi Houshmand <mehdi@apache.org>2012-09-04 10:05:55 +0000
commit45102ae251426c0ec72d479d06d62c651a228825 (patch)
tree4d8ce704815e6c9efd9b8c9f15a45d9dbffaf5c2
parentb3f537310f769816c8ced4f29485cff3ee2064f1 (diff)
downloadxmlgraphics-fop-45102ae251426c0ec72d479d06d62c651a228825.tar.gz
xmlgraphics-fop-45102ae251426c0ec72d479d06d62c651a228825.zip
Amended synchronized mistake made in r1380169.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1380514 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/java/org/apache/fop/events/CompositeEventListener.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/events/CompositeEventListener.java b/src/java/org/apache/fop/events/CompositeEventListener.java
index d1f207c79..c2bef322e 100644
--- a/src/java/org/apache/fop/events/CompositeEventListener.java
+++ b/src/java/org/apache/fop/events/CompositeEventListener.java
@@ -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();
}