Revision: 9ee53e90374a
Author:   Sam Berlin <[email protected]>
Date:     Mon Oct 31 13:34:57 2011
Log:      Defer building of error messages for
Preconditions.check(State|NotNull|Argument) calls.

Revision created by MOE tool push_codebase.
MOE_MIGRATION=3588

http://code.google.com/p/google-guice/source/detail?r=9ee53e90374a

Modified:
 /core/src/com/google/inject/internal/Initializer.java

=======================================
--- /core/src/com/google/inject/internal/Initializer.java Sun Oct 16 15:36:01 2011 +++ /core/src/com/google/inject/internal/Initializer.java Mon Oct 31 13:34:57 2011
@@ -159,7 +159,7 @@
         MembersInjectorImpl<T> membersInjector =
(MembersInjectorImpl<T>)pendingMembersInjectors.remove(instance);
         Preconditions.checkState(membersInjector != null,
- "No membersInjector available for instance: " + instance + ", from key: " + key); + "No membersInjector available for instance: %s, from key: %s", instance, key);

// if in Stage.TOOL, we only want to inject & notify toolable injection points.
         // (otherwise we'll inject all of them)

--
You received this message because you are subscribed to the Google Groups 
"google-guice-dev" 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-dev?hl=en.

Reply via email to