diff --git a/stream-merger/StreamMerger.java b/stream-merger/StreamMerger.java index d1d3588..216fcf7 100644 --- a/stream-merger/StreamMerger.java +++ b/stream-merger/StreamMerger.java @@ -3,8 +3,8 @@ import java.util.TreeSet; class InputStream implements Comparable { - private Integer streamId; - private Integer nextValue; + private final Integer streamId; + private final Integer nextValue; public InputStream(Integer streamId, Integer nextValue) { this.streamId = streamId;