aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/events
diff options
context:
space:
mode:
authorLuis Bernardo <lbernardo@apache.org>2013-07-13 22:26:09 +0000
committerLuis Bernardo <lbernardo@apache.org>2013-07-13 22:26:09 +0000
commit2b8f2a4278987841c7b4a0d9059697936d0e7193 (patch)
tree3d99c98ce81ca445db0e046978ca7cc89b886f1f /src/java/org/apache/fop/events
parent74ad4fd2236a498b2fdab1790b433b00037122c8 (diff)
downloadxmlgraphics-fop-2b8f2a4278987841c7b4a0d9059697936d0e7193.tar.gz
xmlgraphics-fop-2b8f2a4278987841c7b4a0d9059697936d0e7193.zip
FOP-2265: Enable xlint cast; patch submitted by Simon Steiner
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1502902 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/events')
-rw-r--r--src/java/org/apache/fop/events/EventExceptionManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/events/EventExceptionManager.java b/src/java/org/apache/fop/events/EventExceptionManager.java
index 3494dc560..e9208fbc6 100644
--- a/src/java/org/apache/fop/events/EventExceptionManager.java
+++ b/src/java/org/apache/fop/events/EventExceptionManager.java
@@ -53,7 +53,7 @@ public final class EventExceptionManager {
*/
public static void throwException(Event event, String exceptionClass) throws Throwable {
if (exceptionClass != null) {
- ExceptionFactory factory = (ExceptionFactory)EXCEPTION_FACTORIES.get(exceptionClass);
+ ExceptionFactory factory = EXCEPTION_FACTORIES.get(exceptionClass);
if (factory != null) {
throw factory.createException(event);
} else {