Skip to content

Commit 2614598

Browse files
committed
Declare two fields as final in BsonBinaryReader.Mark
1 parent 8584982 commit 2614598

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bson/src/main/org/bson/BsonBinaryReader.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,8 +380,8 @@ public void reset() {
380380
}
381381

382382
protected class Mark extends AbstractBsonReader.Mark {
383-
private int startPosition;
384-
private int size;
383+
private final int startPosition;
384+
private final int size;
385385

386386
protected Mark() {
387387
super();

0 commit comments

Comments
 (0)