Hi,

the following construct (original code is Scala)

---8<---
@Inject @Named( "QUARTZ_FACTORY_KEY" ) private final String QUARTZ_FACTORY_KEY;

public String QUARTZ_FACTORY_KEY() { return QUARTZ_FACTORY_KEY; }
---8<---

gives the following error with latest trunk:

de.footprint.utils.scheduler.SchedulerProvider.QUARTZ_FACTORY_KEY() is annotated
with @com.google.inject.name.Named(value=QUARTZ_FACTORY_KEY), but binding
annotations should be applied to its parameters instead.

It seems that Guice now gets irritated when fields and methods of the same name
are available. It works with earlier Guice versions, though! Has there changed
something in the verifier?

Best regards, --- Jan.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-guice?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to