Skip to content

Conversation

@fmeum
Copy link
Collaborator

@fmeum fmeum commented Dec 18, 2025

This makes it easier to step through OS.getCurrent() usages when debugging and should be marginally more efficient.

…lsConfig`

This makes it easier to step through `OS.getCurrent()` usages when debugging and should be marginally more efficient.
@fmeum fmeum requested a review from lberki December 18, 2025 08:59
@github-actions github-actions bot added the awaiting-review PR is awaiting review from an assigned reviewer label Dec 18, 2025
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request refactors MockToolsConfig to avoid repeated calls to FileSystems.getNativeFileSystem(). A private final field is introduced to cache the native file system instance, which is a good practice for both efficiency and debuggability. The changes are correct and well-implemented.

@iancha1992 iancha1992 added the team-Performance Issues for Performance teams label Dec 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting-review PR is awaiting review from an assigned reviewer team-Performance Issues for Performance teams

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants