Browse Source

Cleanup

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@651540 13f79535-47bb-0310-9956-ffa450edef68
pull/37/head
Jeremias Maerki 16 years ago
parent
commit
4082fea30c
1 changed files with 2 additions and 3 deletions
  1. 2
    3
      src/codegen/java/org/apache/fop/tools/EventProducerCollector.java

+ 2
- 3
src/codegen/java/org/apache/fop/tools/EventProducerCollector.java View 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);

Loading…
Cancel
Save