diff options
author | Jeremias Maerki <jeremias@apache.org> | 2008-04-25 08:44:39 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2008-04-25 08:44:39 +0000 |
commit | a33539b1533bd7f1c1a110f9c435d283660de257 (patch) | |
tree | 052350dca3d8e96eade02f170b26776288341787 /src/codegen | |
parent | 4e61617403d6e13de6a295d5272449dbdf7fab3c (diff) | |
download | xmlgraphics-fop-a33539b1533bd7f1c1a110f9c435d283660de257.tar.gz xmlgraphics-fop-a33539b1533bd7f1c1a110f9c435d283660de257.zip |
Cleanup
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@651540 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/codegen')
-rw-r--r-- | src/codegen/java/org/apache/fop/tools/EventProducerCollector.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/codegen/java/org/apache/fop/tools/EventProducerCollector.java b/src/codegen/java/org/apache/fop/tools/EventProducerCollector.java index f7e320ee7..ebb960a8e 100644 --- a/src/codegen/java/org/apache/fop/tools/EventProducerCollector.java +++ b/src/codegen/java/org/apache/fop/tools/EventProducerCollector.java @@ -93,7 +93,7 @@ public class EventProducerCollector { for (int i = 0, c = classes.length; i < c; i++) { JavaClass clazz = classes[i]; if (clazz.isInterface() && implementsInterface(clazz, CLASSNAME_EVENT_PRODUCER)) { - processEventProducerInterface(clazz, src.getName()); + processEventProducerInterface(clazz); } } } @@ -112,11 +112,10 @@ public class EventProducerCollector { /** * Processes an EventProducer interface and creates an EventProducerModel from it. * @param clazz the EventProducer interface - * @param javaFilename the filename of the Java source of the interface * @throws EventConventionException if the event producer conventions are violated * @throws ClassNotFoundException if a required class cannot be found */ - protected void processEventProducerInterface(JavaClass clazz, String javaFilename) + protected void processEventProducerInterface(JavaClass clazz) throws EventConventionException, ClassNotFoundException { EventProducerModel prodMeta = new EventProducerModel(clazz.getFullyQualifiedName()); JavaMethod[] methods = clazz.getMethods(true); |