Skip to content

Commit 9eba587

Browse files
committed
Small fix in the sentences of getValue.
1 parent a917b91 commit 9eba587

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/rx/subjects/AsyncSubject.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public boolean hasCompleted() {
167167
/**
168168
* Returns the current value of the Subject if there is such a value and
169169
* the subject hasn't terminated with an exception.
170-
* <p>The can return {@code null} for various reasons. Use {@link #hasValue()}, {@link #hasThrowable()}
170+
* <p>The method can return {@code null} for various reasons. Use {@link #hasValue()}, {@link #hasThrowable()}
171171
* and {@link #hasCompleted()} to determine if such {@code null} is a valid value, there was an
172172
* exception or the Subject terminated without receiving any value.
173173
* @return the current value or {@code null} if the Subject doesn't have a value,

src/main/java/rx/subjects/BehaviorSubject.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ public boolean hasCompleted() {
202202
/**
203203
* Returns the current value of the Subject if there is such a value and
204204
* the subject hasn't terminated yet.
205-
* <p>The can return {@code null} for various reasons. Use {@link #hasValue()}, {@link #hasThrowable()}
205+
* <p>The method can return {@code null} for various reasons. Use {@link #hasValue()}, {@link #hasThrowable()}
206206
* and {@link #hasCompleted()} to determine if such {@code null} is a valid value, there was an
207207
* exception or the Subject terminated (with or without receiving any value).
208208
* @return the current value or {@code null} if the Subject doesn't have a value,

0 commit comments

Comments
 (0)