Skip to content

Commit 012bd0d

Browse files
committed
deprecating inferiority complex (#1852)
1 parent 48ee022 commit 012bd0d

File tree

7 files changed

+0
-27
lines changed

7 files changed

+0
-27
lines changed

src/main/java/rx/Notification.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717

1818
/**
1919
* An object representing a notification sent to an {@link Observable}.
20-
*
21-
* @see <a href="http://msdn.microsoft.com/en-us/library/hh229462.aspx">the Microsoft Rx equivalent</a>
2220
*/
2321
public final class Notification<T> {
2422

src/main/java/rx/observables/BlockingObservable.java

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,6 @@ public Iterator<T> getIterator() {
160160
* @throws NoSuchElementException
161161
* if this {@code BlockingObservable} emits no items
162162
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators#first-and-firstordefault">RxJava Wiki: first()</a>
163-
* @see <a href="http://msdn.microsoft.com/en-us/library/hh229177.aspx">MSDN: Observable.First</a>
164163
*/
165164
public T first() {
166165
return blockForSingle(o.first());
@@ -176,7 +175,6 @@ public T first() {
176175
* @throws NoSuchElementException
177176
* if this {@code BlockingObservable} emits no such items
178177
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators#first-and-firstordefault">RxJava Wiki: first()</a>
179-
* @see <a href="http://msdn.microsoft.com/en-us/library/hh229739.aspx">MSDN: Observable.First</a>
180178
*/
181179
public T first(Func1<? super T, Boolean> predicate) {
182180
return blockForSingle(o.first(predicate));
@@ -191,7 +189,6 @@ public T first(Func1<? super T, Boolean> predicate) {
191189
* @return the first item emitted by this {@code BlockingObservable}, or the default value if it emits no
192190
* items
193191
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators#first-and-firstordefault">RxJava Wiki: firstOrDefault()</a>
194-
* @see <a href="http://msdn.microsoft.com/en-us/library/hh229320.aspx">MSDN: Observable.FirstOrDefault</a>
195192
*/
196193
public T firstOrDefault(T defaultValue) {
197194
return blockForSingle(o.map(UtilityFunctions.<T>identity()).firstOrDefault(defaultValue));
@@ -208,7 +205,6 @@ public T firstOrDefault(T defaultValue) {
208205
* @return the first item emitted by this {@code BlockingObservable} that matches the predicate, or the
209206
* default value if this {@code BlockingObservable} emits no matching items
210207
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators#first-and-firstordefault">RxJava Wiki: firstOrDefault()</a>
211-
* @see <a href="http://msdn.microsoft.com/en-us/library/hh229759.aspx">MSDN: Observable.FirstOrDefault</a>
212208
*/
213209
public T firstOrDefault(T defaultValue, Func1<? super T, Boolean> predicate) {
214210
return blockForSingle(o.filter(predicate).map(UtilityFunctions.<T>identity()).firstOrDefault(defaultValue));
@@ -224,7 +220,6 @@ public T firstOrDefault(T defaultValue, Func1<? super T, Boolean> predicate) {
224220
* @throws NoSuchElementException
225221
* if this {@code BlockingObservable} emits no items
226222
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators#last-and-lastordefault">RxJava Wiki: last()</a>
227-
* @see <a href="http://msdn.microsoft.com/en-us/library/system.reactive.linq.observable.last.aspx">MSDN: Observable.Last</a>
228223
*/
229224
public T last() {
230225
return blockForSingle(o.last());
@@ -242,7 +237,6 @@ public T last() {
242237
* @throws NoSuchElementException
243238
* if this {@code BlockingObservable} emits no items
244239
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators#last-and-lastordefault">RxJava Wiki: last()</a>
245-
* @see <a href="http://msdn.microsoft.com/en-us/library/system.reactive.linq.observable.last.aspx">MSDN: Observable.Last</a>
246240
*/
247241
public T last(final Func1<? super T, Boolean> predicate) {
248242
return blockForSingle(o.last(predicate));
@@ -259,7 +253,6 @@ public T last(final Func1<? super T, Boolean> predicate) {
259253
* @return the last item emitted by the {@code BlockingObservable}, or the default value if it emits no
260254
* items
261255
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators#last-and-lastordefault">RxJava Wiki: lastOrDefault()</a>
262-
* @see <a href="http://msdn.microsoft.com/en-us/library/system.reactive.linq.observable.lastordefault.aspx">MSDN: Observable.LastOrDefault</a>
263256
*/
264257
public T lastOrDefault(T defaultValue) {
265258
return blockForSingle(o.map(UtilityFunctions.<T>identity()).lastOrDefault(defaultValue));
@@ -278,7 +271,6 @@ public T lastOrDefault(T defaultValue) {
278271
* @return the last item emitted by this {@code BlockingObservable} that matches the predicate, or the
279272
* default value if it emits no matching items
280273
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators#last-and-lastordefault">RxJava Wiki: lastOrDefault()</a>
281-
* @see <a href="http://msdn.microsoft.com/en-us/library/system.reactive.linq.observable.lastordefault.aspx">MSDN: Observable.LastOrDefault</a>
282274
*/
283275
public T lastOrDefault(T defaultValue, Func1<? super T, Boolean> predicate) {
284276
return blockForSingle(o.filter(predicate).map(UtilityFunctions.<T>identity()).lastOrDefault(defaultValue));
@@ -296,7 +288,6 @@ public T lastOrDefault(T defaultValue, Func1<? super T, Boolean> predicate) {
296288
* @return an {@link Iterable} that on each iteration returns the item that this {@code BlockingObservable}
297289
* has most recently emitted
298290
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators#mostrecent">RxJava wiki: mostRecent()</a>
299-
* @see <a href="http://msdn.microsoft.com/en-us/library/hh229751.aspx">MSDN: Observable.MostRecent</a>
300291
*/
301292
public Iterable<T> mostRecent(T initialValue) {
302293
return BlockingOperatorMostRecent.mostRecent(o, initialValue);
@@ -311,7 +302,6 @@ public Iterable<T> mostRecent(T initialValue) {
311302
* @return an {@link Iterable} that blocks upon each iteration until this {@code BlockingObservable} emits
312303
* a new item, whereupon the Iterable returns that item
313304
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators#next">RxJava Wiki: next()</a>
314-
* @see <a href="http://msdn.microsoft.com/en-us/library/hh211897.aspx">MSDN: Observable.Next</a>
315305
*/
316306
public Iterable<T> next() {
317307
return BlockingOperatorNext.next(o);
@@ -329,7 +319,6 @@ public Iterable<T> next() {
329319
*
330320
* @return an Iterable that always returns the latest item emitted by this {@code BlockingObservable}
331321
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators#latest">RxJava wiki: latest()</a>
332-
* @see <a href="http://msdn.microsoft.com/en-us/library/hh212115.aspx">MSDN: Observable.Latest</a>
333322
*/
334323
public Iterable<T> latest() {
335324
return BlockingOperatorLatest.latest(o);
@@ -343,7 +332,6 @@ public Iterable<T> latest() {
343332
*
344333
* @return the single item emitted by this {@code BlockingObservable}
345334
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators#single-and-singleordefault">RxJava Wiki: single()</a>
346-
* @see <a href="http://msdn.microsoft.com/en-us/library/system.reactive.linq.observable.single.aspx">MSDN: Observable.Single</a>
347335
*/
348336
public T single() {
349337
return blockForSingle(o.single());
@@ -359,7 +347,6 @@ public T single() {
359347
* a predicate function to evaluate items emitted by this {@link BlockingObservable}
360348
* @return the single item emitted by this {@code BlockingObservable} that matches the predicate
361349
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators#single-and-singleordefault">RxJava Wiki: single()</a>
362-
* @see <a href="http://msdn.microsoft.com/en-us/library/system.reactive.linq.observable.single.aspx">MSDN: Observable.Single</a>
363350
*/
364351
public T single(Func1<? super T, Boolean> predicate) {
365352
return blockForSingle(o.single(predicate));
@@ -377,7 +364,6 @@ public T single(Func1<? super T, Boolean> predicate) {
377364
* @return the single item emitted by this {@code BlockingObservable}, or the default value if it emits no
378365
* items
379366
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators#single-and-singleordefault">RxJava Wiki: singleOrDefault()</a>
380-
* @see <a href="http://msdn.microsoft.com/en-us/library/system.reactive.linq.observable.singleordefault.aspx">MSDN: Observable.SingleOrDefault</a>
381367
*/
382368
public T singleOrDefault(T defaultValue) {
383369
return blockForSingle(o.map(UtilityFunctions.<T>identity()).singleOrDefault(defaultValue));
@@ -397,7 +383,6 @@ public T singleOrDefault(T defaultValue) {
397383
* @return the single item emitted by the {@code BlockingObservable} that matches the predicate, or the
398384
* default value if no such items are emitted
399385
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators#single-and-singleordefault">RxJava Wiki: singleOrDefault()</a>
400-
* @see <a href="http://msdn.microsoft.com/en-us/library/system.reactive.linq.observable.singleordefault.aspx">MSDN: Observable.SingleOrDefault</a>
401386
*/
402387
public T singleOrDefault(T defaultValue, Func1<? super T, Boolean> predicate) {
403388
return blockForSingle(o.filter(predicate).map(UtilityFunctions.<T>identity()).singleOrDefault(defaultValue));

src/main/java/rx/subscriptions/BooleanSubscription.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424
/**
2525
* Subscription that can be checked for status such as in a loop inside an {@link Observable} to exit the loop
2626
* if unsubscribed.
27-
*
28-
* @see <a href="http://msdn.microsoft.com/en-us/library/system.reactive.disposables.booleandisposable(v=vs.103).aspx">Rx.Net equivalent BooleanDisposable</a>
2927
*/
3028
public final class BooleanSubscription implements Subscription {
3129

src/main/java/rx/subscriptions/CompositeSubscription.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@
2727

2828
/**
2929
* Subscription that represents a group of Subscriptions that are unsubscribed together.
30-
*
31-
* @see <a href="http://msdn.microsoft.com/en-us/library/system.reactive.disposables.compositedisposable(v=vs.103).aspx">Rx.Net equivalent CompositeDisposable</a>
3230
*/
3331
public final class CompositeSubscription implements Subscription {
3432

src/main/java/rx/subscriptions/MultipleAssignmentSubscription.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@
2323
/**
2424
* Subscription that can be checked for status such as in a loop inside an {@link Observable} to exit the loop
2525
* if unsubscribed.
26-
*
27-
* @see <a href="http://msdn.microsoft.com/en-us/library/system.reactive.disposables.multipleassignmentdisposable">Rx.Net equivalent MultipleAssignmentDisposable</a>
2826
*/
2927
public final class MultipleAssignmentSubscription implements Subscription {
3028
/** The shared empty state. */

src/main/java/rx/subscriptions/RefCountSubscription.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@
2323
/**
2424
* Keeps track of the sub-subscriptions and unsubscribes the underlying subscription once all sub-subscriptions
2525
* have unsubscribed.
26-
*
27-
* @see <a href="http://msdn.microsoft.com/en-us/library/system.reactive.disposables.refcountdisposable.aspx">MSDN RefCountDisposable</a>
2826
*/
2927
public final class RefCountSubscription implements Subscription {
3028
private final Subscription actual;

src/main/java/rx/subscriptions/SerialSubscription.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
/**
2323
* Represents a subscription whose underlying subscription can be swapped for another subscription which causes
2424
* the previous underlying subscription to be unsubscribed.
25-
*
26-
* @see <a href="http://msdn.microsoft.com/en-us/library/system.reactive.disposables.serialdisposable(v=vs.103).aspx">Rx.Net equivalent SerialDisposable</a>
2725
*/
2826
public final class SerialSubscription implements Subscription {
2927
static final State EMPTY_STATE = new State(false, Subscriptions.empty());

0 commit comments

Comments
 (0)