diff options
Diffstat (limited to 'src/java/org/apache/fop/afp/AFPEventProducer.java')
-rw-r--r-- | src/java/org/apache/fop/afp/AFPEventProducer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/afp/AFPEventProducer.java b/src/java/org/apache/fop/afp/AFPEventProducer.java index 1b43400c5..58f3855b2 100644 --- a/src/java/org/apache/fop/afp/AFPEventProducer.java +++ b/src/java/org/apache/fop/afp/AFPEventProducer.java @@ -39,7 +39,7 @@ public interface AFPEventProducer extends EventProducer { * @return the event producer */ public static AFPEventProducer get(EventBroadcaster broadcaster) { - return (AFPEventProducer) broadcaster.getEventProducerFor(AFPEventProducer.class); + return broadcaster.getEventProducerFor(AFPEventProducer.class); } } |