Skip to content

Commit 7a15ab6

Browse files
committed
Merge pull request #61 from reactive-streams/edit-doc-simplified-types
Prepare for 0.4.0.M1
2 parents f599155 + f709200 commit 7a15ab6

File tree

8 files changed

+109
-59
lines changed

8 files changed

+109
-59
lines changed

Diff for: CopyrightWaivers.txt

+1
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,4 @@ github name | Real Name, Email Address used for git commits, Company
2121
rkuhn | Roland Kuhn, [email protected], Typesafe Inc.
2222
benjchristensen| Ben Christensen, [email protected], Netflix Inc.
2323
viktorklang | Viktor Klang, [email protected], Typesafe Inc.
24+
smaldini | Stephane Maldini, [email protected], Pivotal Software Inc.

Diff for: README.md

+98-46
Large diffs are not rendered by default.

Diff for: api/build.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name := "reactive-streams-api"
1+
name := "reactive-streams"
22

33
javacOptions in compile ++= Seq("-encoding", "UTF-8", "-source", "1.6", "-target", "1.6", "-Xlint:unchecked", "-Xlint:deprecation")
44

Diff for: api/src/main/java/org/reactivestreams/Publisher.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public interface Publisher<T> {
1414
* If the {@link Publisher} rejects the subscription attempt or otherwise fails it will
1515
* signal the error via {@link Subscriber#onError}.
1616
*
17-
* @param s
17+
* @param s the {@link Subscriber} that will consume signals from this {@link Publisher}
1818
*/
1919
public void subscribe(Subscriber<T> s);
2020
}

Diff for: api/src/main/java/org/reactivestreams/Subscriber.java

+6-6
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
* After signaling demand:
99
* <ul>
1010
* <li>One or more invocations of {@link #onNext(Object)} up to the maximum number defined by {@link Subscription#request(int)}</li>
11-
* <li>Single invocation of {@link #onError(Throwable)} or {@link #onCompleted()} which signals a terminal state after which no further events will be sent.
11+
* <li>Single invocation of {@link #onError(Throwable)} or {@link Subscriber#onComplete()} which signals a terminal state after which no further events will be sent.
1212
* </ul>
1313
* <p>
14-
* Demand can be signalled via {@link Subscription#request(int)} whenever the {@link Subscriber} instance is capable of handling more.
14+
* Demand can be signaled via {@link Subscription#request(int)} whenever the {@link Subscriber} instance is capable of handling more.
1515
*
16-
* @param <T>
16+
* @param <T> the Type of element signaled.
1717
*/
1818
public interface Subscriber<T> {
1919
/**
@@ -33,16 +33,16 @@ public interface Subscriber<T> {
3333
/**
3434
* Data notification sent by the {@link Publisher} in response to requests to {@link Subscription#request(int)}.
3535
*
36-
* @param t
36+
* @param t the element signaled
3737
*/
3838
public void onNext(T t);
3939

4040
/**
4141
* Failed terminal state.
4242
* <p>
4343
* No further events will be sent even if {@link Subscription#request(int)} is invoked again.
44-
*
45-
* @param t
44+
*
45+
* @param t the throwable signaled
4646
*/
4747
public void onError(Throwable t);
4848

Diff for: api/src/main/java/org/reactivestreams/Subscription.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public interface Subscription {
1919
* A {@link Publisher} can send less than is requested if the stream ends but
2020
* then must emit either {@link Subscriber#onError(Throwable)} or {@link Subscriber#onComplete()}.
2121
*
22-
* @param n
22+
* @param n the strictly positive number of elements to requests to the upstream {@link Publisher}
2323
*/
2424
public void request(int n);
2525

Diff for: build.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
organization in ThisBuild := "org.reactivestreams"
22

3-
version in ThisBuild := "0.4-SNAPSHOT"
3+
version in ThisBuild := "0.4.0.M1"
44

55
scalaVersion in ThisBuild := "2.10.3"
66

Diff for: tck/src/main/resources/spec.md

-3
This file was deleted.

0 commit comments

Comments
 (0)