Author: limpbizkit
Date: Fri Apr  3 00:05:56 2009
New Revision: 925

Modified:
    trunk/src/com/google/inject/internal/MoreTypes.java

Log:
Fix for bug 352: WildcardTypeImpl constructor argument check fails

Modified: trunk/src/com/google/inject/internal/MoreTypes.java
==============================================================================
--- trunk/src/com/google/inject/internal/MoreTypes.java (original)
+++ trunk/src/com/google/inject/internal/MoreTypes.java Fri Apr  3 00:05:56  
2009
@@ -577,7 +577,7 @@
      private final Type lowerBound;

      public WildcardTypeImpl(Type[] upperBounds, Type[] lowerBounds) {
-      checkArgument(upperBounds.length <= 1, "Must have at most one lower  
bound.");
+      checkArgument(lowerBounds.length <= 1, "Must have at most one lower  
bound.");
        checkArgument(upperBounds.length == 1, "Must have exactly one upper  
bound.");

        if (lowerBounds.length == 1) {

--~--~---------~--~----~------------~-------~--~----~
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