Revision: 1377
Author: sberlin
Date: Thu Nov 18 18:39:46 2010
Log: revert State & InheritingState back to using Iterable & Set.
http://code.google.com/p/google-guice/source/detail?r=1377

Modified:
 /trunk/core/src/com/google/inject/internal/InheritingState.java
 /trunk/core/src/com/google/inject/internal/State.java

=======================================
--- /trunk/core/src/com/google/inject/internal/InheritingState.java Thu Nov 18 18:33:32 2010 +++ /trunk/core/src/com/google/inject/internal/InheritingState.java Thu Nov 18 18:39:46 2010
@@ -84,7 +84,7 @@
     scopes.put(annotationType, scope);
   }

-  public List<TypeConverterBinding> getConvertersThisLevel() {
+  public Iterable<TypeConverterBinding> getConvertersThisLevel() {
     return converters;
   }

=======================================
--- /trunk/core/src/com/google/inject/internal/State.java Thu Nov 18 18:33:32 2010 +++ /trunk/core/src/com/google/inject/internal/State.java Thu Nov 18 18:39:46 2010
@@ -71,8 +71,8 @@
       throw new UnsupportedOperationException();
     }

-    public List<TypeConverterBinding> getConvertersThisLevel() {
-      return ImmutableList.of();
+    public Iterable<TypeConverterBinding> getConvertersThisLevel() {
+      return ImmutableSet.of();
     }

     /*if[AOP]*/
@@ -131,7 +131,7 @@
String stringValue, TypeLiteral<?> type, Errors errors, Object source);

   /** Returns all converters at this level only. */
-  List<TypeConverterBinding> getConvertersThisLevel();
+  Iterable<TypeConverterBinding> getConvertersThisLevel();

   /*if[AOP]*/
   void addMethodAspect(MethodAspect methodAspect);

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