Skip to content

Commit c84b849

Browse files
committed
Remove elusive "private" constructor modifier
1 parent 4f0f9ce commit c84b849

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/test/java/io/reactivex/flowable/Burst.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
*/
3434
public final class Burst<T> extends Flowable<T> {
3535

36-
private final List<T> items;
37-
private final Throwable error;
36+
final List<T> items;
37+
final Throwable error;
3838

3939
Burst(Throwable error, List<T> items) {
4040
if (items.isEmpty()) {
@@ -114,7 +114,7 @@ public static final class Builder<T> {
114114
private final List<T> items;
115115
private Throwable error;
116116

117-
private Builder(List<T> items) {
117+
Builder(List<T> items) {
118118
this.items = items;
119119
}
120120

src/test/java/io/reactivex/internal/operators/observable/Burst.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
*/
2828
public final class Burst<T> extends Observable<T> {
2929

30-
private final List<T> items;
31-
private final Throwable error;
30+
final List<T> items;
31+
final Throwable error;
3232

3333
Burst(Throwable error, List<T> items) {
3434
this.error = error;
@@ -62,7 +62,7 @@ public static final class Builder<T> {
6262
private final List<T> items;
6363
private Throwable error;
6464

65-
private Builder(List<T> items) {
65+
Builder(List<T> items) {
6666
this.items = items;
6767
}
6868

src/test/java/io/reactivex/subscribers/SubscriberFusion.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public static <T> Consumer<TestSubscriber<T>> assertFuseable() {
6666
static final class AssertFusionConsumer<T> implements Consumer<TestSubscriber<T>> {
6767
private final int mode;
6868

69-
private AssertFusionConsumer(int mode) {
69+
AssertFusionConsumer(int mode) {
7070
this.mode = mode;
7171
}
7272

0 commit comments

Comments
 (0)