@@ -95,7 +95,7 @@ private OracleResultImpl() { }
9595 /**
9696 * Publishes the output of a {@code mappingFunction} for each {@code Segment}
9797 * of this {@code Result}.
98- * @param mappingFunction {@code Segment} mapping function.
98+ * @param mappingFunction {@code Segment} mapping function. Not null.
9999 * @param <T> Output type of the {@code mappingFunction}
100100 * @return {@code Publisher} of values output by the {@code mappingFunction}
101101 */
@@ -127,8 +127,8 @@ abstract <T> Publisher<T> publishSegments(
127127 * {@link #map(BiFunction)}, {@link #map(BiFunction)}, and
128128 * {@link #getRowsUpdated()}
129129 * </p>
130- * @param type {@code Segment} type to be mapped
131- * @param mappingFunction {@code Segment} mapping function
130+ * @param type {@code Segment} type to be mapped. Not null.
131+ * @param mappingFunction {@code Segment} mapping function. Not null.
132132 * @param <T> {@code Segment} type to be mapped
133133 * @param <U> Output type of the {@code mappingFunction}
134134 * @return {@code Publisher} of mapped {@code Segment}s
@@ -277,7 +277,7 @@ public OracleResultImpl filter(Predicate<Segment> filter) {
277277 * A subsequent call to this method overwrites the publisher that has been
278278 * set by the current call.
279279 * </p>
280- * @param onConsumed Publisher to subscribe to when consumed
280+ * @param onConsumed Publisher to subscribe to when consumed. Not null.
281281 * @return true if this result has not already been consumed, and the
282282 * publisher will be subscribed to. Returns false if the publisher will not
283283 * be subscribed to because this result is already consumed.
@@ -316,8 +316,8 @@ private static IllegalStateException multipleConsumptionException() {
316316 /**
317317 * Creates a {@code Result} that publishes a JDBC {@code resultSet} as
318318 * {@link RowSegment}s
319- * @param resultSet {@code ResultSet} to publish
320- * @param adapter Adapts JDBC calls into reactive streams.
319+ * @param resultSet {@code ResultSet} to publish. Not null.
320+ * @param adapter Adapts JDBC calls into reactive streams. Not null.
321321 * @return A {@code Result} for a ResultSet
322322 */
323323 public static OracleResultImpl createQueryResult (
@@ -328,7 +328,8 @@ public static OracleResultImpl createQueryResult(
328328 /**
329329 * Creates a {@code Result} that publishes {@code outParameters} as
330330 * {@link OutSegment}s
331- * @param outParameters {@code OutParameters} to publish
331+ * @param outParameters {@code OutParameters} to publish. Not null.
332+ * @param adapter Adapts JDBC calls into reactive streams. Not null.
332333 * @return A {@code Result} for {@code OutParameters}
333334 */
334335 static OracleResultImpl createCallResult (
@@ -342,8 +343,8 @@ static OracleResultImpl createCallResult(
342343 * {@code ResultSet} as {@link RowSegment}s
343344 * @return A {@code Result} for values generated by DML
344345 * @param updateCount Update count to publish
345- * @param generatedKeys Generated values to publish
346- * @param adapter Adapts JDBC calls into reactive streams.
346+ * @param generatedKeys Generated values to publish. Not null.
347+ * @param adapter Adapts JDBC calls into reactive streams. Not null.
347348 */
348349 static OracleResultImpl createGeneratedValuesResult (
349350 long updateCount , ResultSet generatedKeys , ReactiveJdbcAdapter adapter ) {
@@ -364,7 +365,7 @@ static OracleResultImpl createUpdateCountResult(long updateCount) {
364365 * Creates a {@code Result} that publishes a batch of {@code updateCounts}
365366 * as {@link UpdateCount} segments
366367 * @return A {@code Result} for a batch DML update
367- * @param updateCounts Update counts to publish
368+ * @param updateCounts Update counts to publish. Not null.
368369 */
369370 static OracleResultImpl createBatchUpdateResult (long [] updateCounts ) {
370371 return new BatchUpdateResult (updateCounts );
@@ -375,7 +376,7 @@ static OracleResultImpl createBatchUpdateResult(long[] updateCounts) {
375376 * {@code batchUpdateException} as {@link UpdateCount} segments, followed a
376377 * {@link Message} segment with the {@code batchUpdateException} mapped to
377378 * an {@link R2dbcException}
378- * @param batchUpdateException BatchUpdateException to publish
379+ * @param batchUpdateException BatchUpdateException to publish. Not null.
379380 * @return A {@code Result} for a failed DML batch update
380381 */
381382 static OracleResultImpl createBatchUpdateErrorResult (
@@ -386,7 +387,7 @@ static OracleResultImpl createBatchUpdateErrorResult(
386387 /**
387388 * Creates a {@code Result} that publishes an {@code r2dbcException} as a
388389 * {@link Message} segment
389- * @param r2dbcException Error to publish
390+ * @param r2dbcException Error to publish. Not null.
390391 * @return A {@code Result} for failed {@code Statement} execution
391392 */
392393 static OracleResultImpl createErrorResult (R2dbcException r2dbcException ) {
@@ -397,8 +398,8 @@ static OracleResultImpl createErrorResult(R2dbcException r2dbcException) {
397398 * Creates a {@code Result} that publishes a {@code warning} as a
398399 * {@link Message} segment, followed by any {@code Segment}s of a
399400 * {@code result}.
400- * @param warning Warning to publish
401- * @param result Result to publisher
401+ * @param warning Warning to publish. Not null.
402+ * @param result Result to publisher. Not null.
402403 * @return A {@code Result} for a {@code Statement} execution that
403404 * completed with a warning.
404405 */
@@ -635,8 +636,8 @@ private static final class WarningResult extends OracleResultImpl {
635636 /**
636637 * Constructs a result that publishes a {@code warning} as a
637638 * {@link Message}, and then publishes the segments of a {@code result}.
638- * @param warning Warning to publish
639- * @param result Result of segments to publish after the warning
639+ * @param warning Warning to publish. Not null.
640+ * @param result Result of segments to publish after the warning. Not null.
640641 */
641642 private WarningResult (
642643 SQLWarning warning , OracleResultImpl result ) {
@@ -807,7 +808,7 @@ public String message() {
807808 * to a single {@link org.reactivestreams.Subscriber}, and rejects additional
808809 * {@code Subscriber}s by emitting {@code onError} with
809810 * {@link IllegalStateException}.
810- * @param publisher Publisher that emits signals
811+ * @param publisher Publisher that emits signals. Not null.
811812 * @param <T> Value type of {@code onNext} signals
812813 * @return A {@code Publisher} that allows a single subscriber
813814 */
0 commit comments