Revision: 1580
Author:   [email protected]
Date:     Fri Sep  9 14:21:12 2011
Log:
Changing callers of deprecated methods ImmutableSet.of(E[]) and
ImmutableSortedSet.of(E[]) to use .copyOf() (inlining the deprecated methods).


Revision created by MOE tool push_codebase.
MOE_MIGRATION=3072

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

Modified:
 /trunk/core/test/com/google/inject/spi/InjectionPointTest.java

=======================================
--- /trunk/core/test/com/google/inject/spi/InjectionPointTest.java Thu Jul 7 17:34:16 2011 +++ /trunk/core/test/com/google/inject/spi/InjectionPointTest.java Fri Sep 9 14:21:12 2011
@@ -276,7 +276,7 @@
         methods.add(point.getMember().getName());
       }
     }
-    assertEquals(points.toString(), ImmutableSet.of(methodNames), methods);
+ assertEquals(points.toString(), ImmutableSet.copyOf(methodNames), methods);
   }

   static class Super {

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