Skip to content

Commit ef0472e

Browse files
committed
[Core] Fix copymethod in DataBlockList (was missing copy of atomcount)
1 parent d8a43e7 commit ef0472e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib-ogc/swe-common-core/src/main/java/org/vast/data/DataBlockList.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ public DataBlockList copy()
8787
newBlock.startIndex = this.startIndex;
8888
newBlock.blockAtomCount = this.blockAtomCount;
8989
newBlock.equalBlockSize = this.equalBlockSize;
90-
newBlock.blockList = this.blockList;
90+
newBlock.blockList = this.blockList;
91+
newBlock.atomCount = this.atomCount;
9192
return newBlock;
9293
}
9394

0 commit comments

Comments
 (0)