27
27
* set().otherName(value);
28
28
* </pre>
29
29
* <p>
30
- * If {@link S} is the same as {@link R}, {@link #with(String, Object)} will commit changes after the first value change
31
- * and return a {@link R} from {@link #done()}.
30
+ * If {@code S} is the same as {@code R}, {@link #with(String, Object)} will commit changes after the first value change
31
+ * and return a {@code R} from {@link #done()}.
32
32
* </p>
33
33
* <p>
34
- * If {@link S} is not the same as {@link R}, {@link #with(String, Object)} will batch together multiple changes and let
34
+ * If {@code S} is not the same as {@code R}, {@link #with(String, Object)} will batch together multiple changes and let
35
35
* the user call {@link #done()} when they are ready.
36
36
*
37
37
* @author Liam Newman
38
38
* @param <R>
39
39
* Final return type built by this builder returned when {@link #done()}} is called.
40
40
* @param <S>
41
- * Intermediate return type for this builder returned by calls to {@link #with(String, Object)}. If {@link S}
42
- * the same as {@link R}, this builder will commit changes after each call to {@link #with(String, Object)}.
41
+ * Intermediate return type for this builder returned by calls to {@link #with(String, Object)}. If {@code S}
42
+ * the same as {@code R}, this builder will commit changes after each call to {@link #with(String, Object)}.
43
43
*/
44
44
abstract class AbstractBuilder <R , S > extends GitHubInteractiveObject implements GitHubRequestBuilderDone <R > {
45
45
@@ -68,7 +68,7 @@ abstract class AbstractBuilder<R, S> extends GitHubInteractiveObject implements
68
68
* @param finalReturnType
69
69
* the final return type for built by this builder returned when {@link #done()}} is called.
70
70
* @param intermediateReturnType
71
- * the intermediate return type of type {@link S} returned by calls to {@link #with(String, Object)}.
71
+ * the intermediate return type of type {@code S} returned by calls to {@link #with(String, Object)}.
72
72
* Must either be equal to {@code builtReturnType} or this instance must be castable to this class. If
73
73
* not, the constructor will throw {@link IllegalArgumentException}.
74
74
* @param root
@@ -113,10 +113,10 @@ public R done() throws IOException {
113
113
/**
114
114
* Applies a value to a name for this builder.
115
115
*
116
- * If {@link S} is the same as {@link R}, this method will commit changes after the first value change and return a
117
- * {@link R} from {@link #done()}.
116
+ * If {@code S} is the same as {@code R}, this method will commit changes after the first value change and return a
117
+ * {@code R} from {@link #done()}.
118
118
*
119
- * If {@link S} is not the same as {@link R}, this method will return an {@link S} and letting the caller batch
119
+ * If {@code S} is not the same as {@code R}, this method will return an {@code S} and letting the caller batch
120
120
* together multiple changes and call {@link #done()} when they are ready.
121
121
*
122
122
* @param name
@@ -137,10 +137,10 @@ protected S with(@Nonnull String name, Object value) throws IOException {
137
137
/**
138
138
* Chooses whether to return a continuing builder or an updated data record
139
139
*
140
- * If {@link S} is the same as {@link R}, this method will commit changes after the first value change and return a
141
- * {@link R} from {@link #done()}.
140
+ * If {@code S} is the same as {@code R}, this method will commit changes after the first value change and return a
141
+ * {@code R} from {@link #done()}.
142
142
*
143
- * If {@link S} is not the same as {@link R}, this method will return an {@link S} and letting the caller batch
143
+ * If {@code S} is not the same as {@code R}, this method will return an {@code S} and letting the caller batch
144
144
* together multiple changes and call {@link #done()} when they are ready.
145
145
*
146
146
* @return either a continuing builder or an updated data record
0 commit comments