Skip to content

Commit

Permalink
refactor: make RecordStream constructor private
Browse files Browse the repository at this point in the history
This constructor is never accessed outside of this class. Other classes all use RecordStream.of().
  • Loading branch information
remcowesterhoud committed Feb 22, 2022
1 parent 03fc352 commit e800ca8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class RecordStream {

private RecordStreamSource recordStreamSource;

public RecordStream(final RecordStreamSource recordStreamSource) {
private RecordStream(final RecordStreamSource recordStreamSource) {
this.recordStreamSource = recordStreamSource;
}

Expand Down

0 comments on commit e800ca8

Please sign in to comment.