Skip to content

Commit bea6c24

Browse files
committed
Adjust "2.x" in readme
1 parent 382731c commit bea6c24

1 file changed

Lines changed: 17 additions & 17 deletions

File tree

README.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Maven search:
3333
```java
3434
import hu.akarnokd.rxjava.interop.RxJavaInterop;
3535

36-
// convert from 1.x to 2.x
36+
// convert from 1.x to 3.x
3737

3838
io.reactivex.Flowable f2 = RxJavaInterop.toV2Flowable(rx.Observable);
3939

@@ -47,7 +47,7 @@ io.reactivex.Maybe m2s = RxJavaInterop.toV2Maybe(rx.Single);
4747

4848
io.reactivex.Maybe m2c = RxJavaInterop.toV2Maybe(rx.Completable);
4949

50-
// convert from 2.x to 1.x
50+
// convert from 3.x to 1.x
5151

5252
rx.Observable o1 = RxJavaInterop.toV1Observable(Publisher);
5353

@@ -64,26 +64,26 @@ rx.Completable c1m = RxJavaInterop.toV1Completable(MaybeSource);
6464

6565
### Convert between Subjects and Processors.
6666

67-
Note that 2.x `Subject`s and `FlowableProcessor`s support only the same input and output types.
67+
Note that 3.x `Subject`s and `FlowableProcessor`s support only the same input and output types.
6868

6969
```java
70-
// convert from 1.x to 2.x
70+
// convert from 1.x to 3.x
7171

7272
io.reactivex.subjects.Subject sj2 = RxJavaInterop.toV2Subject(rx.subjects.Subject);
7373

7474
io.reactivex.processors.FlowableProcessor fp2 = RxJavaInterop.toV2Processor(rx.subjects.Subject);
7575

76-
// convert from 2.x to 1.x
76+
// convert from 3.x to 1.x
7777

7878
rx.subjects.Subject sj1 = RxJavaInterop.toV1Subject(io.reactivex.subjects.Subject);
7979

8080
rx.subjects.Subject sj1b = RxJavaInterop.toV1Subject(io.reactivex.processors.FlowableProcessor);
8181
```
8282

83-
### Convert between 1.x `X.Transformer`s and 2.x `XTransformer`s.
83+
### Convert between 1.x `X.Transformer`s and 3.x `XTransformer`s.
8484

8585
```java
86-
// convert from 1.x to 2.x
86+
// convert from 1.x to 3.x
8787

8888
io.reactivex.FlowableTransformer ft2 = RxJavaInterop.toV2Transformer(rx.Observable.Transformer);
8989

@@ -94,7 +94,7 @@ io.reactivex.SingleTransformer st2 = RxJavaInterop.toV2Transformer(rx.Single.Tra
9494

9595
io.reactivex.CompletableTransformer ct2 = RxJavaInterop.toV2Transformer(rx.Completable.Transformer);
9696

97-
// convert from 2.x to 1.x
97+
// convert from 3.x to 1.x
9898

9999
rx.Observable.Transformer ft1 = RxJavaInterop.toV1Transformer(io.reactivex.FlowableTransformer);
100100

@@ -106,39 +106,39 @@ rx.Single.Transformer st1 = RxJavaInterop.toV1Transformer(io.reactivex.SingleTra
106106
rx.Completable.Transformer ct1 = RxJavaInterop.toV1Transformer(io.reactivex.CompletableTransformer);
107107
```
108108

109-
### Convert between 1.x `Flowable.Operator` and 2.x `FlowableOperator`
109+
### Convert between 1.x `Flowable.Operator` and 3.x `FlowableOperator`
110110

111111
```java
112-
// convert from 1.x to 2.x
112+
// convert from 1.x to 3.x
113113

114114
io.reactivex.FlowableOperator fo2 = RxJavaInterop.toV2Operator(rx.Observable.Operator);
115115

116-
// convert from 2.x to 1.x
116+
// convert from 3.x to 1.x
117117

118118
rx.Observable.Operator fo1 = RxJavaInterop.toV1Operator(io.reactivex.FlowableOperator);
119119
```
120120

121-
### Convert between 1.x `Subscription` and 2.x `Disposable`
121+
### Convert between 1.x `Subscription` and 3.x `Disposable`
122122

123123
```java
124-
// convert from 1.x to 2.x
124+
// convert from 1.x to 3.x
125125

126126
io.reactivex.disposables.Disposable d2 = RxJavaInterop.toV2Disposable(rx.Subscription);
127127

128-
// convert from 2.x to 1.x
128+
// convert from 3.x to 1.x
129129

130130
rx.Subscription s1 = RxJavaInterop.toV1Subscription(io.reactivex.disposables.Disposable);
131131
```
132132

133133

134-
### Convert between 1.x `Scheduler`s and 2.x `Scheduler`s
134+
### Convert between 1.x `Scheduler`s and 3.x `Scheduler`s
135135

136136
```java
137-
// convert from 1.x to 2.x
137+
// convert from 1.x to 3.x
138138

139139
io.reactivex.Scheduler s2 = RxJavaInterop.toV2Scheduler(rx.Scheduler);
140140

141-
// convert from 2.x to 1.x
141+
// convert from 3.x to 1.x
142142

143143
rx.Scheduler s1 = RxJavaInterop.toV1Scheduler(io.reactivex.Scheduler);
144144
```

0 commit comments

Comments
 (0)