Skip to content

Remove unused options parameter from NativeHandler.putFileInfo - #2924

Draft
HannesWell wants to merge 1 commit into
eclipse-platform:masterfrom
HannesWell:remove-putFileInfo-options
Draft

Remove unused options parameter from NativeHandler.putFileInfo#2924
HannesWell wants to merge 1 commit into
eclipse-platform:masterfrom
HannesWell:remove-putFileInfo-options

Conversation

@HannesWell

Copy link
Copy Markdown
Member

No description provided.

@github-actions

Copy link
Copy Markdown
Contributor

Test Results

    54 files  ±0      54 suites  ±0   55m 48s ⏱️ - 1m 53s
 4 810 tests ±0   4 788 ✅ ±0   22 💤 ±0  0 ❌ ±0 
12 321 runs  ±0  12 168 ✅ ±0  153 💤 ±0  0 ❌ ±0 

Results for commit 8e3b17a. ± Comparison against base commit aa2fb6d.

Comment on lines 613 to 619
if ((options & EFS.SET_ATTRIBUTES) != 0) {
success &= LocalFileNativesManager.putFileInfo(filePath, info, options);
success &= LocalFileNativesManager.putFileInfo(filePath, info);
}
//native does not currently set last modified
if ((options & EFS.SET_LAST_MODIFIED) != 0) {
success &= file.setLastModified(info.getLastModified());
}

@HannesWell HannesWell Sep 12, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Probably this change should be set on hold, because at least on Windows we could probably combine these two native calls into one and avoid the second one. In that case passing the options would be necessary again.

@HannesWell
HannesWell marked this pull request as draft September 12, 2026 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant