Skip to content

Remove unused isDir parameter from FileSystemHelper.createSymLink - #3041

Merged
HannesWell merged 1 commit into
eclipse-platform:masterfrom
ravnskjaer:rm-unused-param-isdir
Oct 25, 2026
Merged

HannesWell merged 1 commit into
eclipse-platform:masterfrom
ravnskjaer:rm-unused-param-isdir

Conversation

@ravnskjaer

Copy link
Copy Markdown
Contributor

createSymLink now uses Files.createSymbolicLink, so the parameter is no longer used. On Windows, the JDK determines whether to create a file or directory link from the existing target.

Follow-up to #1486

Tested by running affected tests (SymlinkTest, SymlinkResourceTest, LinkedResourceTest, ResourceAttributeTest, WorkspaceTest, Bug_185247_recursiveLinks, Bug_233939) locally on macOS.
No callers outside eclipse.platform found.

createSymLink now uses Files.createSymbolicLink, so the parameter is no
longer used. On Windows, the JDK determines whether to create a file or
directory link from the existing target.

Follow-up to eclipse-platform#1486
@github-actions

Copy link
Copy Markdown
Contributor

Test Results

    54 files  ±0      54 suites  ±0   33m 56s ⏱️ + 2m 2s
 4 888 tests ±0   4 866 ✅ ±0   22 💤 ±0  0 ❌ ±0 
12 555 runs  ±0  12 401 ✅ ±0  154 💤 ±0  0 ❌ ±0 

Results for commit b904247. ± Comparison against base commit 1887998.

@ravnskjaer

Copy link
Copy Markdown
Contributor Author

@HannesWell If you have some time, please take a look at this follow-up PR for #1486

@HannesWell HannesWell left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good, thank you :)

@HannesWell
HannesWell merged commit a0df8cc into eclipse-platform:master Oct 25, 2026
18 checks passed
@ravnskjaer
ravnskjaer deleted the rm-unused-param-isdir branch October 25, 2026 20:21
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.

2 participants