[
https://issues.apache.org/jira/browse/OAK-11090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marcel Reutegger resolved OAK-11090.
------------------------------------
Fix Version/s: 1.70.0
Resolution: Fixed
PR looks good and I merged it.
Thanks for the contribution.
> Move the code that creates instances of RecordNumbers/SegmentReferences from
> SegmentData out of Segment
> -------------------------------------------------------------------------------------------------------
>
> Key: OAK-11090
> URL: https://issues.apache.org/jira/browse/OAK-11090
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Reporter: Nicolas Ettlin
> Priority: Minor
> Fix For: 1.70.0
>
>
> When initializing a Segment instance, we create
> RecordNumbers/SegmentReferences instances with the data contained in
> SegmentData. This operation is currently done from two private methods,
> Segment#readRecordNumberOffsets and Segment#readReferencedSegments.
> By moving this code somewhere else (e.g. in static methods of
> RecordNumbers/SegmentReferences), it would make it easier to reuse it and add
> unit tests for these methods.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)