]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Amended synchronized mistake made in r1380169.
authorMehdi Houshmand <mehdi@apache.org>
Tue, 4 Sep 2012 10:05:55 +0000 (10:05 +0000)
committerMehdi Houshmand <mehdi@apache.org>
Tue, 4 Sep 2012 10:05:55 +0000 (10:05 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1380514 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/events/CompositeEventListener.java

index d1f207c79862d9ce71e48ac02ed346ac72dfddeb..c2bef322eb9dd26d477172e64b1fe011b12ce386 100644 (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();
     }