Skip to content

Commit

Permalink
Adding final keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
josdem committed Apr 27, 2024
1 parent 1aa8f55 commit 7469ced
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stream-merger/StreamMerger.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import java.util.TreeSet;

class InputStream implements Comparable<InputStream> {
private Integer streamId;
private Integer nextValue;
private final Integer streamId;
private final Integer nextValue;

public InputStream(Integer streamId, Integer nextValue) {
this.streamId = streamId;
Expand Down

0 comments on commit 7469ced

Please sign in to comment.