77import javax .annotation .CheckForNull ;
88import javax .annotation .Nonnull ;
99
10- // TODO: Auto-generated Javadoc
1110/**
1211 * An abstract data object builder/updater.
1312 *
4241 * Intermediate return type for this builder returned by calls to {@link #with(String, Object)}. If {@link S}
4342 * the same as {@link R}, this builder will commit changes after each call to {@link #with(String, Object)}.
4443 */
45- abstract class AbstractBuilder <R , S > extends GitHubInteractiveObject {
44+ abstract class AbstractBuilder <R , S > extends GitHubInteractiveObject implements GitHubRequestBuilderDone < R > {
4645
4746 @ Nonnull
4847 private final Class <R > returnType ;
@@ -58,9 +57,9 @@ abstract class AbstractBuilder<R, S> extends GitHubInteractiveObject {
5857
5958 // TODO: Not sure how update-in-place behavior should be controlled
6059 // However, it certainly can be controlled dynamically down to the instance level or inherited for all children of
61- // some
60+ // some connection.
61+
6262 /** The update in place. */
63- // connection.
6463 protected boolean updateInPlace ;
6564
6665 /**
@@ -96,14 +95,9 @@ protected AbstractBuilder(@Nonnull Class<R> finalReturnType,
9695 }
9796
9897 /**
99- * Finishes an update, committing changes.
100- *
101- * This method may update-in-place or not. Either way it returns the resulting instance.
102- *
103- * @return an instance with updated current data
104- * @throws IOException
105- * if there is an I/O Exception
98+ * {@inheritDoc}
10699 */
100+ @ Override
107101 @ Nonnull
108102 @ BetaApi
109103 public R done () throws IOException {
0 commit comments