Revision: 1144
Author: sberlin
Date: Mon Feb 22 12:30:17 2010
Log: fixed typos in documentation (one pointed out by issue 408)
http://code.google.com/p/google-guice/source/detail?r=1144
Modified:
/trunk/src/com/google/inject/Binder.java
/trunk/src/com/google/inject/spi/TypeConverterBinding.java
=======================================
--- /trunk/src/com/google/inject/Binder.java Mon Jan 4 16:02:57 2010
+++ /trunk/src/com/google/inject/Binder.java Mon Feb 22 12:30:17 2010
@@ -310,7 +310,7 @@
/**
* Returns the provider used to obtain instances for the given injection
key.
- * The returned will not be valid until the {...@link Injector} has been
+ * The returned provider will not be valid until the {...@link Injector}
has been
* created. The provider will throw an {...@code IllegalStateException} if
you
* try to use it beforehand.
*
=======================================
--- /trunk/src/com/google/inject/spi/TypeConverterBinding.java Tue Mar 17
22:34:39 2009
+++ /trunk/src/com/google/inject/spi/TypeConverterBinding.java Mon Feb 22
12:30:17 2010
@@ -26,7 +26,7 @@
* explicitly in a module using {...@link
com.google.inject.Binder#convertToTypes(Matcher,
* TypeConverter) convertToTypes()} statements:
* <pre>
- * convertToTypes(Matchers.only(DateTime.class), new
DateTimeConverter());</pre>
+ * convertToTypes(Matchers.only(TypeLiteral.get(DateTime.class)), new
DateTimeConverter());</pre>
*
* @author [email protected] (Jesse Wilson)
* @since 2.0
--
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.