just changed the method signature, fixed :P Simo http://people.apache.org/~simonetripodi/ http://www.99soft.org/
On Thu, Feb 24, 2011 at 9:56 PM, Simone Tripodi <simonetrip...@apache.org> wrote: > Hi all guys, > I need a suggestion from you about a compilation problem, ignored by > Eclipse by reported by javac: > > In the > > org.apache.commons.digester3.rulesbinder.FactoryCreateBuilder > > interface I defined a method > > <T, F extends ObjectCreationFactory<T>> FactoryCreateBuilder > ofType(Class<F> type); > > invoked in > > > org.apache.commons.digester3.annotations.handlers.FactoryCreateHandler#handle(FactoryCreate,Class<?>,RulesBinder) > > where ofType() argument is of type > > Class<? extends ObjectCreationFactory<?>> > > when launching `mvn clean test`, javac complains the following > > [ERROR] COMPILATION ERROR : > [INFO] ------------------------------------------------------------- > [ERROR] > /XXX/commons-digester3/src/main/java/org/apache/commons/digester3/annotations/handlers/FactoryCreateHandler.java:[41,19] > cannot find symbol > symbol : method ofType(java.lang.Class<capture#286 of ? extends > org.apache.commons.digester3.spi.ObjectCreationFactory<?>>) > location: interface > org.apache.commons.digester3.rulesbinder.FactoryCreateBuilder > > [INFO] 1error > > Can you help me please? Every kind of help would be more than > appreciated, feel free to apply the fix if you want :P > Many thanks in advance, have a nice day! > Simo > > http://people.apache.org/~simonetripodi/ > http://www.99soft.org/ > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org