summaryrefslogtreecommitdiffstats
path: root/sangria-listbinder/src/main/java/com/tavianator
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2014-05-07 22:18:44 -0400
committerTavian Barnes <tavianator@tavianator.com>2014-05-07 22:18:44 -0400
commit5748883e16437b3612e8fe92a8819064ed3acd2c (patch)
treec4190340490500dc455f299340857a61046987ab /sangria-listbinder/src/main/java/com/tavianator
parentfffdcb6e54bc56135ceb02922a7123ea04fb05a2 (diff)
downloadsangria-5748883e16437b3612e8fe92a8819064ed3acd2c.tar.xz
listbinder: Escape angle brackets in JavaDoc.
Diffstat (limited to 'sangria-listbinder/src/main/java/com/tavianator')
-rw-r--r--sangria-listbinder/src/main/java/com/tavianator/sangria/listbinder/ListBinder.java20
1 files changed, 10 insertions, 10 deletions
diff --git a/sangria-listbinder/src/main/java/com/tavianator/sangria/listbinder/ListBinder.java b/sangria-listbinder/src/main/java/com/tavianator/sangria/listbinder/ListBinder.java
index c28d758..d813b7a 100644
--- a/sangria-listbinder/src/main/java/com/tavianator/sangria/listbinder/ListBinder.java
+++ b/sangria-listbinder/src/main/java/com/tavianator/sangria/listbinder/ListBinder.java
@@ -53,28 +53,28 @@ import com.tavianator.sangria.core.UniqueAnnotations;
* </p>
*
* <pre>
- * ListBinder<String> listBinder = ListBinder.build(binder(), String.class)
+ * ListBinder&lt;String&gt; listBinder = ListBinder.build(binder(), String.class)
* .withDefaultPriority();
* listBinder.addBinding().toInstance("a");
* listBinder.addBinding().toInstance("b");
* </pre>
*
* <p>
- * This will create a binding for a {@code List<String>}, which contains {@code "a"} followed by {@code "b"}. It also
- * creates a binding for {@code List<Provider<String>>} &mdash; this may be useful in more advanced cases to allow list
- * elements to be lazily loaded.
+ * This will create a binding for a {@code List&lt;String&gt;}, which contains {@code "a"} followed by {@code "b"}. It
+ * also creates a binding for {@code List&lt;Provider&lt;String&gt;&gt;} &mdash; this may be useful in more advanced
+ * cases to allow list elements to be lazily loaded.
* </p>
*
* <p>To add an annotation to the list binding, simply write this:</p>
*
* <pre>
- * ListBinder<String> listBinder = ListBinder.build(binder(), String.class)
+ * ListBinder&lt;String&gt; listBinder = ListBinder.build(binder(), String.class)
* .annotatedWith(Names.named("name"))
* .withDefaultPriority();
* </pre>
*
* <p>
- * and the created binding will be {@code @Named("name") List<String>} instead.
+ * and the created binding will be {@code @Named("name") List&lt;String&gt;} instead.
* </p>
*
* <p>
@@ -84,13 +84,13 @@ import com.tavianator.sangria.core.UniqueAnnotations;
*
* <pre>
* // In some module
- * ListBinder<String> listBinder1 = ListBinder.build(binder(), String.class)
+ * ListBinder&lt;String&gt; listBinder1 = ListBinder.build(binder(), String.class)
* .withPriority(0);
* listBinder1.addBinding().toInstance("a");
* listBinder1.addBinding().toInstance("b");
*
* // ... some other module
- * ListBinder<String> listBinder2 = ListBinder.build(binder(), String.class)
+ * ListBinder&lt;String&gt; listBinder2 = ListBinder.build(binder(), String.class)
* .withPriority(1);
* listBinder2.addBinding().toInstance("c");
* listBinder2.addBinding().toInstance("d");
@@ -266,7 +266,7 @@ public class ListBinder<T> {
}
/**
- * Provider implementation for {@code List<Provider<T>>}.
+ * Provider implementation for {@code List&lt;Provider&lt;T&gt;&gt;}.
*/
private static class ListOfProvidersProvider<T> implements Provider<List<Provider<T>>> {
private final Key<Set<ListElement<T>>> setKey;
@@ -355,7 +355,7 @@ public class ListBinder<T> {
}
/**
- * Provider implementation for {@code List<T>}, in terms of {@code List<Provider<T>>}.
+ * Provider implementation for {@code List&lt;T&gt;}, in terms of {@code List&lt;Provider&lt;T&gt;&gt;}.
*/
private static class ListOfProvidersAdapter<T> implements Provider<List<T>> {
private final Key<List<Provider<T>>> providerListKey;