Revision: 1107
Author: crazyboblee
Date: Tue Sep 29 11:05:06 2009
Log: Fixed typo. Added comment.
http://code.google.com/p/google-guice/source/detail?r=1107

Modified:
  /trunk/src/com/google/inject/spi/InjectionPoint.java

=======================================
--- /trunk/src/com/google/inject/spi/InjectionPoint.java        Tue Sep 29  
11:00:49 2009
+++ /trunk/src/com/google/inject/spi/InjectionPoint.java        Tue Sep 29  
11:05:06 2009
@@ -483,6 +483,10 @@
      BOTTOM // Methods won't be overridden
    }

+  /**
+   * Keeps track of injectable methods so we can remove methods that get  
overridden in O(1) time.
+   * Uses our position in the type hierarchy to perform optimizations.
+   */
    static class OverrideIndex {
      final InjectableMembers injectableMembers;
      Map<Signature, List<InjectableMethod>> bySignature;
@@ -606,7 +610,7 @@
                if (overrideIndex == null) {
                  /*
                   * Creating the override index lazily means that the first  
type in the hierarchy
-                 * with injectable methods (not necessarily the top most  
top) will be treated as
+                 * with injectable methods (not necessarily the top most  
type) will be treated as
                   * the TOP position and will enjoy the same optimizations  
(no checks for overridden
                   * methods, etc.).
                   */

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