Skip to content

Commit

Permalink
Remove elusive "private" constructor modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
akarnokd committed Mar 14, 2017
1 parent 4f0f9ce commit c84b849
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/test/java/io/reactivex/flowable/Burst.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
*/
public final class Burst<T> extends Flowable<T> {

private final List<T> items;
private final Throwable error;
final List<T> items;
final Throwable error;

Burst(Throwable error, List<T> items) {
if (items.isEmpty()) {
Expand Down Expand Up @@ -114,7 +114,7 @@ public static final class Builder<T> {
private final List<T> items;
private Throwable error;

private Builder(List<T> items) {
Builder(List<T> items) {
this.items = items;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
*/
public final class Burst<T> extends Observable<T> {

private final List<T> items;
private final Throwable error;
final List<T> items;
final Throwable error;

Burst(Throwable error, List<T> items) {
this.error = error;
Expand Down Expand Up @@ -62,7 +62,7 @@ public static final class Builder<T> {
private final List<T> items;
private Throwable error;

private Builder(List<T> items) {
Builder(List<T> items) {
this.items = items;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public static <T> Consumer<TestSubscriber<T>> assertFuseable() {
static final class AssertFusionConsumer<T> implements Consumer<TestSubscriber<T>> {
private final int mode;

private AssertFusionConsumer(int mode) {
AssertFusionConsumer(int mode) {
this.mode = mode;
}

Expand Down

0 comments on commit c84b849

Please sign in to comment.