Could not expose() suggestion

2012-04-04 Thread jordi
Recently I've been stuck with this error:

Could not expose() com.trovit.stopwords.persist.StopwordsMapper annotated
with @com.google.inject.name.Named(value=foo_db), it must be explicitly
bound. at
com.trovit.stopwords.MultiMapperModule$1.configure(MultiMapperModule.java:55)

Many errors in Guice have some really useful messages like Did you forget
to Later I've realized that I forgot to bind my type in the
PrivateModule, when I found testExposeButNoBind in PrivateModuleTest.

I know it says it must be explicity bound, but can you add something like
Did you forget to explicitly bind it?. I think it would be pretty much
clear.

cheers,
jordi

-- 
You received this message because you are subscribed to the Google Groups 
google-guice group.
To post to this group, send email to google-guice@googlegroups.com.
To unsubscribe from this group, send email to 
google-guice+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-guice?hl=en.



Issue 697 in google-guice: Missing Apache license header in some source files

2012-04-04 Thread google-guice

Status: New
Owner: 

New issue 697 by mccu...@gmail.com: Missing Apache license header in some  
source files

http://code.google.com/p/google-guice/issues/detail?id=697

FYI, the Apache license header is missing from the following source files:

core/src/com/google/inject/internal/DelayedInitialize.java
core/src/com/google/inject/internal/Nullability.java
core/src/com/google/inject/spi/Toolable.java

extensions/throwingproviders/src/com/google/inject/throwingproviders/CheckedProvideUtils.java
extensions/throwingproviders/src/com/google/inject/throwingproviders/CheckedProviderWithDependencies.java

The header should be added to make it clear these files are licensed under  
the ASL.


--
You received this message because you are subscribed to the Google Groups 
google-guice-dev group.
To post to this group, send email to google-guice-dev@googlegroups.com.
To unsubscribe from this group, send email to 
google-guice-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-guice-dev?hl=en.