Skip to content

Commit

Permalink
rename private helper
Browse files Browse the repository at this point in the history
  • Loading branch information
scottsand-db committed Jan 24, 2025
1 parent a28751c commit 377940e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ public LogSegment getLogSegmentForVersion(
System.currentTimeMillis() - startTimeMillis);

try {
return getLogSegmentForVersionHelper(startCheckpointVersionOpt, versionToLoadOpt, newFiles);
return constructLogSegmentFromFileList(startCheckpointVersionOpt, versionToLoadOpt, newFiles);
} finally {
logger.info(
"{}: Took {}ms to construct a log segment",
Expand All @@ -400,7 +400,7 @@ public LogSegment getLogSegmentForVersion(
* Helper function for the getLogSegmentForVersion above. Called with a provided files list, and
* will then try to construct a new LogSegment using that.
*/
private LogSegment getLogSegmentForVersionHelper(
private LogSegment constructLogSegmentFromFileList(
Optional<Long> startCheckpointOpt,
Optional<Long> versionToLoadOpt,
List<FileStatus> newFiles) {
Expand Down

0 comments on commit 377940e

Please sign in to comment.