]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Cleanup
authorJeremias Maerki <jeremias@apache.org>
Fri, 25 Apr 2008 08:44:39 +0000 (08:44 +0000)
committerJeremias Maerki <jeremias@apache.org>
Fri, 25 Apr 2008 08:44:39 +0000 (08:44 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@651540 13f79535-47bb-0310-9956-ffa450edef68

src/codegen/java/org/apache/fop/tools/EventProducerCollector.java

index f7e320ee7632035e7f167f92dbac0e8196eec063..ebb960a8effd0bb4e0d86c8c9b143a9d12e20390 100644 (file)
@@ -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);