Revision: 1290
Author: sberlin
Date: Mon Oct  4 20:41:40 2010
Log: convert {...@literal<} to &lt;
http://code.google.com/p/google-guice/source/detail?r=1290

Modified:
/trunk/extensions/multibindings/src/com/google/inject/multibindings/MapBinderBinding.java /trunk/extensions/multibindings/src/com/google/inject/multibindings/MultibinderBinding.java
 /trunk/src/com/google/inject/spi/ProviderWithExtensionVisitor.java

=======================================
--- /trunk/extensions/multibindings/src/com/google/inject/multibindings/MapBinderBinding.java Sun Sep 19 17:42:24 2010 +++ /trunk/extensions/multibindings/src/com/google/inject/multibindings/MapBinderBinding.java Mon Oct 4 20:41:40 2010
@@ -28,15 +28,15 @@
 /**
  * A binding for a MapBinder.
  * <p>
- * Although MapBinders may be injected through a variety of generic types (m...@literal<}K, V>, Map - * {...@literal<}K, provid...@literal<}V>>, m...@literal<}K, s...@literal<}V>>, Map<K, s...@literal<} - * provid...@literal<}V>>, and even s...@literal<}map.ent...@literal<}K, provid...@literal<}V>>), a - * MapBinderBinding exists only on the Binding associated with the m...@literal<}K, V> key. Other + * Although MapBinders may be injected through a variety of generic types (Map&lt;K, V>, Map
+ * &lt;K, Provider&lt;V>>, Map&lt;K, Set&lt;V>>, Map<K, Set&lt;
+ * Provider&lt;V>>, and even Set&lt;Map.Entry&lt;K, Provider&lt;V>>), a
+ * MapBinderBinding exists only on the Binding associated with the Map&lt;K, V> key. Other
  * bindings can be validated to be derived from this MapBinderBinding using
  * {...@link #containsElement(Element)}.
  *
* @param <T> The fully qualified type of the map, including Map. For example: - * <code>mapbinderbindi...@literal<}m...@literal<}String, Snack>></code>
+ *          <code>MapBinderBinding&lt;Map&lt;String, Snack>></code>
  *
  * @author sa...@google.com (Sam Berlin)
  */
@@ -49,8 +49,8 @@
    * Returns the TypeLiteral describing the keys of the map.
    * <p>
* The TypeLiteral will always match the type Map's generic type. For example, if getMapKey - * returns a key of <code>m...@literal<}String, Snack></code>, then this will always return a
-   * <code>typeliter...@literal<}String></code>.
+ * returns a key of <code>Map&lt;String, Snack></code>, then this will always return a
+   * <code>TypeLiteral&lt;String></code>.
    */
   TypeLiteral<?> getKeyTypeLiteral();

@@ -58,8 +58,8 @@
    * Returns the TypeLiteral describing the values of the map.
    * <p>
* The TypeLiteral will always match the type Map's generic type. For example, if getMapKey - * returns a key of <code>m...@literal<}String, Snack></code>, then this will always return a
-   * <code>typeliter...@literal<}Snack></code>.
+ * returns a key of <code>Map&lt;String, Snack></code>, then this will always return a
+   * <code>TypeLiteral&lt;Snack></code>.
    */
   TypeLiteral<?> getValueTypeLiteral();

@@ -71,8 +71,8 @@
    * {...@link Elements#getElements}.
    * <p>
* The elements will always match the type Map's generic type. For example, if getMapKey returns a - * key of <code>m...@literal<}String, Snack></code>, then this will always return a list of type - * <code>li...@literal<}map.ent...@literal<}String, bindi...@literal<}Snack>>></code>. + * key of <code>Map&lt;String, Snack></code>, then this will always return a list of type
+   * <code>List&lt;Map.Entry&lt;String, Binding&lt;Snack>>></code>.
    */
   List<Map.Entry<?, Binding<?>>> getEntries();

=======================================
--- /trunk/extensions/multibindings/src/com/google/inject/multibindings/MultibinderBinding.java Sun Sep 19 17:42:24 2010 +++ /trunk/extensions/multibindings/src/com/google/inject/multibindings/MultibinderBinding.java Mon Oct 4 20:41:40 2010
@@ -28,7 +28,7 @@
  * A binding for a Multibinder.
  *
* @param <T> The fully qualified type of the set, including Set. For example: - * <code>multibinderbindi...@literal<}s...@literal<}Boolean>></code>
+ *          <code>MultibinderBinding&lt;Set&lt;Boolean>></code>
  *
  * @author sa...@google.com (Sam Berlin)
  */
@@ -41,8 +41,8 @@
* Returns the TypeLiteral that describes the type of elements in the set.
    * <p>
* The elements will always match the type Set's generic type. For example, if getSetKey returns a - * key of <code>s...@literal<}String></code>, then this will always return a
-   * <code>typeliter...@literal<}String></code>.
+   * key of <code>Set&lt;String></code>, then this will always return a
+   * <code>TypeLiteral&lt;String></code>.
    */
   TypeLiteral<?> getElementTypeLiteral();

@@ -52,8 +52,8 @@
    * retrieved from {...@link Elements#getElements}.
    * <p>
* The elements will always match the type Set's generic type. For example, if getSetKey returns a - * key of <code>s...@literal<}String></code>, then this will always return a list of type
-   * <code>li...@literal<}bindi...@literal<}String>></code>.
+ * key of <code>Set&lt;String></code>, then this will always return a list of type
+   * <code>List&lt;Binding&lt;String>></code>.
    */
   List<Binding<?>> getElements();

=======================================
--- /trunk/src/com/google/inject/spi/ProviderWithExtensionVisitor.java Wed Sep 15 20:29:29 2010 +++ /trunk/src/com/google/inject/spi/ProviderWithExtensionVisitor.java Mon Oct 4 20:41:40 2010
@@ -28,17 +28,14 @@
* {...@link Binding#acceptTargetVisitor(BindingTargetVisitor)} method to visit a * custom visitor designed for that extension. A typical implementation within
  * the extension would look like
- * <pre>
- * <code>
- * {...@literal<}V, B> V acceptExtensionVisitor(bindingtargetvisit...@literal<}B, V> visitor, providerinstancebindi...@literal<}? extends B> binding) {
+ * <pre>
+ * &lt;V, B> V acceptExtensionVisitor(BindingTargetVisitor&lt;B, V> visitor, ProviderInstanceBinding&lt;? extends B> binding) {
  *   if(visitor instanceof MyCustomExtensionVisitor) {
- * return ((mycustomextensionvisit...@literal<}B, V>)visitor).visitCustomExtension(customProperties, binding); + * return ((MyCustomExtensionVisitor&lt;B, V>)visitor).visitCustomExtension(customProperties, binding);
  *   } else {
  *     return visitor.visit(binding);
  *   }
- * }
- * </code>
- * </pre>
+ * }</pre>
* 'MyCustomExtensionVisitor' in the example above would be an interface the * extension provides that users can implement in order to be notified of custom
  * extension information. These visitor interfaces must extend from

--
You received this message because you are subscribed to the Google Groups 
"google-guice-dev" group.
To post to this group, send email to google-guice-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-guice-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-guice-dev?hl=en.

Reply via email to